Message type for VFS_FCHMOD

Change-Id: I933e5b5a214aa9e7ddb6546b459ef40688e8ca04
This commit is contained in:
2014-05-12 17:05:32 +02:00
parent 4635162db2
commit 6c61cd5665
4 changed files with 13 additions and 8 deletions

View File

@@ -232,10 +232,6 @@
#define NR_VFS_CALLS 49 /* highest number from base plus one */
/* Field names for the fchmod(2) call. */
#define VFS_FCHMOD_FD m1_i1 /* int */
#define VFS_FCHMOD_MODE m1_i2 /* mode_t */
/* Field names for the close(2) call. */
#define VFS_CLOSE_FD m1_i1 /* int */

View File

@@ -173,6 +173,14 @@ typedef struct {
} mess_lc_vfs_fchdir;
_ASSERT_MSG_SIZE(mess_lc_vfs_fchdir);
typedef struct {
int fd;
mode_t mode;
uint8_t padding[48];
} mess_lc_vfs_fchmod;
_ASSERT_MSG_SIZE(mess_lc_vfs_fchmod);
typedef struct {
int fd;
int cmd;
@@ -837,6 +845,7 @@ typedef struct {
mess_lc_vfs_chown m_lc_vfs_chown;
mess_lc_vfs_creat m_lc_vfs_creat;
mess_lc_vfs_fchdir m_lc_vfs_fchdir;
mess_lc_vfs_fchmod m_lc_vfs_fchmod;
mess_lc_vfs_fcntl m_lc_vfs_fcntl;
mess_lc_vfs_fstat m_lc_vfs_fstat;
mess_lc_vfs_fsync m_lc_vfs_fsync;