Revisão | cbb79670fb767ebb727a0a71bb51541927c683a5 (tree) |
---|---|
Hora | 2022-11-30 13:04:14 |
Autor | Yoshinori Sato <ysato@user...> |
Commiter | Yoshinori Sato |
RX: header update.
@@ -10,46 +10,44 @@ | ||
10 | 10 | * different opinion on the subject... */ |
11 | 11 | |
12 | 12 | struct kernel_stat { |
13 | - unsigned short st_dev; | |
14 | - unsigned short __pad1; | |
15 | - unsigned long st_ino; | |
16 | - unsigned short st_mode; | |
17 | - unsigned short st_nlink; | |
18 | - unsigned short st_uid; | |
19 | - unsigned short st_gid; | |
20 | - unsigned short st_rdev; | |
21 | - unsigned short __pad2; | |
22 | - unsigned long st_size; | |
23 | - unsigned long st_blksize; | |
24 | - unsigned long st_blocks; | |
13 | + unsigned long st_dev; | |
14 | + unsigned long st_ino; | |
15 | + unsigned int st_mode; | |
16 | + unsigned int st_nlink; | |
17 | + unsigned int st_uid; | |
18 | + unsigned int st_gid; | |
19 | + unsigned long st_rdev; | |
20 | + unsigned long __pad1; | |
21 | + long st_size; | |
22 | + int st_blksize; | |
23 | + int __pad2; | |
24 | + long st_blocks; | |
25 | 25 | struct timespec st_atim; |
26 | 26 | struct timespec st_mtim; |
27 | 27 | struct timespec st_ctim; |
28 | - unsigned long __unused4; | |
29 | - unsigned long __unused5; | |
28 | + unsigned int __unused4; | |
29 | + unsigned int __unused5; | |
30 | 30 | }; |
31 | 31 | |
32 | + | |
32 | 33 | struct kernel_stat64 { |
33 | - unsigned char __pad0[6]; | |
34 | - unsigned short st_dev; | |
35 | - unsigned char __pad1[2]; | |
36 | -#define _HAVE_STAT64___ST_INO | |
37 | - unsigned long __st_ino; | |
34 | + unsigned long long st_dev; | |
35 | + unsigned long long st_ino; | |
38 | 36 | unsigned int st_mode; |
39 | 37 | unsigned int st_nlink; |
40 | - unsigned long st_uid; | |
41 | - unsigned long st_gid; | |
42 | - unsigned char __pad2[6]; | |
43 | - unsigned short st_rdev; | |
44 | - unsigned char __pad3[2]; | |
38 | + unsigned int st_uid; | |
39 | + unsigned int st_gid; | |
40 | + unsigned long long st_rdev; | |
41 | + unsigned long long __pad1; | |
45 | 42 | long long st_size; |
46 | - unsigned long st_blksize; | |
47 | - unsigned long __pad4; /* future possible st_blocks high bits */ | |
48 | - unsigned long st_blocks; /* Number 512-byte blocks allocated. */ | |
49 | - struct timespec st_atim; | |
50 | - struct timespec st_mtim; | |
51 | - struct timespec st_ctim; | |
52 | - unsigned long long st_ino; | |
43 | + int st_blksize; | |
44 | + int __pad2; | |
45 | + long long st_blocks; | |
46 | + struct timespec st_atim; | |
47 | + struct timespec st_mtim; | |
48 | + struct timespec st_ctim; | |
49 | + unsigned int __unused4; | |
50 | + unsigned int __unused5; | |
53 | 51 | }; |
54 | 52 | |
55 | 53 | #endif /* _BITS_STAT_STRUCT_H */ |