Message type for VFS_UMASK

Change-Id: Iaf8f83593adbbf50b82feecbe8fad004da2add72
This commit is contained in:
2014-05-12 13:37:39 +02:00
parent 3bae8fe45a
commit 74b01e0c2c
4 changed files with 10 additions and 5 deletions

View File

@@ -232,9 +232,6 @@
#define NR_VFS_CALLS 49 /* highest number from base plus one */
/* Field names for the umask(2) call. */
#define VFS_UMASK_MASK m1_i1 /* mode_t */
/* Field names for the link(2), symlink(2), and rename(2) call. */
#define VFS_LINK_NAME1 m1_p1 /* const char * */
#define VFS_LINK_LEN1 m1_i1 /* size_t */

View File

@@ -245,6 +245,13 @@ typedef struct {
} mess_lc_vfs_truncate;
_ASSERT_MSG_SIZE(mess_lc_vfs_truncate);
typedef struct {
mode_t mask;
uint8_t padding[52];
} mess_lc_vfs_umask;
_ASSERT_MSG_SIZE(mess_lc_vfs_umask);
typedef struct {
vir_bytes name;
size_t namelen;
@@ -742,6 +749,7 @@ typedef struct {
mess_lc_vfs_select m_lc_vfs_select;
mess_lc_vfs_statvfs1 m_lc_vfs_statvfs1;
mess_lc_vfs_truncate m_lc_vfs_truncate;
mess_lc_vfs_umask m_lc_vfs_umask;
mess_lc_vfs_umount m_lc_vfs_umount;
mess_lsys_vfs_checkperms m_lsys_vfs_checkperms;