mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Update fdt stat to include file timestamps
This commit is contained in:
parent
eb3c6f42d6
commit
2d94246f55
@ -503,6 +503,9 @@ namespace vfs
|
|||||||
statbuf->st_gid = node->GroupIdentifier;
|
statbuf->st_gid = node->GroupIdentifier;
|
||||||
statbuf->st_rdev = 0; /* FIXME: stub */
|
statbuf->st_rdev = 0; /* FIXME: stub */
|
||||||
statbuf->st_size = node->Size;
|
statbuf->st_size = node->Size;
|
||||||
|
statbuf->st_atime = node->AccessTime;
|
||||||
|
statbuf->st_mtime = node->ModifyTime;
|
||||||
|
statbuf->st_ctime = node->ChangeTime;
|
||||||
statbuf->st_blksize = 0; /* FIXME: stub */
|
statbuf->st_blksize = 0; /* FIXME: stub */
|
||||||
statbuf->st_blocks = 0; /* FIXME: stub */
|
statbuf->st_blocks = 0; /* FIXME: stub */
|
||||||
statbuf->st_attr = 0; /* FIXME: stub */
|
statbuf->st_attr = 0; /* FIXME: stub */
|
||||||
@ -527,6 +530,9 @@ namespace vfs
|
|||||||
statbuf->st_gid = node->GroupIdentifier;
|
statbuf->st_gid = node->GroupIdentifier;
|
||||||
statbuf->st_rdev = 0; /* FIXME: stub */
|
statbuf->st_rdev = 0; /* FIXME: stub */
|
||||||
statbuf->st_size = node->Size;
|
statbuf->st_size = node->Size;
|
||||||
|
statbuf->st_atime = node->AccessTime;
|
||||||
|
statbuf->st_mtime = node->ModifyTime;
|
||||||
|
statbuf->st_ctime = node->ChangeTime;
|
||||||
statbuf->st_blksize = 0; /* FIXME: stub */
|
statbuf->st_blksize = 0; /* FIXME: stub */
|
||||||
statbuf->st_blocks = 0; /* FIXME: stub */
|
statbuf->st_blocks = 0; /* FIXME: stub */
|
||||||
statbuf->st_attr = 0; /* FIXME: stub */
|
statbuf->st_attr = 0; /* FIXME: stub */
|
||||||
@ -558,6 +564,9 @@ namespace vfs
|
|||||||
statbuf->st_gid = node->GroupIdentifier;
|
statbuf->st_gid = node->GroupIdentifier;
|
||||||
statbuf->st_rdev = 0; /* FIXME: stub */
|
statbuf->st_rdev = 0; /* FIXME: stub */
|
||||||
statbuf->st_size = node->Size;
|
statbuf->st_size = node->Size;
|
||||||
|
statbuf->st_atime = node->AccessTime;
|
||||||
|
statbuf->st_mtime = node->ModifyTime;
|
||||||
|
statbuf->st_ctime = node->ChangeTime;
|
||||||
statbuf->st_blksize = 0; /* FIXME: stub */
|
statbuf->st_blksize = 0; /* FIXME: stub */
|
||||||
statbuf->st_blocks = 0; /* FIXME: stub */
|
statbuf->st_blocks = 0; /* FIXME: stub */
|
||||||
statbuf->st_attr = 0; /* FIXME: stub */
|
statbuf->st_attr = 0; /* FIXME: stub */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user