Message type for VFS_{,L}STAT
Change-Id: I61db8484c14f0371214a0495774dc0b1d97f2099
This commit is contained in:
@@ -232,11 +232,6 @@
|
||||
|
||||
#define NR_VFS_CALLS 49 /* highest number from base plus one */
|
||||
|
||||
/* Field names for the stat(2) and lstat(2) calls. */
|
||||
#define VFS_STAT_NAME m1_p1 /* const char * */
|
||||
#define VFS_STAT_LEN m1_i1 /* size_t */
|
||||
#define VFS_STAT_BUF m1_p2 /* struct stat * */
|
||||
|
||||
/* Field names for the fstat(2) call. */
|
||||
#define VFS_FSTAT_FD m1_i1 /* int */
|
||||
#define VFS_FSTAT_BUF m1_p1 /* struct stat * */
|
||||
|
||||
@@ -243,6 +243,15 @@ typedef struct {
|
||||
} mess_lc_vfs_select;
|
||||
_ASSERT_MSG_SIZE(mess_lc_vfs_select);
|
||||
|
||||
typedef struct {
|
||||
size_t len;
|
||||
vir_bytes name; /* const char * */
|
||||
vir_bytes buf; /* struct stat * */
|
||||
|
||||
uint8_t padding[44];
|
||||
} mess_lc_vfs_stat;
|
||||
_ASSERT_MSG_SIZE(mess_lc_vfs_stat);
|
||||
|
||||
typedef struct {
|
||||
int fd;
|
||||
int flags;
|
||||
@@ -769,6 +778,7 @@ typedef struct {
|
||||
mess_lc_vfs_pipe2 m_lc_vfs_pipe2;
|
||||
mess_lc_vfs_readlink m_lc_vfs_readlink;
|
||||
mess_lc_vfs_select m_lc_vfs_select;
|
||||
mess_lc_vfs_stat m_lc_vfs_stat;
|
||||
mess_lc_vfs_statvfs1 m_lc_vfs_statvfs1;
|
||||
mess_lc_vfs_truncate m_lc_vfs_truncate;
|
||||
mess_lc_vfs_umask m_lc_vfs_umask;
|
||||
|
||||
Reference in New Issue
Block a user