Define protocol version of {mode,ino,uid,gid}_t
Change-Id: Ia2027749f2ce55a561d19eb895a5618505e9a2ac
This commit is contained in:
@@ -105,6 +105,12 @@ typedef struct {
|
||||
gid_t vu_sgroups[NGROUPS_MAX];
|
||||
} vfs_ucred_t;
|
||||
|
||||
/* Some system types are larger than what the protocol and FSes use */
|
||||
typedef u16_t puid_t; /* Protocol version of uid_t */
|
||||
typedef u16_t pgid_t; /* Protocol version of gid_t */
|
||||
typedef u16_t pmode_t; /* Protocol version of mode_t */
|
||||
typedef u32_t pino_t; /* Protocol version of ino_t */
|
||||
|
||||
/* Request numbers */
|
||||
#define REQ_GETNODE (VFS_BASE + 1) /* Should be removed */
|
||||
#define REQ_PUTNODE (VFS_BASE + 2)
|
||||
|
||||
Reference in New Issue
Block a user