devela/sys/os/linux/consts/syscall/
x86.rs
1#[allow(non_camel_case_types)]
8pub struct LINUX_SYS_X86;
9
10#[allow(missing_docs)]
11impl LINUX_SYS_X86 {
12 pub const ACCEPT4: isize = 364;
13 pub const ACCESS: isize = 33;
14 pub const ACCT: isize = 51;
15 pub const ADD_KEY: isize = 286;
16 pub const ADJTIMEX: isize = 124;
17 pub const AFS_SYSCALL: isize = 137;
18 pub const ALARM: isize = 27;
19 pub const ARCH_PRCTL: isize = 384;
20 pub const BDFLUSH: isize = 134;
21 pub const BIND: isize = 361;
22 pub const BPF: isize = 357;
23 pub const BREAK: isize = 17;
24 pub const BRK: isize = 45;
25 pub const CAPGET: isize = 184;
26 pub const CAPSET: isize = 185;
27 pub const CHDIR: isize = 12;
28 pub const CHMOD: isize = 15;
29 pub const CHOWN: isize = 182;
30 pub const CHOWN32: isize = 212;
31 pub const CHROOT: isize = 61;
32 pub const CLOCK_ADJTIME: isize = 343;
33 pub const CLOCK_GETRES: isize = 266;
34 pub const CLOCK_GETTIME: isize = 265;
35 pub const CLOCK_NANOSLEEP: isize = 267;
36 pub const CLOCK_SETTIME: isize = 264;
37 pub const CLONE: isize = 120;
38 pub const CLOSE: isize = 6;
39 pub const CONNECT: isize = 362;
40 pub const COPY_FILE_RANGE: isize = 377;
41 pub const CREAT: isize = 8;
42 pub const CREATE_MODULE: isize = 127;
43 pub const DELETE_MODULE: isize = 129;
44 pub const DUP2: isize = 63;
45 pub const DUP3: isize = 330;
46 pub const DUP: isize = 41;
47 pub const EPOLL_CREATE1: isize = 329;
48 pub const EPOLL_CREATE: isize = 254;
49 pub const EPOLL_CTL: isize = 255;
50 pub const EPOLL_PWAIT: isize = 319;
51 pub const EPOLL_WAIT: isize = 256;
52 pub const EVENTFD2: isize = 328;
53 pub const EVENTFD: isize = 323;
54 pub const EXECVE: isize = 11;
55 pub const EXECVEAT: isize = 358;
56 pub const EXIT: isize = 1;
57 pub const EXIT_GROUP: isize = 252;
58 pub const FACCESSAT: isize = 307;
59 pub const FADVISE64: isize = 250;
60 pub const FADVISE64_64: isize = 272;
61 pub const FALLOCATE: isize = 324;
62 pub const FANOTIFY_INIT: isize = 338;
63 pub const FANOTIFY_MARK: isize = 339;
64 pub const FCHDIR: isize = 133;
65 pub const FCHMOD: isize = 94;
66 pub const FCHMODAT: isize = 306;
67 pub const FCHOWN32: isize = 207;
68 pub const FCHOWN: isize = 95;
69 pub const FCHOWNAT: isize = 298;
70 pub const FCNTL: isize = 55;
71 pub const FCNTL64: isize = 221;
72 pub const FDATASYNC: isize = 148;
73 pub const FGETXATTR: isize = 231;
74 pub const FINIT_MODULE: isize = 350;
75 pub const FLISTXATTR: isize = 234;
76 pub const FLOCK: isize = 143;
77 pub const FORK: isize = 2;
78 pub const FREMOVEXATTR: isize = 237;
79 pub const FSETXATTR: isize = 228;
80 pub const FSTAT: isize = 108;
81 pub const FSTAT64: isize = 197;
82 pub const FSTATAT64: isize = 300;
83 pub const FSTATFS: isize = 100;
84 pub const FSTATFS64: isize = 269;
85 pub const FSYNC: isize = 118;
86 pub const FTIME: isize = 35;
87 pub const FTRUNCATE64: isize = 194;
88 pub const FTRUNCATE: isize = 93;
89 pub const FUTEX: isize = 240;
90 pub const FUTIMESAT: isize = 299;
91 pub const GETCPU: isize = 318;
92 pub const GETCWD: isize = 183;
93 pub const GETDENTS: isize = 141;
94 pub const GETDENTS64: isize = 220;
95 pub const GETEGID32: isize = 202;
96 pub const GETEGID: isize = 50;
97 pub const GETEUID32: isize = 201;
98 pub const GETEUID: isize = 49;
99 pub const GETGID32: isize = 200;
100 pub const GETGID: isize = 47;
101 pub const GETGROUPS32: isize = 205;
102 pub const GETGROUPS: isize = 80;
103 pub const GETITIMER: isize = 105;
104 pub const GET_KERNEL_SYMS: isize = 130;
105 pub const GET_MEMPOLICY: isize = 275;
106 pub const GETPEERNAME: isize = 368;
107 pub const GETPGID: isize = 132;
108 pub const GETPGRP: isize = 65;
109 pub const GETPID: isize = 20;
110 pub const GETPMSG: isize = 188;
111 pub const GETPPID: isize = 64;
112 pub const GETPRIORITY: isize = 96;
113 pub const GETRANDOM: isize = 355;
114 pub const GETRESGID: isize = 171;
115 pub const GETRESGID32: isize = 211;
116 pub const GETRESUID: isize = 165;
117 pub const GETRESUID32: isize = 209;
118 pub const GETRLIMIT: isize = 76;
119 pub const GET_ROBUST_LIST: isize = 312;
120 pub const GETRUSAGE: isize = 77;
121 pub const GETSID: isize = 147;
122 pub const GETSOCKNAME: isize = 367;
123 pub const GETSOCKOPT: isize = 365;
124 pub const GET_THREAD_AREA: isize = 244;
125 pub const GETTID: isize = 224;
126 pub const GETTIMEOFDAY: isize = 78;
127 pub const GETUID: isize = 24;
128 pub const GETUID32: isize = 199;
129 pub const GETXATTR: isize = 229;
130 pub const GTTY: isize = 32;
131 pub const IDLE: isize = 112;
132 pub const INIT_MODULE: isize = 128;
133 pub const INOTIFY_ADD_WATCH: isize = 292;
134 pub const INOTIFY_INIT1: isize = 332;
135 pub const INOTIFY_INIT: isize = 291;
136 pub const INOTIFY_RM_WATCH: isize = 293;
137 pub const IO_CANCEL: isize = 249;
138 pub const IOCTL: isize = 54;
139 pub const IO_DESTROY: isize = 246;
140 pub const IO_GETEVENTS: isize = 247;
141 pub const IOPERM: isize = 101;
142 pub const IOPL: isize = 110;
143 pub const IOPRIO_GET: isize = 290;
144 pub const IOPRIO_SET: isize = 289;
145 pub const IO_SETUP: isize = 245;
146 pub const IO_SUBMIT: isize = 248;
147 pub const IPC: isize = 117;
148 pub const KCMP: isize = 349;
149 pub const KEXEC_LOAD: isize = 283;
150 pub const KEYCTL: isize = 288;
151 pub const KILL: isize = 37;
152 pub const LCHOWN: isize = 16;
153 pub const LCHOWN32: isize = 198;
154 pub const LGETXATTR: isize = 230;
155 pub const LINK: isize = 9;
156 pub const LINKAT: isize = 303;
157 pub const LISTEN: isize = 363;
158 pub const LISTXATTR: isize = 232;
159 pub const LLISTXATTR: isize = 233;
160 pub const _LLSEEK: isize = 140;
161 pub const LOCK: isize = 53;
162 pub const LOOKUP_DCOOKIE: isize = 253;
163 pub const LREMOVEXATTR: isize = 236;
164 pub const LSEEK: isize = 19;
165 pub const LSETXATTR: isize = 227;
166 pub const LSTAT: isize = 107;
167 pub const LSTAT64: isize = 196;
168 pub const MADVISE: isize = 219;
169 pub const MBIND: isize = 274;
170 pub const MEMBARRIER: isize = 375;
171 pub const MEMFD_CREATE: isize = 356;
172 pub const MIGRATE_PAGES: isize = 294;
173 pub const MINCORE: isize = 218;
174 pub const MKDIR: isize = 39;
175 pub const MKDIRAT: isize = 296;
176 pub const MKNOD: isize = 14;
177 pub const MKNODAT: isize = 297;
178 pub const MLOCK: isize = 150;
179 pub const MLOCK2: isize = 376;
180 pub const MLOCKALL: isize = 152;
181 pub const MMAP2: isize = 192;
182 pub const MMAP: isize = 90;
183 pub const MODIFY_LDT: isize = 123;
184 pub const MOUNT: isize = 21;
185 pub const MOVE_PAGES: isize = 317;
186 pub const MPROTECT: isize = 125;
187 pub const MPX: isize = 56;
188 pub const MQ_GETSETATTR: isize = 282;
189 pub const MQ_NOTIFY: isize = 281;
190 pub const MQ_OPEN: isize = 277;
191 pub const MQ_TIMEDRECEIVE: isize = 280;
192 pub const MQ_TIMEDSEND: isize = 279;
193 pub const MQ_UNLINK: isize = 278;
194 pub const MREMAP: isize = 163;
195 pub const MSYNC: isize = 144;
196 pub const MUNLOCK: isize = 151;
197 pub const MUNLOCKALL: isize = 153;
198 pub const MUNMAP: isize = 91;
199 pub const NAME_TO_HANDLE_AT: isize = 341;
200 pub const NANOSLEEP: isize = 162;
201 pub const _NEWSELECT: isize = 142;
202 pub const NFSSERVCTL: isize = 169;
203 pub const NICE: isize = 34;
204 pub const OLDFSTAT: isize = 28;
205 pub const OLDLSTAT: isize = 84;
206 pub const OLDOLDUNAME: isize = 59;
207 pub const OLDSTAT: isize = 18;
208 pub const OLDUNAME: isize = 109;
209 pub const OPEN: isize = 5;
210 pub const OPENAT: isize = 295;
211 pub const OPEN_BY_HANDLE_AT: isize = 342;
212 pub const PAUSE: isize = 29;
213 pub const PERF_EVENT_OPEN: isize = 336;
214 pub const PERSONALITY: isize = 136;
215 pub const PIPE2: isize = 331;
216 pub const PIPE: isize = 42;
217 pub const PIVOT_ROOT: isize = 217;
218 pub const PKEY_ALLOC: isize = 381;
219 pub const PKEY_FREE: isize = 382;
220 pub const PKEY_MPROTECT: isize = 380;
221 pub const POLL: isize = 168;
222 pub const PPOLL: isize = 309;
223 pub const PRCTL: isize = 172;
224 pub const PREAD64: isize = 180;
225 pub const PREADV2: isize = 378;
226 pub const PREADV: isize = 333;
227 pub const PRLIMIT64: isize = 340;
228 pub const PROCESS_VM_READV: isize = 347;
229 pub const PROCESS_VM_WRITEV: isize = 348;
230 pub const PROF: isize = 44;
231 pub const PROFIL: isize = 98;
232 pub const PSELECT6: isize = 308;
233 pub const PTRACE: isize = 26;
234 pub const PUTPMSG: isize = 189;
235 pub const PWRITE64: isize = 181;
236 pub const PWRITEV2: isize = 379;
237 pub const PWRITEV: isize = 334;
238 pub const QUERY_MODULE: isize = 167;
239 pub const QUOTACTL: isize = 131;
240 pub const READ: isize = 3;
241 pub const READAHEAD: isize = 225;
242 pub const READDIR: isize = 89;
243 pub const READLINK: isize = 85;
244 pub const READLINKAT: isize = 305;
245 pub const READV: isize = 145;
246 pub const REBOOT: isize = 88;
247 pub const RECVFROM: isize = 371;
248 pub const RECVMMSG: isize = 337;
249 pub const RECVMSG: isize = 372;
250 pub const REMAP_FILE_PAGES: isize = 257;
251 pub const REMOVEXATTR: isize = 235;
252 pub const RENAME: isize = 38;
253 pub const RENAMEAT2: isize = 353;
254 pub const RENAMEAT: isize = 302;
255 pub const REQUEST_KEY: isize = 287;
256 pub const RESTART_SYSCALL: isize = 0;
257 pub const RMDIR: isize = 40;
258 pub const RT_SIGACTION: isize = 174;
259 pub const RT_SIGPENDING: isize = 176;
260 pub const RT_SIGPROCMASK: isize = 175;
261 pub const RT_SIGQUEUEINFO: isize = 178;
262 pub const RT_SIGRETURN: isize = 173;
263 pub const RT_SIGSUSPEND: isize = 179;
264 pub const RT_SIGTIMEDWAIT: isize = 177;
265 pub const RT_TGSIGQUEUEINFO: isize = 335;
266 pub const SCHED_GETAFFINITY: isize = 242;
267 pub const SCHED_GETATTR: isize = 352;
268 pub const SCHED_GETPARAM: isize = 155;
269 pub const SCHED_GET_PRIORITY_MAX: isize = 159;
270 pub const SCHED_GET_PRIORITY_MIN: isize = 160;
271 pub const SCHED_GETSCHEDULER: isize = 157;
272 pub const SCHED_RR_GET_INTERVAL: isize = 161;
273 pub const SCHED_SETAFFINITY: isize = 241;
274 pub const SCHED_SETATTR: isize = 351;
275 pub const SCHED_SETPARAM: isize = 154;
276 pub const SCHED_SETSCHEDULER: isize = 156;
277 pub const SCHED_YIELD: isize = 158;
278 pub const SECCOMP: isize = 354;
279 pub const SELECT: isize = 82;
280 pub const SENDFILE: isize = 187;
281 pub const SENDFILE64: isize = 239;
282 pub const SENDMMSG: isize = 345;
283 pub const SENDMSG: isize = 370;
284 pub const SENDTO: isize = 369;
285 pub const SETDOMAINNAME: isize = 121;
286 pub const SETFSGID: isize = 139;
287 pub const SETFSGID32: isize = 216;
288 pub const SETFSUID: isize = 138;
289 pub const SETFSUID32: isize = 215;
290 pub const SETGID32: isize = 214;
291 pub const SETGID: isize = 46;
292 pub const SETGROUPS32: isize = 206;
293 pub const SETGROUPS: isize = 81;
294 pub const SETHOSTNAME: isize = 74;
295 pub const SETITIMER: isize = 104;
296 pub const SET_MEMPOLICY: isize = 276;
297 pub const SETNS: isize = 346;
298 pub const SETPGID: isize = 57;
299 pub const SETPRIORITY: isize = 97;
300 pub const SETREGID32: isize = 204;
301 pub const SETREGID: isize = 71;
302 pub const SETRESGID: isize = 170;
303 pub const SETRESGID32: isize = 210;
304 pub const SETRESUID: isize = 164;
305 pub const SETRESUID32: isize = 208;
306 pub const SETREUID32: isize = 203;
307 pub const SETREUID: isize = 70;
308 pub const SETRLIMIT: isize = 75;
309 pub const SET_ROBUST_LIST: isize = 311;
310 pub const SETSID: isize = 66;
311 pub const SETSOCKOPT: isize = 366;
312 pub const SET_THREAD_AREA: isize = 243;
313 pub const SET_TID_ADDRESS: isize = 258;
314 pub const SETTIMEOFDAY: isize = 79;
315 pub const SETUID: isize = 23;
316 pub const SETUID32: isize = 213;
317 pub const SETXATTR: isize = 226;
318 pub const SGETMASK: isize = 68;
319 pub const SHUTDOWN: isize = 373;
320 pub const SIGACTION: isize = 67;
321 pub const SIGALTSTACK: isize = 186;
322 pub const SIGNAL: isize = 48;
323 pub const SIGNALFD: isize = 321;
324 pub const SIGNALFD4: isize = 327;
325 pub const SIGPENDING: isize = 73;
326 pub const SIGPROCMASK: isize = 126;
327 pub const SIGRETURN: isize = 119;
328 pub const SIGSUSPEND: isize = 72;
329 pub const SOCKET: isize = 359;
330 pub const SOCKETCALL: isize = 102;
331 pub const SOCKETPAIR: isize = 360;
332 pub const SPLICE: isize = 313;
333 pub const SSETMASK: isize = 69;
334 pub const STAT: isize = 106;
335 pub const STAT64: isize = 195;
336 pub const STATFS64: isize = 268;
337 pub const STATFS: isize = 99;
338 pub const STATX: isize = 383;
339 pub const STIME: isize = 25;
340 pub const STTY: isize = 31;
341 pub const SWAPOFF: isize = 115;
342 pub const SWAPON: isize = 87;
343 pub const SYMLINK: isize = 83;
344 pub const SYMLINKAT: isize = 304;
345 pub const SYNC: isize = 36;
346 pub const SYNC_FILE_RANGE: isize = 314;
347 pub const SYNCFS: isize = 344;
348 pub const _SYSCTL: isize = 149;
349 pub const SYSFS: isize = 135;
350 pub const SYSINFO: isize = 116;
351 pub const SYSLOG: isize = 103;
352 pub const TEE: isize = 315;
353 pub const TGKILL: isize = 270;
354 pub const TIME: isize = 13;
355 pub const TIMER_CREATE: isize = 259;
356 pub const TIMER_DELETE: isize = 263;
357 pub const TIMERFD_CREATE: isize = 322;
358 pub const TIMERFD_GETTIME: isize = 326;
359 pub const TIMERFD_SETTIME: isize = 325;
360 pub const TIMER_GETOVERRUN: isize = 262;
361 pub const TIMER_GETTIME: isize = 261;
362 pub const TIMER_SETTIME: isize = 260;
363 pub const TIMES: isize = 43;
364 pub const TKILL: isize = 238;
365 pub const TRUNCATE64: isize = 193;
366 pub const TRUNCATE: isize = 92;
367 pub const UGETRLIMIT: isize = 191;
368 pub const ULIMIT: isize = 58;
369 pub const UMASK: isize = 60;
370 pub const UMOUNT: isize = 22;
371 pub const UMOUNT2: isize = 52;
372 pub const UNAME: isize = 122;
373 pub const UNLINK: isize = 10;
374 pub const UNLINKAT: isize = 301;
375 pub const UNSHARE: isize = 310;
376 pub const USELIB: isize = 86;
377 pub const USERFAULTFD: isize = 374;
378 pub const USTAT: isize = 62;
379 pub const UTIME: isize = 30;
380 pub const UTIMENSAT: isize = 320;
381 pub const UTIMES: isize = 271;
382 pub const VFORK: isize = 190;
383 pub const VHANGUP: isize = 111;
384 pub const VM86: isize = 166;
385 pub const VM86OLD: isize = 113;
386 pub const VMSPLICE: isize = 316;
387 pub const VSERVER: isize = 273;
388 pub const WAIT4: isize = 114;
389 pub const WAITID: isize = 284;
390 pub const WAITPID: isize = 7;
391 pub const WRITE: isize = 4;
392 pub const WRITEV: isize = 146;
393}