Increase gid_t and uid_t to 32 bits
Increase gid_t and uid_t to 32 bits and provide backwards compatibility where needed.
This commit is contained in:
@@ -104,7 +104,7 @@ typedef u32_t big_dev_t;
|
||||
/* Types used in disk, inode, etc. data structures.
|
||||
* Some u64_t should be i64_t, but anyway with old libc we use .lo only.
|
||||
*/
|
||||
typedef char gid_t; /* group id */
|
||||
typedef u32_t gid_t; /* group id */
|
||||
typedef u32_t big_gid_t; /* group id */
|
||||
typedef unsigned long ino_t; /* i-node number (V3 filesystem) */
|
||||
typedef u64_t big_ino_t; /* i-node number (V3 filesystem) */
|
||||
@@ -115,7 +115,7 @@ typedef u32_t big_nlink_t;/* number of links to a file */
|
||||
typedef long off_t; /* offset within a file */
|
||||
typedef u64_t big_off_t; /* offset within a file */
|
||||
typedef int pid_t; /* process id (must be signed) */
|
||||
typedef short uid_t; /* user id */
|
||||
typedef u32_t uid_t; /* user id */
|
||||
typedef u32_t big_uid_t; /* user id */
|
||||
typedef unsigned long fsblkcnt_t; /* File system block count */
|
||||
typedef unsigned long fsfilcnt_t; /* File system file count */
|
||||
|
||||
Reference in New Issue
Block a user