]>
Commit | Line | Data |
---|---|---|
476ff2be SL |
1 | pub type c_char = u8; |
2 | pub type wchar_t = i32; | |
3 | ||
4 | s! { | |
5 | pub struct ipc_perm { | |
6 | __key: ::key_t, | |
7 | pub uid: ::uid_t, | |
8 | pub gid: ::gid_t, | |
9 | pub cuid: ::uid_t, | |
10 | pub cgid: ::gid_t, | |
11 | pub mode: ::mode_t, | |
12 | __seq: ::uint32_t, | |
13 | __pad1: ::uint32_t, | |
14 | __glibc_reserved1: ::uint64_t, | |
15 | __glibc_reserved2: ::uint64_t, | |
16 | } | |
17 | ||
18 | pub struct stat64 { | |
19 | pub st_dev: ::dev_t, | |
20 | pub st_ino: ::ino64_t, | |
21 | pub st_mode: ::mode_t, | |
22 | pub st_nlink: ::nlink_t, | |
23 | pub st_uid: ::uid_t, | |
24 | pub st_gid: ::gid_t, | |
25 | pub st_rdev: ::dev_t, | |
26 | __pad2: ::c_ushort, | |
27 | pub st_size: ::off64_t, | |
28 | pub st_blksize: ::blksize_t, | |
29 | pub st_blocks: ::blkcnt64_t, | |
30 | pub st_atime: ::time_t, | |
31 | pub st_atime_nsec: ::c_long, | |
32 | pub st_mtime: ::time_t, | |
33 | pub st_mtime_nsec: ::c_long, | |
34 | pub st_ctime: ::time_t, | |
35 | pub st_ctime_nsec: ::c_long, | |
36 | __glibc_reserved4: ::c_ulong, | |
37 | __glibc_reserved5: ::c_ulong, | |
38 | } | |
39 | ||
ea8adc8c XL |
40 | pub struct statfs64 { |
41 | pub f_type: ::__fsword_t, | |
42 | pub f_bsize: ::__fsword_t, | |
43 | pub f_blocks: u64, | |
44 | pub f_bfree: u64, | |
45 | pub f_bavail: u64, | |
46 | pub f_files: u64, | |
47 | pub f_ffree: u64, | |
48 | pub f_fsid: ::fsid_t, | |
49 | pub f_namelen: ::__fsword_t, | |
50 | pub f_frsize: ::__fsword_t, | |
51 | pub f_flags: ::__fsword_t, | |
52 | pub f_spare: [::__fsword_t; 4], | |
53 | } | |
54 | ||
55 | pub struct statvfs64 { | |
56 | pub f_bsize: ::c_ulong, | |
57 | pub f_frsize: ::c_ulong, | |
58 | pub f_blocks: u64, | |
59 | pub f_bfree: u64, | |
60 | pub f_bavail: u64, | |
61 | pub f_files: u64, | |
62 | pub f_ffree: u64, | |
63 | pub f_favail: u64, | |
64 | pub f_fsid: ::c_ulong, | |
65 | __f_unused: ::c_int, | |
66 | pub f_flag: ::c_ulong, | |
67 | pub f_namemax: ::c_ulong, | |
68 | __f_spare: [::c_int; 6], | |
69 | } | |
70 | ||
476ff2be SL |
71 | pub struct shmid_ds { |
72 | pub shm_perm: ::ipc_perm, | |
73 | __glibc_reserved1: ::c_uint, | |
74 | pub shm_atime: ::time_t, | |
75 | __glibc_reserved2: ::c_uint, | |
76 | pub shm_dtime: ::time_t, | |
77 | __glibc_reserved3: ::c_uint, | |
78 | pub shm_ctime: ::time_t, | |
79 | __glibc_reserved4: ::c_uint, | |
80 | pub shm_segsz: ::size_t, | |
81 | pub shm_cpid: ::pid_t, | |
82 | pub shm_lpid: ::pid_t, | |
83 | pub shm_nattch: ::shmatt_t, | |
84 | __glibc_reserved5: ::c_ulong, | |
85 | __glibc_reserved6: ::c_ulong, | |
86 | } | |
87 | ||
88 | pub struct msqid_ds { | |
89 | pub msg_perm: ::ipc_perm, | |
90 | __glibc_reserved1: ::c_uint, | |
91 | pub msg_stime: ::time_t, | |
92 | __glibc_reserved2: ::c_uint, | |
93 | pub msg_rtime: ::time_t, | |
94 | __glibc_reserved3: ::c_uint, | |
95 | pub msg_ctime: ::time_t, | |
96 | __msg_cbytes: ::c_ulong, | |
97 | pub msg_qnum: ::msgqnum_t, | |
98 | pub msg_qbytes: ::msglen_t, | |
99 | pub msg_lspid: ::pid_t, | |
100 | pub msg_lrpid: ::pid_t, | |
101 | __glibc_reserved4: ::c_ulong, | |
102 | __glibc_reserved5: ::c_ulong, | |
103 | } | |
104 | } | |
105 | ||
106 | pub const O_DIRECT: ::c_int = 0x20000; | |
107 | pub const O_DIRECTORY: ::c_int = 0x4000; | |
108 | pub const O_NOFOLLOW: ::c_int = 0x8000; | |
3b2f2976 | 109 | pub const O_LARGEFILE: ::c_int = 0o200000; |
476ff2be SL |
110 | |
111 | pub const MAP_LOCKED: ::c_int = 0x00080; | |
112 | pub const MAP_NORESERVE: ::c_int = 0x00040; | |
113 | ||
114 | pub const EDEADLOCK: ::c_int = 58; | |
115 | ||
8bb4bdeb XL |
116 | pub const SO_SNDBUFFORCE: ::c_int = 32; |
117 | pub const SO_RCVBUFFORCE: ::c_int = 33; | |
118 | pub const SO_NO_CHECK: ::c_int = 11; | |
476ff2be SL |
119 | pub const SO_RCVLOWAT: ::c_int = 16; |
120 | pub const SO_SNDLOWAT: ::c_int = 17; | |
121 | pub const SO_RCVTIMEO: ::c_int = 18; | |
122 | pub const SO_SNDTIMEO: ::c_int = 19; | |
8bb4bdeb XL |
123 | pub const SO_PASSCRED: ::c_int = 20; |
124 | pub const SO_PEERCRED: ::c_int = 21; | |
476ff2be SL |
125 | |
126 | pub const FIOCLEX: ::c_ulong = 0x20006601; | |
127 | pub const FIONBIO: ::c_ulong = 0x8004667e; | |
128 | ||
476ff2be SL |
129 | pub const MCL_CURRENT: ::c_int = 0x2000; |
130 | pub const MCL_FUTURE: ::c_int = 0x4000; | |
131 | ||
132 | pub const SIGSTKSZ: ::size_t = 0x4000; | |
7cac9316 | 133 | pub const MINSIGSTKSZ: ::size_t = 4096; |
476ff2be SL |
134 | pub const CBAUD: ::tcflag_t = 0xff; |
135 | pub const TAB1: ::c_int = 0x400; | |
136 | pub const TAB2: ::c_int = 0x800; | |
137 | pub const TAB3: ::c_int = 0xc00; | |
138 | pub const CR1: ::c_int = 0x1000; | |
139 | pub const CR2: ::c_int = 0x2000; | |
140 | pub const CR3: ::c_int = 0x3000; | |
141 | pub const FF1: ::c_int = 0x4000; | |
142 | pub const BS1: ::c_int = 0x8000; | |
143 | pub const VT1: ::c_int = 0x10000; | |
144 | pub const VWERASE: usize = 0xa; | |
145 | pub const VREPRINT: usize = 0xb; | |
146 | pub const VSUSP: usize = 0xc; | |
147 | pub const VSTART: usize = 0xd; | |
148 | pub const VSTOP: usize = 0xe; | |
149 | pub const VDISCARD: usize = 0x10; | |
150 | pub const VTIME: usize = 0x7; | |
151 | pub const IXON: ::tcflag_t = 0x200; | |
152 | pub const IXOFF: ::tcflag_t = 0x400; | |
153 | pub const ONLCR: ::tcflag_t = 0x2; | |
154 | pub const CSIZE: ::tcflag_t = 0x300; | |
155 | pub const CS6: ::tcflag_t = 0x100; | |
156 | pub const CS7: ::tcflag_t = 0x200; | |
157 | pub const CS8: ::tcflag_t = 0x300; | |
158 | pub const CSTOPB: ::tcflag_t = 0x400; | |
159 | pub const CREAD: ::tcflag_t = 0x800; | |
160 | pub const PARENB: ::tcflag_t = 0x1000; | |
161 | pub const PARODD: ::tcflag_t = 0x2000; | |
162 | pub const HUPCL: ::tcflag_t = 0x4000; | |
163 | pub const CLOCAL: ::tcflag_t = 0x8000; | |
164 | pub const ECHOKE: ::tcflag_t = 0x1; | |
165 | pub const ECHOE: ::tcflag_t = 0x2; | |
166 | pub const ECHOK: ::tcflag_t = 0x4; | |
167 | pub const ECHONL: ::tcflag_t = 0x10; | |
168 | pub const ECHOPRT: ::tcflag_t = 0x20; | |
169 | pub const ECHOCTL: ::tcflag_t = 0x40; | |
170 | pub const ISIG: ::tcflag_t = 0x80; | |
171 | pub const ICANON: ::tcflag_t = 0x100; | |
172 | pub const PENDIN: ::tcflag_t = 0x20000000; | |
173 | pub const NOFLSH: ::tcflag_t = 0x80000000; | |
041b39d2 XL |
174 | pub const VSWTC: usize = 9; |
175 | pub const OLCUC: ::tcflag_t = 0o000004; | |
176 | pub const NLDLY: ::tcflag_t = 0o001400; | |
177 | pub const CRDLY: ::tcflag_t = 0o030000; | |
178 | pub const TABDLY: ::tcflag_t = 0o006000; | |
179 | pub const BSDLY: ::tcflag_t = 0o100000; | |
180 | pub const FFDLY: ::tcflag_t = 0o040000; | |
181 | pub const VTDLY: ::tcflag_t = 0o200000; | |
182 | pub const XTABS: ::tcflag_t = 0o006000; | |
476ff2be | 183 | |
8bb4bdeb XL |
184 | pub const B0: ::speed_t = 0o000000; |
185 | pub const B50: ::speed_t = 0o000001; | |
186 | pub const B75: ::speed_t = 0o000002; | |
187 | pub const B110: ::speed_t = 0o000003; | |
188 | pub const B134: ::speed_t = 0o000004; | |
189 | pub const B150: ::speed_t = 0o000005; | |
190 | pub const B200: ::speed_t = 0o000006; | |
191 | pub const B300: ::speed_t = 0o000007; | |
192 | pub const B600: ::speed_t = 0o000010; | |
193 | pub const B1200: ::speed_t = 0o000011; | |
194 | pub const B1800: ::speed_t = 0o000012; | |
195 | pub const B2400: ::speed_t = 0o000013; | |
196 | pub const B4800: ::speed_t = 0o000014; | |
197 | pub const B9600: ::speed_t = 0o000015; | |
198 | pub const B19200: ::speed_t = 0o000016; | |
199 | pub const B38400: ::speed_t = 0o000017; | |
200 | pub const EXTA: ::speed_t = B19200; | |
201 | pub const EXTB: ::speed_t = B38400; | |
202 | pub const CBAUDEX: ::speed_t = 0o000020; | |
203 | pub const B57600: ::speed_t = 0o0020; | |
204 | pub const B115200: ::speed_t = 0o0021; | |
205 | pub const B230400: ::speed_t = 0o0022; | |
206 | pub const B460800: ::speed_t = 0o0023; | |
207 | pub const B500000: ::speed_t = 0o0024; | |
208 | pub const B576000: ::speed_t = 0o0025; | |
209 | pub const B921600: ::speed_t = 0o0026; | |
210 | pub const B1000000: ::speed_t = 0o0027; | |
211 | pub const B1152000: ::speed_t = 0o0030; | |
212 | pub const B1500000: ::speed_t = 0o0031; | |
213 | pub const B2000000: ::speed_t = 0o0032; | |
214 | pub const B2500000: ::speed_t = 0o0033; | |
215 | pub const B3000000: ::speed_t = 0o0034; | |
216 | pub const B3500000: ::speed_t = 0o0035; | |
217 | pub const B4000000: ::speed_t = 0o0036; | |
abe05a73 | 218 | pub const BOTHER: ::speed_t = 0o0037; |
8bb4bdeb | 219 | |
476ff2be SL |
220 | pub const VEOL: usize = 6; |
221 | pub const VEOL2: usize = 8; | |
222 | pub const VMIN: usize = 5; | |
223 | pub const IEXTEN: ::tcflag_t = 0x400; | |
224 | pub const TOSTOP: ::tcflag_t = 0x400000; | |
225 | pub const FLUSHO: ::tcflag_t = 0x800000; | |
226 | pub const EXTPROC: ::tcflag_t = 0x10000000; | |
227 | pub const TCGETS: ::c_ulong = 0x403c7413; | |
228 | pub const TCSETS: ::c_ulong = 0x803c7414; | |
229 | pub const TCSETSW: ::c_ulong = 0x803c7415; | |
230 | pub const TCSETSF: ::c_ulong = 0x803c7416; | |
231 | pub const TCGETA: ::c_ulong = 0x40147417; | |
232 | pub const TCSETA: ::c_ulong = 0x80147418; | |
233 | pub const TCSETAW: ::c_ulong = 0x80147419; | |
234 | pub const TCSETAF: ::c_ulong = 0x8014741c; | |
235 | pub const TCSBRK: ::c_ulong = 0x2000741d; | |
236 | pub const TCXONC: ::c_ulong = 0x2000741e; | |
237 | pub const TCFLSH: ::c_ulong = 0x2000741f; | |
238 | pub const TIOCINQ: ::c_ulong = 0x4004667f; | |
239 | pub const TIOCGPGRP: ::c_ulong = 0x40047477; | |
240 | pub const TIOCSPGRP: ::c_ulong = 0x80047476; | |
241 | pub const TIOCOUTQ: ::c_ulong = 0x40047473; | |
242 | pub const TIOCGWINSZ: ::c_ulong = 0x40087468; | |
243 | pub const TIOCSWINSZ: ::c_ulong = 0x80087467; | |
244 | pub const FIONREAD: ::c_ulong = 0x4004667f; | |
abe05a73 XL |
245 | |
246 | pub const SYS_restart_syscall: ::c_long = 0; | |
247 | pub const SYS_exit: ::c_long = 1; | |
248 | pub const SYS_fork: ::c_long = 2; | |
249 | pub const SYS_read: ::c_long = 3; | |
250 | pub const SYS_write: ::c_long = 4; | |
251 | pub const SYS_open: ::c_long = 5; | |
252 | pub const SYS_close: ::c_long = 6; | |
253 | pub const SYS_waitpid: ::c_long = 7; | |
254 | pub const SYS_creat: ::c_long = 8; | |
255 | pub const SYS_link: ::c_long = 9; | |
256 | pub const SYS_unlink: ::c_long = 10; | |
257 | pub const SYS_execve: ::c_long = 11; | |
258 | pub const SYS_chdir: ::c_long = 12; | |
259 | pub const SYS_time: ::c_long = 13; | |
260 | pub const SYS_mknod: ::c_long = 14; | |
261 | pub const SYS_chmod: ::c_long = 15; | |
262 | pub const SYS_lchown: ::c_long = 16; | |
263 | pub const SYS_break: ::c_long = 17; | |
264 | pub const SYS_oldstat: ::c_long = 18; | |
265 | pub const SYS_lseek: ::c_long = 19; | |
266 | pub const SYS_getpid: ::c_long = 20; | |
267 | pub const SYS_mount: ::c_long = 21; | |
268 | pub const SYS_umount: ::c_long = 22; | |
269 | pub const SYS_setuid: ::c_long = 23; | |
270 | pub const SYS_getuid: ::c_long = 24; | |
271 | pub const SYS_stime: ::c_long = 25; | |
272 | pub const SYS_ptrace: ::c_long = 26; | |
273 | pub const SYS_alarm: ::c_long = 27; | |
274 | pub const SYS_oldfstat: ::c_long = 28; | |
275 | pub const SYS_pause: ::c_long = 29; | |
276 | pub const SYS_utime: ::c_long = 30; | |
277 | pub const SYS_stty: ::c_long = 31; | |
278 | pub const SYS_gtty: ::c_long = 32; | |
279 | pub const SYS_access: ::c_long = 33; | |
280 | pub const SYS_nice: ::c_long = 34; | |
281 | pub const SYS_ftime: ::c_long = 35; | |
282 | pub const SYS_sync: ::c_long = 36; | |
283 | pub const SYS_kill: ::c_long = 37; | |
284 | pub const SYS_rename: ::c_long = 38; | |
285 | pub const SYS_mkdir: ::c_long = 39; | |
286 | pub const SYS_rmdir: ::c_long = 40; | |
287 | pub const SYS_dup: ::c_long = 41; | |
288 | pub const SYS_pipe: ::c_long = 42; | |
289 | pub const SYS_times: ::c_long = 43; | |
290 | pub const SYS_prof: ::c_long = 44; | |
291 | pub const SYS_brk: ::c_long = 45; | |
292 | pub const SYS_setgid: ::c_long = 46; | |
293 | pub const SYS_getgid: ::c_long = 47; | |
294 | pub const SYS_signal: ::c_long = 48; | |
295 | pub const SYS_geteuid: ::c_long = 49; | |
296 | pub const SYS_getegid: ::c_long = 50; | |
297 | pub const SYS_acct: ::c_long = 51; | |
298 | pub const SYS_umount2: ::c_long = 52; | |
299 | pub const SYS_lock: ::c_long = 53; | |
300 | pub const SYS_ioctl: ::c_long = 54; | |
301 | pub const SYS_fcntl: ::c_long = 55; | |
302 | pub const SYS_mpx: ::c_long = 56; | |
303 | pub const SYS_setpgid: ::c_long = 57; | |
304 | pub const SYS_ulimit: ::c_long = 58; | |
305 | pub const SYS_oldolduname: ::c_long = 59; | |
306 | pub const SYS_umask: ::c_long = 60; | |
307 | pub const SYS_chroot: ::c_long = 61; | |
308 | pub const SYS_ustat: ::c_long = 62; | |
309 | pub const SYS_dup2: ::c_long = 63; | |
310 | pub const SYS_getppid: ::c_long = 64; | |
311 | pub const SYS_getpgrp: ::c_long = 65; | |
312 | pub const SYS_setsid: ::c_long = 66; | |
313 | pub const SYS_sigaction: ::c_long = 67; | |
314 | pub const SYS_sgetmask: ::c_long = 68; | |
315 | pub const SYS_ssetmask: ::c_long = 69; | |
316 | pub const SYS_setreuid: ::c_long = 70; | |
317 | pub const SYS_setregid: ::c_long = 71; | |
318 | pub const SYS_sigsuspend: ::c_long = 72; | |
319 | pub const SYS_sigpending: ::c_long = 73; | |
320 | pub const SYS_sethostname: ::c_long = 74; | |
321 | pub const SYS_setrlimit: ::c_long = 75; | |
322 | pub const SYS_getrlimit: ::c_long = 76; | |
323 | pub const SYS_getrusage: ::c_long = 77; | |
324 | pub const SYS_gettimeofday: ::c_long = 78; | |
325 | pub const SYS_settimeofday: ::c_long = 79; | |
326 | pub const SYS_getgroups: ::c_long = 80; | |
327 | pub const SYS_setgroups: ::c_long = 81; | |
328 | pub const SYS_select: ::c_long = 82; | |
329 | pub const SYS_symlink: ::c_long = 83; | |
330 | pub const SYS_oldlstat: ::c_long = 84; | |
331 | pub const SYS_readlink: ::c_long = 85; | |
332 | pub const SYS_uselib: ::c_long = 86; | |
333 | pub const SYS_swapon: ::c_long = 87; | |
334 | pub const SYS_reboot: ::c_long = 88; | |
335 | pub const SYS_readdir: ::c_long = 89; | |
336 | pub const SYS_mmap: ::c_long = 90; | |
337 | pub const SYS_munmap: ::c_long = 91; | |
338 | pub const SYS_truncate: ::c_long = 92; | |
339 | pub const SYS_ftruncate: ::c_long = 93; | |
340 | pub const SYS_fchmod: ::c_long = 94; | |
341 | pub const SYS_fchown: ::c_long = 95; | |
342 | pub const SYS_getpriority: ::c_long = 96; | |
343 | pub const SYS_setpriority: ::c_long = 97; | |
344 | pub const SYS_profil: ::c_long = 98; | |
345 | pub const SYS_statfs: ::c_long = 99; | |
346 | pub const SYS_fstatfs: ::c_long = 100; | |
347 | pub const SYS_ioperm: ::c_long = 101; | |
348 | pub const SYS_socketcall: ::c_long = 102; | |
349 | pub const SYS_syslog: ::c_long = 103; | |
350 | pub const SYS_setitimer: ::c_long = 104; | |
351 | pub const SYS_getitimer: ::c_long = 105; | |
352 | pub const SYS_stat: ::c_long = 106; | |
353 | pub const SYS_lstat: ::c_long = 107; | |
354 | pub const SYS_fstat: ::c_long = 108; | |
355 | pub const SYS_olduname: ::c_long = 109; | |
356 | pub const SYS_iopl: ::c_long = 110; | |
357 | pub const SYS_vhangup: ::c_long = 111; | |
358 | pub const SYS_idle: ::c_long = 112; | |
359 | pub const SYS_vm86: ::c_long = 113; | |
360 | pub const SYS_wait4: ::c_long = 114; | |
361 | pub const SYS_swapoff: ::c_long = 115; | |
362 | pub const SYS_sysinfo: ::c_long = 116; | |
363 | pub const SYS_ipc: ::c_long = 117; | |
364 | pub const SYS_fsync: ::c_long = 118; | |
365 | pub const SYS_sigreturn: ::c_long = 119; | |
366 | pub const SYS_clone: ::c_long = 120; | |
367 | pub const SYS_setdomainname: ::c_long = 121; | |
368 | pub const SYS_uname: ::c_long = 122; | |
369 | pub const SYS_modify_ldt: ::c_long = 123; | |
370 | pub const SYS_adjtimex: ::c_long = 124; | |
371 | pub const SYS_mprotect: ::c_long = 125; | |
372 | pub const SYS_sigprocmask: ::c_long = 126; | |
373 | pub const SYS_create_module: ::c_long = 127; | |
374 | pub const SYS_init_module: ::c_long = 128; | |
375 | pub const SYS_delete_module: ::c_long = 129; | |
376 | pub const SYS_get_kernel_syms: ::c_long = 130; | |
377 | pub const SYS_quotactl: ::c_long = 131; | |
378 | pub const SYS_getpgid: ::c_long = 132; | |
379 | pub const SYS_fchdir: ::c_long = 133; | |
380 | pub const SYS_bdflush: ::c_long = 134; | |
381 | pub const SYS_sysfs: ::c_long = 135; | |
382 | pub const SYS_personality: ::c_long = 136; | |
383 | pub const SYS_afs_syscall: ::c_long = 137; /* Syscall for Andrew File System */ | |
384 | pub const SYS_setfsuid: ::c_long = 138; | |
385 | pub const SYS_setfsgid: ::c_long = 139; | |
386 | pub const SYS__llseek: ::c_long = 140; | |
387 | pub const SYS_getdents: ::c_long = 141; | |
388 | pub const SYS__newselect: ::c_long = 142; | |
389 | pub const SYS_flock: ::c_long = 143; | |
390 | pub const SYS_msync: ::c_long = 144; | |
391 | pub const SYS_readv: ::c_long = 145; | |
392 | pub const SYS_writev: ::c_long = 146; | |
393 | pub const SYS_getsid: ::c_long = 147; | |
394 | pub const SYS_fdatasync: ::c_long = 148; | |
395 | pub const SYS__sysctl: ::c_long = 149; | |
396 | pub const SYS_mlock: ::c_long = 150; | |
397 | pub const SYS_munlock: ::c_long = 151; | |
398 | pub const SYS_mlockall: ::c_long = 152; | |
399 | pub const SYS_munlockall: ::c_long = 153; | |
400 | pub const SYS_sched_setparam: ::c_long = 154; | |
401 | pub const SYS_sched_getparam: ::c_long = 155; | |
402 | pub const SYS_sched_setscheduler: ::c_long = 156; | |
403 | pub const SYS_sched_getscheduler: ::c_long = 157; | |
404 | pub const SYS_sched_yield: ::c_long = 158; | |
405 | pub const SYS_sched_get_priority_max: ::c_long = 159; | |
406 | pub const SYS_sched_get_priority_min: ::c_long = 160; | |
407 | pub const SYS_sched_rr_get_interval: ::c_long = 161; | |
408 | pub const SYS_nanosleep: ::c_long = 162; | |
409 | pub const SYS_mremap: ::c_long = 163; | |
410 | pub const SYS_setresuid: ::c_long = 164; | |
411 | pub const SYS_getresuid: ::c_long = 165; | |
412 | pub const SYS_query_module: ::c_long = 166; | |
413 | pub const SYS_poll: ::c_long = 167; | |
414 | pub const SYS_nfsservctl: ::c_long = 168; | |
415 | pub const SYS_setresgid: ::c_long = 169; | |
416 | pub const SYS_getresgid: ::c_long = 170; | |
417 | pub const SYS_prctl: ::c_long = 171; | |
418 | pub const SYS_rt_sigreturn: ::c_long = 172; | |
419 | pub const SYS_rt_sigaction: ::c_long = 173; | |
420 | pub const SYS_rt_sigprocmask: ::c_long = 174; | |
421 | pub const SYS_rt_sigpending: ::c_long = 175; | |
422 | pub const SYS_rt_sigtimedwait: ::c_long = 176; | |
423 | pub const SYS_rt_sigqueueinfo: ::c_long = 177; | |
424 | pub const SYS_rt_sigsuspend: ::c_long = 178; | |
425 | pub const SYS_pread64: ::c_long = 179; | |
426 | pub const SYS_pwrite64: ::c_long = 180; | |
427 | pub const SYS_chown: ::c_long = 181; | |
428 | pub const SYS_getcwd: ::c_long = 182; | |
429 | pub const SYS_capget: ::c_long = 183; | |
430 | pub const SYS_capset: ::c_long = 184; | |
431 | pub const SYS_sigaltstack: ::c_long = 185; | |
432 | pub const SYS_sendfile: ::c_long = 186; | |
433 | pub const SYS_getpmsg: ::c_long = 187; /* some people actually want streams */ | |
434 | pub const SYS_putpmsg: ::c_long = 188; /* some people actually want streams */ | |
435 | pub const SYS_vfork: ::c_long = 189; | |
436 | pub const SYS_ugetrlimit: ::c_long = 190; /* SuS compliant getrlimit */ | |
437 | pub const SYS_readahead: ::c_long = 191; | |
438 | pub const SYS_mmap2: ::c_long = 192; | |
439 | pub const SYS_truncate64: ::c_long = 193; | |
440 | pub const SYS_ftruncate64: ::c_long = 194; | |
441 | pub const SYS_stat64: ::c_long = 195; | |
442 | pub const SYS_lstat64: ::c_long = 196; | |
443 | pub const SYS_fstat64: ::c_long = 197; | |
444 | pub const SYS_pciconfig_read: ::c_long = 198; | |
445 | pub const SYS_pciconfig_write: ::c_long = 199; | |
446 | pub const SYS_pciconfig_iobase: ::c_long = 200; | |
447 | pub const SYS_multiplexer: ::c_long = 201; | |
448 | pub const SYS_getdents64: ::c_long = 202; | |
449 | pub const SYS_pivot_root: ::c_long = 203; | |
450 | pub const SYS_fcntl64: ::c_long = 204; | |
451 | pub const SYS_madvise: ::c_long = 205; | |
452 | pub const SYS_mincore: ::c_long = 206; | |
453 | pub const SYS_gettid: ::c_long = 207; | |
454 | pub const SYS_tkill: ::c_long = 208; | |
455 | pub const SYS_setxattr: ::c_long = 209; | |
456 | pub const SYS_lsetxattr: ::c_long = 210; | |
457 | pub const SYS_fsetxattr: ::c_long = 211; | |
458 | pub const SYS_getxattr: ::c_long = 212; | |
459 | pub const SYS_lgetxattr: ::c_long = 213; | |
460 | pub const SYS_fgetxattr: ::c_long = 214; | |
461 | pub const SYS_listxattr: ::c_long = 215; | |
462 | pub const SYS_llistxattr: ::c_long = 216; | |
463 | pub const SYS_flistxattr: ::c_long = 217; | |
464 | pub const SYS_removexattr: ::c_long = 218; | |
465 | pub const SYS_lremovexattr: ::c_long = 219; | |
466 | pub const SYS_fremovexattr: ::c_long = 220; | |
467 | pub const SYS_futex: ::c_long = 221; | |
468 | pub const SYS_sched_setaffinity: ::c_long = 222; | |
469 | pub const SYS_sched_getaffinity: ::c_long = 223; | |
470 | pub const SYS_tuxcall: ::c_long = 225; | |
471 | pub const SYS_sendfile64: ::c_long = 226; | |
472 | pub const SYS_io_setup: ::c_long = 227; | |
473 | pub const SYS_io_destroy: ::c_long = 228; | |
474 | pub const SYS_io_getevents: ::c_long = 229; | |
475 | pub const SYS_io_submit: ::c_long = 230; | |
476 | pub const SYS_io_cancel: ::c_long = 231; | |
477 | pub const SYS_set_tid_address: ::c_long = 232; | |
478 | pub const SYS_fadvise64: ::c_long = 233; | |
479 | pub const SYS_exit_group: ::c_long = 234; | |
480 | pub const SYS_lookup_dcookie: ::c_long = 235; | |
481 | pub const SYS_epoll_create: ::c_long = 236; | |
482 | pub const SYS_epoll_ctl: ::c_long = 237; | |
483 | pub const SYS_epoll_wait: ::c_long = 238; | |
484 | pub const SYS_remap_file_pages: ::c_long = 239; | |
485 | pub const SYS_timer_create: ::c_long = 240; | |
486 | pub const SYS_timer_settime: ::c_long = 241; | |
487 | pub const SYS_timer_gettime: ::c_long = 242; | |
488 | pub const SYS_timer_getoverrun: ::c_long = 243; | |
489 | pub const SYS_timer_delete: ::c_long = 244; | |
490 | pub const SYS_clock_settime: ::c_long = 245; | |
491 | pub const SYS_clock_gettime: ::c_long = 246; | |
492 | pub const SYS_clock_getres: ::c_long = 247; | |
493 | pub const SYS_clock_nanosleep: ::c_long = 248; | |
494 | pub const SYS_swapcontext: ::c_long = 249; | |
495 | pub const SYS_tgkill: ::c_long = 250; | |
496 | pub const SYS_utimes: ::c_long = 251; | |
497 | pub const SYS_statfs64: ::c_long = 252; | |
498 | pub const SYS_fstatfs64: ::c_long = 253; | |
499 | pub const SYS_fadvise64_64: ::c_long = 254; | |
500 | pub const SYS_rtas: ::c_long = 255; | |
501 | pub const SYS_sys_debug_setcontext: ::c_long = 256; | |
502 | pub const SYS_migrate_pages: ::c_long = 258; | |
503 | pub const SYS_mbind: ::c_long = 259; | |
504 | pub const SYS_get_mempolicy: ::c_long = 260; | |
505 | pub const SYS_set_mempolicy: ::c_long = 261; | |
506 | pub const SYS_mq_open: ::c_long = 262; | |
507 | pub const SYS_mq_unlink: ::c_long = 263; | |
508 | pub const SYS_mq_timedsend: ::c_long = 264; | |
509 | pub const SYS_mq_timedreceive: ::c_long = 265; | |
510 | pub const SYS_mq_notify: ::c_long = 266; | |
511 | pub const SYS_mq_getsetattr: ::c_long = 267; | |
512 | pub const SYS_kexec_load: ::c_long = 268; | |
513 | pub const SYS_add_key: ::c_long = 269; | |
514 | pub const SYS_request_key: ::c_long = 270; | |
515 | pub const SYS_keyctl: ::c_long = 271; | |
516 | pub const SYS_waitid: ::c_long = 272; | |
517 | pub const SYS_ioprio_set: ::c_long = 273; | |
518 | pub const SYS_ioprio_get: ::c_long = 274; | |
519 | pub const SYS_inotify_init: ::c_long = 275; | |
520 | pub const SYS_inotify_add_watch: ::c_long = 276; | |
521 | pub const SYS_inotify_rm_watch: ::c_long = 277; | |
522 | pub const SYS_spu_run: ::c_long = 278; | |
523 | pub const SYS_spu_create: ::c_long = 279; | |
524 | pub const SYS_pselect6: ::c_long = 280; | |
525 | pub const SYS_ppoll: ::c_long = 281; | |
526 | pub const SYS_unshare: ::c_long = 282; | |
527 | pub const SYS_splice: ::c_long = 283; | |
528 | pub const SYS_tee: ::c_long = 284; | |
529 | pub const SYS_vmsplice: ::c_long = 285; | |
530 | pub const SYS_openat: ::c_long = 286; | |
531 | pub const SYS_mkdirat: ::c_long = 287; | |
532 | pub const SYS_mknodat: ::c_long = 288; | |
533 | pub const SYS_fchownat: ::c_long = 289; | |
534 | pub const SYS_futimesat: ::c_long = 290; | |
535 | pub const SYS_fstatat64: ::c_long = 291; | |
536 | pub const SYS_unlinkat: ::c_long = 292; | |
537 | pub const SYS_renameat: ::c_long = 293; | |
538 | pub const SYS_linkat: ::c_long = 294; | |
539 | pub const SYS_symlinkat: ::c_long = 295; | |
540 | pub const SYS_readlinkat: ::c_long = 296; | |
541 | pub const SYS_fchmodat: ::c_long = 297; | |
542 | pub const SYS_faccessat: ::c_long = 298; | |
543 | pub const SYS_get_robust_list: ::c_long = 299; | |
544 | pub const SYS_set_robust_list: ::c_long = 300; | |
545 | pub const SYS_move_pages: ::c_long = 301; | |
546 | pub const SYS_getcpu: ::c_long = 302; | |
547 | pub const SYS_epoll_pwait: ::c_long = 303; | |
548 | pub const SYS_utimensat: ::c_long = 304; | |
549 | pub const SYS_signalfd: ::c_long = 305; | |
550 | pub const SYS_timerfd_create: ::c_long = 306; | |
551 | pub const SYS_eventfd: ::c_long = 307; | |
552 | pub const SYS_sync_file_range2: ::c_long = 308; | |
553 | pub const SYS_fallocate: ::c_long = 309; | |
554 | pub const SYS_subpage_prot: ::c_long = 310; | |
555 | pub const SYS_timerfd_settime: ::c_long = 311; | |
556 | pub const SYS_timerfd_gettime: ::c_long = 312; | |
557 | pub const SYS_signalfd4: ::c_long = 313; | |
558 | pub const SYS_eventfd2: ::c_long = 314; | |
559 | pub const SYS_epoll_create1: ::c_long = 315; | |
560 | pub const SYS_dup3: ::c_long = 316; | |
561 | pub const SYS_pipe2: ::c_long = 317; | |
562 | pub const SYS_inotify_init1: ::c_long = 318; | |
563 | pub const SYS_perf_event_open: ::c_long = 319; | |
564 | pub const SYS_preadv: ::c_long = 320; | |
565 | pub const SYS_pwritev: ::c_long = 321; | |
566 | pub const SYS_rt_tgsigqueueinfo: ::c_long = 322; | |
567 | pub const SYS_fanotify_init: ::c_long = 323; | |
568 | pub const SYS_fanotify_mark: ::c_long = 324; | |
569 | pub const SYS_prlimit64: ::c_long = 325; | |
570 | pub const SYS_socket: ::c_long = 326; | |
571 | pub const SYS_bind: ::c_long = 327; | |
572 | pub const SYS_connect: ::c_long = 328; | |
573 | pub const SYS_listen: ::c_long = 329; | |
574 | pub const SYS_accept: ::c_long = 330; | |
575 | pub const SYS_getsockname: ::c_long = 331; | |
576 | pub const SYS_getpeername: ::c_long = 332; | |
577 | pub const SYS_socketpair: ::c_long = 333; | |
578 | pub const SYS_send: ::c_long = 334; | |
579 | pub const SYS_sendto: ::c_long = 335; | |
580 | pub const SYS_recv: ::c_long = 336; | |
581 | pub const SYS_recvfrom: ::c_long = 337; | |
582 | pub const SYS_shutdown: ::c_long = 338; | |
583 | pub const SYS_setsockopt: ::c_long = 339; | |
584 | pub const SYS_getsockopt: ::c_long = 340; | |
585 | pub const SYS_sendmsg: ::c_long = 341; | |
586 | pub const SYS_recvmsg: ::c_long = 342; | |
587 | pub const SYS_recvmmsg: ::c_long = 343; | |
588 | pub const SYS_accept4: ::c_long = 344; | |
589 | pub const SYS_name_to_handle_at: ::c_long = 345; | |
590 | pub const SYS_open_by_handle_at: ::c_long = 346; | |
591 | pub const SYS_clock_adjtime: ::c_long = 347; | |
592 | pub const SYS_syncfs: ::c_long = 348; | |
593 | pub const SYS_sendmmsg: ::c_long = 349; | |
594 | pub const SYS_setns: ::c_long = 350; | |
595 | pub const SYS_process_vm_readv: ::c_long = 351; | |
596 | pub const SYS_process_vm_writev: ::c_long = 352; | |
597 | pub const SYS_finit_module: ::c_long = 353; | |
598 | pub const SYS_kcmp: ::c_long = 354; | |
599 | pub const SYS_sched_setattr: ::c_long = 355; | |
600 | pub const SYS_sched_getattr: ::c_long = 356; | |
601 | pub const SYS_renameat2: ::c_long = 357; | |
602 | pub const SYS_seccomp: ::c_long = 358; | |
603 | pub const SYS_getrandom: ::c_long = 359; | |
604 | pub const SYS_memfd_create: ::c_long = 360; | |
605 | pub const SYS_bpf: ::c_long = 361; | |
606 | pub const SYS_execveat: ::c_long = 362; | |
607 | pub const SYS_switch_endian: ::c_long = 363; | |
608 | pub const SYS_userfaultfd: ::c_long = 364; | |
609 | pub const SYS_membarrier: ::c_long = 365; | |
610 | pub const SYS_mlock2: ::c_long = 378; | |
611 | pub const SYS_copy_file_range: ::c_long = 379; | |
612 | pub const SYS_preadv2: ::c_long = 380; | |
613 | pub const SYS_pwritev2: ::c_long = 381; | |
614 | pub const SYS_kexec_file_load: ::c_long = 382; |