1 | /* automatically generated by rust-bindgen 0.66.1 */ |
2 | |
3 | pub type __s8 = crate::ctypes::c_schar; |
4 | pub type __u8 = crate::ctypes::c_uchar; |
5 | pub type __s16 = crate::ctypes::c_short; |
6 | pub type __u16 = crate::ctypes::c_ushort; |
7 | pub type __s32 = crate::ctypes::c_int; |
8 | pub type __u32 = crate::ctypes::c_uint; |
9 | pub type __s64 = crate::ctypes::c_longlong; |
10 | pub type __u64 = crate::ctypes::c_ulonglong; |
11 | pub type __kernel_sighandler_t = ::core::option::Option<unsafe extern "C" fn(arg1: crate::ctypes::c_int)>; |
12 | pub type __kernel_key_t = crate::ctypes::c_int; |
13 | pub type __kernel_mqd_t = crate::ctypes::c_int; |
14 | pub type __kernel_old_uid_t = crate::ctypes::c_ushort; |
15 | pub type __kernel_old_gid_t = crate::ctypes::c_ushort; |
16 | pub type __kernel_old_dev_t = crate::ctypes::c_ulong; |
17 | pub type __kernel_long_t = crate::ctypes::c_long; |
18 | pub type __kernel_ulong_t = crate::ctypes::c_ulong; |
19 | pub type __kernel_ino_t = __kernel_ulong_t; |
20 | pub type __kernel_mode_t = crate::ctypes::c_uint; |
21 | pub type __kernel_pid_t = crate::ctypes::c_int; |
22 | pub type __kernel_ipc_pid_t = crate::ctypes::c_int; |
23 | pub type __kernel_uid_t = crate::ctypes::c_uint; |
24 | pub type __kernel_gid_t = crate::ctypes::c_uint; |
25 | pub type __kernel_suseconds_t = __kernel_long_t; |
26 | pub type __kernel_daddr_t = crate::ctypes::c_int; |
27 | pub type __kernel_uid32_t = crate::ctypes::c_uint; |
28 | pub type __kernel_gid32_t = crate::ctypes::c_uint; |
29 | pub type __kernel_size_t = __kernel_ulong_t; |
30 | pub type __kernel_ssize_t = __kernel_long_t; |
31 | pub type __kernel_ptrdiff_t = __kernel_long_t; |
32 | pub type __kernel_off_t = __kernel_long_t; |
33 | pub type __kernel_loff_t = crate::ctypes::c_longlong; |
34 | pub type __kernel_old_time_t = __kernel_long_t; |
35 | pub type __kernel_time_t = __kernel_long_t; |
36 | pub type __kernel_time64_t = crate::ctypes::c_longlong; |
37 | pub type __kernel_clock_t = __kernel_long_t; |
38 | pub type __kernel_timer_t = crate::ctypes::c_int; |
39 | pub type __kernel_clockid_t = crate::ctypes::c_int; |
40 | pub type __kernel_caddr_t = *mut crate::ctypes::c_char; |
41 | pub type __kernel_uid16_t = crate::ctypes::c_ushort; |
42 | pub type __kernel_gid16_t = crate::ctypes::c_ushort; |
43 | pub type __le16 = __u16; |
44 | pub type __be16 = __u16; |
45 | pub type __le32 = __u32; |
46 | pub type __be32 = __u32; |
47 | pub type __le64 = __u64; |
48 | pub type __be64 = __u64; |
49 | pub type __sum16 = __u16; |
50 | pub type __wsum = __u32; |
51 | pub type __poll_t = crate::ctypes::c_uint; |
52 | pub type cap_user_header_t = *mut __user_cap_header_struct; |
53 | pub type cap_user_data_t = *mut __user_cap_data_struct; |
54 | pub type __kernel_rwf_t = crate::ctypes::c_int; |
55 | pub type sigset_t = crate::ctypes::c_ulong; |
56 | pub type __signalfn_t = ::core::option::Option<unsafe extern "C" fn(arg1: crate::ctypes::c_int)>; |
57 | pub type __sighandler_t = __signalfn_t; |
58 | pub type __restorefn_t = ::core::option::Option<unsafe extern "C" fn()>; |
59 | pub type __sigrestore_t = __restorefn_t; |
60 | pub type stack_t = sigaltstack; |
61 | pub type sigval_t = sigval; |
62 | pub type siginfo_t = siginfo; |
63 | pub type sigevent_t = sigevent; |
64 | pub type cc_t = crate::ctypes::c_uchar; |
65 | pub type speed_t = crate::ctypes::c_uint; |
66 | pub type tcflag_t = crate::ctypes::c_uint; |
67 | pub type __fsword_t = __kernel_long_t; |
68 | #[repr (C)] |
69 | #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] |
70 | pub struct __BindgenBitfieldUnit<Storage> { |
71 | storage: Storage, |
72 | } |
73 | #[repr (C)] |
74 | #[derive(Default)] |
75 | pub struct __IncompleteArrayField<T>(::core::marker::PhantomData<T>, [T; 0]); |
76 | #[repr (C)] |
77 | #[derive(Debug, Copy, Clone)] |
78 | pub struct __kernel_fd_set { |
79 | pub fds_bits: [crate::ctypes::c_ulong; 16usize], |
80 | } |
81 | #[repr (C)] |
82 | #[derive(Debug, Copy, Clone)] |
83 | pub struct __kernel_fsid_t { |
84 | pub val: [crate::ctypes::c_int; 2usize], |
85 | } |
86 | #[repr (C)] |
87 | #[derive(Debug, Copy, Clone)] |
88 | pub struct __user_cap_header_struct { |
89 | pub version: __u32, |
90 | pub pid: crate::ctypes::c_int, |
91 | } |
92 | #[repr (C)] |
93 | #[derive(Debug, Copy, Clone)] |
94 | pub struct __user_cap_data_struct { |
95 | pub effective: __u32, |
96 | pub permitted: __u32, |
97 | pub inheritable: __u32, |
98 | } |
99 | #[repr (C)] |
100 | #[derive(Debug, Copy, Clone)] |
101 | pub struct vfs_cap_data { |
102 | pub magic_etc: __le32, |
103 | pub data: [vfs_cap_data__bindgen_ty_1; 2usize], |
104 | } |
105 | #[repr (C)] |
106 | #[derive(Debug, Copy, Clone)] |
107 | pub struct vfs_cap_data__bindgen_ty_1 { |
108 | pub permitted: __le32, |
109 | pub inheritable: __le32, |
110 | } |
111 | #[repr (C)] |
112 | #[derive(Debug, Copy, Clone)] |
113 | pub struct vfs_ns_cap_data { |
114 | pub magic_etc: __le32, |
115 | pub data: [vfs_ns_cap_data__bindgen_ty_1; 2usize], |
116 | pub rootid: __le32, |
117 | } |
118 | #[repr (C)] |
119 | #[derive(Debug, Copy, Clone)] |
120 | pub struct vfs_ns_cap_data__bindgen_ty_1 { |
121 | pub permitted: __le32, |
122 | pub inheritable: __le32, |
123 | } |
124 | #[repr (C)] |
125 | #[derive(Debug, Copy, Clone)] |
126 | pub struct f_owner_ex { |
127 | pub type_: crate::ctypes::c_int, |
128 | pub pid: __kernel_pid_t, |
129 | } |
130 | #[repr (C)] |
131 | #[derive(Debug, Copy, Clone)] |
132 | pub struct flock { |
133 | pub l_type: crate::ctypes::c_short, |
134 | pub l_whence: crate::ctypes::c_short, |
135 | pub l_start: __kernel_off_t, |
136 | pub l_len: __kernel_off_t, |
137 | pub l_pid: __kernel_pid_t, |
138 | } |
139 | #[repr (C)] |
140 | #[derive(Debug, Copy, Clone)] |
141 | pub struct flock64 { |
142 | pub l_type: crate::ctypes::c_short, |
143 | pub l_whence: crate::ctypes::c_short, |
144 | pub l_start: __kernel_loff_t, |
145 | pub l_len: __kernel_loff_t, |
146 | pub l_pid: __kernel_pid_t, |
147 | } |
148 | #[repr (C)] |
149 | #[derive(Debug, Copy, Clone)] |
150 | pub struct open_how { |
151 | pub flags: __u64, |
152 | pub mode: __u64, |
153 | pub resolve: __u64, |
154 | } |
155 | #[repr (C, packed)] |
156 | #[derive(Debug, Copy, Clone)] |
157 | pub struct epoll_event { |
158 | pub events: __poll_t, |
159 | pub data: __u64, |
160 | } |
161 | #[repr (C)] |
162 | #[derive(Debug, Copy, Clone)] |
163 | pub struct fscrypt_policy_v1 { |
164 | pub version: __u8, |
165 | pub contents_encryption_mode: __u8, |
166 | pub filenames_encryption_mode: __u8, |
167 | pub flags: __u8, |
168 | pub master_key_descriptor: [__u8; 8usize], |
169 | } |
170 | #[repr (C)] |
171 | #[derive(Debug, Copy, Clone)] |
172 | pub struct fscrypt_key { |
173 | pub mode: __u32, |
174 | pub raw: [__u8; 64usize], |
175 | pub size: __u32, |
176 | } |
177 | #[repr (C)] |
178 | #[derive(Debug, Copy, Clone)] |
179 | pub struct fscrypt_policy_v2 { |
180 | pub version: __u8, |
181 | pub contents_encryption_mode: __u8, |
182 | pub filenames_encryption_mode: __u8, |
183 | pub flags: __u8, |
184 | pub __reserved: [__u8; 4usize], |
185 | pub master_key_identifier: [__u8; 16usize], |
186 | } |
187 | #[repr (C)] |
188 | #[derive(Copy, Clone)] |
189 | pub struct fscrypt_get_policy_ex_arg { |
190 | pub policy_size: __u64, |
191 | pub policy: fscrypt_get_policy_ex_arg__bindgen_ty_1, |
192 | } |
193 | #[repr (C)] |
194 | #[derive(Copy, Clone)] |
195 | pub struct fscrypt_key_specifier { |
196 | pub type_: __u32, |
197 | pub __reserved: __u32, |
198 | pub u: fscrypt_key_specifier__bindgen_ty_1, |
199 | } |
200 | #[repr (C)] |
201 | #[derive(Debug)] |
202 | pub struct fscrypt_provisioning_key_payload { |
203 | pub type_: __u32, |
204 | pub __reserved: __u32, |
205 | pub raw: __IncompleteArrayField<__u8>, |
206 | } |
207 | #[repr (C)] |
208 | pub struct fscrypt_add_key_arg { |
209 | pub key_spec: fscrypt_key_specifier, |
210 | pub raw_size: __u32, |
211 | pub key_id: __u32, |
212 | pub __reserved: [__u32; 8usize], |
213 | pub raw: __IncompleteArrayField<__u8>, |
214 | } |
215 | #[repr (C)] |
216 | #[derive(Copy, Clone)] |
217 | pub struct fscrypt_remove_key_arg { |
218 | pub key_spec: fscrypt_key_specifier, |
219 | pub removal_status_flags: __u32, |
220 | pub __reserved: [__u32; 5usize], |
221 | } |
222 | #[repr (C)] |
223 | #[derive(Copy, Clone)] |
224 | pub struct fscrypt_get_key_status_arg { |
225 | pub key_spec: fscrypt_key_specifier, |
226 | pub __reserved: [__u32; 6usize], |
227 | pub status: __u32, |
228 | pub status_flags: __u32, |
229 | pub user_count: __u32, |
230 | pub __out_reserved: [__u32; 13usize], |
231 | } |
232 | #[repr (C)] |
233 | #[derive(Debug, Copy, Clone)] |
234 | pub struct mount_attr { |
235 | pub attr_set: __u64, |
236 | pub attr_clr: __u64, |
237 | pub propagation: __u64, |
238 | pub userns_fd: __u64, |
239 | } |
240 | #[repr (C)] |
241 | #[derive(Debug, Copy, Clone)] |
242 | pub struct file_clone_range { |
243 | pub src_fd: __s64, |
244 | pub src_offset: __u64, |
245 | pub src_length: __u64, |
246 | pub dest_offset: __u64, |
247 | } |
248 | #[repr (C)] |
249 | #[derive(Debug, Copy, Clone)] |
250 | pub struct fstrim_range { |
251 | pub start: __u64, |
252 | pub len: __u64, |
253 | pub minlen: __u64, |
254 | } |
255 | #[repr (C)] |
256 | #[derive(Debug, Copy, Clone)] |
257 | pub struct file_dedupe_range_info { |
258 | pub dest_fd: __s64, |
259 | pub dest_offset: __u64, |
260 | pub bytes_deduped: __u64, |
261 | pub status: __s32, |
262 | pub reserved: __u32, |
263 | } |
264 | #[repr (C)] |
265 | #[derive(Debug)] |
266 | pub struct file_dedupe_range { |
267 | pub src_offset: __u64, |
268 | pub src_length: __u64, |
269 | pub dest_count: __u16, |
270 | pub reserved1: __u16, |
271 | pub reserved2: __u32, |
272 | pub info: __IncompleteArrayField<file_dedupe_range_info>, |
273 | } |
274 | #[repr (C)] |
275 | #[derive(Debug, Copy, Clone)] |
276 | pub struct files_stat_struct { |
277 | pub nr_files: crate::ctypes::c_ulong, |
278 | pub nr_free_files: crate::ctypes::c_ulong, |
279 | pub max_files: crate::ctypes::c_ulong, |
280 | } |
281 | #[repr (C)] |
282 | #[derive(Debug, Copy, Clone)] |
283 | pub struct inodes_stat_t { |
284 | pub nr_inodes: crate::ctypes::c_long, |
285 | pub nr_unused: crate::ctypes::c_long, |
286 | pub dummy: [crate::ctypes::c_long; 5usize], |
287 | } |
288 | #[repr (C)] |
289 | #[derive(Debug, Copy, Clone)] |
290 | pub struct fsxattr { |
291 | pub fsx_xflags: __u32, |
292 | pub fsx_extsize: __u32, |
293 | pub fsx_nextents: __u32, |
294 | pub fsx_projid: __u32, |
295 | pub fsx_cowextsize: __u32, |
296 | pub fsx_pad: [crate::ctypes::c_uchar; 8usize], |
297 | } |
298 | #[repr (C)] |
299 | #[derive(Debug, Copy, Clone)] |
300 | pub struct futex_waitv { |
301 | pub val: __u64, |
302 | pub uaddr: __u64, |
303 | pub flags: __u32, |
304 | pub __reserved: __u32, |
305 | } |
306 | #[repr (C)] |
307 | #[derive(Debug, Copy, Clone)] |
308 | pub struct robust_list { |
309 | pub next: *mut robust_list, |
310 | } |
311 | #[repr (C)] |
312 | #[derive(Debug, Copy, Clone)] |
313 | pub struct robust_list_head { |
314 | pub list: robust_list, |
315 | pub futex_offset: crate::ctypes::c_long, |
316 | pub list_op_pending: *mut robust_list, |
317 | } |
318 | #[repr (C)] |
319 | #[derive(Debug)] |
320 | pub struct inotify_event { |
321 | pub wd: __s32, |
322 | pub mask: __u32, |
323 | pub cookie: __u32, |
324 | pub len: __u32, |
325 | pub name: __IncompleteArrayField<crate::ctypes::c_char>, |
326 | } |
327 | #[repr (C)] |
328 | #[derive(Debug, Copy, Clone)] |
329 | pub struct pollfd { |
330 | pub fd: crate::ctypes::c_int, |
331 | pub events: crate::ctypes::c_short, |
332 | pub revents: crate::ctypes::c_short, |
333 | } |
334 | #[repr (C)] |
335 | #[derive(Debug)] |
336 | pub struct rand_pool_info { |
337 | pub entropy_count: crate::ctypes::c_int, |
338 | pub buf_size: crate::ctypes::c_int, |
339 | pub buf: __IncompleteArrayField<__u32>, |
340 | } |
341 | #[repr (C)] |
342 | #[derive(Debug, Copy, Clone)] |
343 | pub struct __kernel_timespec { |
344 | pub tv_sec: __kernel_time64_t, |
345 | pub tv_nsec: crate::ctypes::c_longlong, |
346 | } |
347 | #[repr (C)] |
348 | #[derive(Debug, Copy, Clone)] |
349 | pub struct __kernel_itimerspec { |
350 | pub it_interval: __kernel_timespec, |
351 | pub it_value: __kernel_timespec, |
352 | } |
353 | #[repr (C)] |
354 | #[derive(Debug, Copy, Clone)] |
355 | pub struct __kernel_old_timeval { |
356 | pub tv_sec: __kernel_long_t, |
357 | pub tv_usec: __kernel_long_t, |
358 | } |
359 | #[repr (C)] |
360 | #[derive(Debug, Copy, Clone)] |
361 | pub struct __kernel_old_timespec { |
362 | pub tv_sec: __kernel_old_time_t, |
363 | pub tv_nsec: crate::ctypes::c_long, |
364 | } |
365 | #[repr (C)] |
366 | #[derive(Debug, Copy, Clone)] |
367 | pub struct __kernel_old_itimerval { |
368 | pub it_interval: __kernel_old_timeval, |
369 | pub it_value: __kernel_old_timeval, |
370 | } |
371 | #[repr (C)] |
372 | #[derive(Debug, Copy, Clone)] |
373 | pub struct __kernel_sock_timeval { |
374 | pub tv_sec: __s64, |
375 | pub tv_usec: __s64, |
376 | } |
377 | #[repr (C)] |
378 | #[derive(Debug, Copy, Clone)] |
379 | pub struct timespec { |
380 | pub tv_sec: __kernel_old_time_t, |
381 | pub tv_nsec: crate::ctypes::c_long, |
382 | } |
383 | #[repr (C)] |
384 | #[derive(Debug, Copy, Clone)] |
385 | pub struct timeval { |
386 | pub tv_sec: __kernel_old_time_t, |
387 | pub tv_usec: __kernel_suseconds_t, |
388 | } |
389 | #[repr (C)] |
390 | #[derive(Debug, Copy, Clone)] |
391 | pub struct itimerspec { |
392 | pub it_interval: timespec, |
393 | pub it_value: timespec, |
394 | } |
395 | #[repr (C)] |
396 | #[derive(Debug, Copy, Clone)] |
397 | pub struct itimerval { |
398 | pub it_interval: timeval, |
399 | pub it_value: timeval, |
400 | } |
401 | #[repr (C)] |
402 | #[derive(Debug, Copy, Clone)] |
403 | pub struct timezone { |
404 | pub tz_minuteswest: crate::ctypes::c_int, |
405 | pub tz_dsttime: crate::ctypes::c_int, |
406 | } |
407 | #[repr (C)] |
408 | #[derive(Debug, Copy, Clone)] |
409 | pub struct rusage { |
410 | pub ru_utime: __kernel_old_timeval, |
411 | pub ru_stime: __kernel_old_timeval, |
412 | pub ru_maxrss: __kernel_long_t, |
413 | pub ru_ixrss: __kernel_long_t, |
414 | pub ru_idrss: __kernel_long_t, |
415 | pub ru_isrss: __kernel_long_t, |
416 | pub ru_minflt: __kernel_long_t, |
417 | pub ru_majflt: __kernel_long_t, |
418 | pub ru_nswap: __kernel_long_t, |
419 | pub ru_inblock: __kernel_long_t, |
420 | pub ru_oublock: __kernel_long_t, |
421 | pub ru_msgsnd: __kernel_long_t, |
422 | pub ru_msgrcv: __kernel_long_t, |
423 | pub ru_nsignals: __kernel_long_t, |
424 | pub ru_nvcsw: __kernel_long_t, |
425 | pub ru_nivcsw: __kernel_long_t, |
426 | } |
427 | #[repr (C)] |
428 | #[derive(Debug, Copy, Clone)] |
429 | pub struct rlimit { |
430 | pub rlim_cur: __kernel_ulong_t, |
431 | pub rlim_max: __kernel_ulong_t, |
432 | } |
433 | #[repr (C)] |
434 | #[derive(Debug, Copy, Clone)] |
435 | pub struct rlimit64 { |
436 | pub rlim_cur: __u64, |
437 | pub rlim_max: __u64, |
438 | } |
439 | #[repr (C)] |
440 | #[derive(Debug, Copy, Clone)] |
441 | pub struct clone_args { |
442 | pub flags: __u64, |
443 | pub pidfd: __u64, |
444 | pub child_tid: __u64, |
445 | pub parent_tid: __u64, |
446 | pub exit_signal: __u64, |
447 | pub stack: __u64, |
448 | pub stack_size: __u64, |
449 | pub tls: __u64, |
450 | pub set_tid: __u64, |
451 | pub set_tid_size: __u64, |
452 | pub cgroup: __u64, |
453 | } |
454 | #[repr (C)] |
455 | #[derive(Debug, Copy, Clone)] |
456 | pub struct sigaction { |
457 | pub sa_handler: __sighandler_t, |
458 | pub sa_flags: crate::ctypes::c_ulong, |
459 | pub sa_restorer: __sigrestore_t, |
460 | pub sa_mask: sigset_t, |
461 | } |
462 | #[repr (C)] |
463 | #[derive(Debug, Copy, Clone)] |
464 | pub struct sigaltstack { |
465 | pub ss_sp: *mut crate::ctypes::c_void, |
466 | pub ss_flags: crate::ctypes::c_int, |
467 | pub ss_size: __kernel_size_t, |
468 | } |
469 | #[repr (C)] |
470 | #[derive(Debug, Copy, Clone)] |
471 | pub struct __sifields__bindgen_ty_1 { |
472 | pub _pid: __kernel_pid_t, |
473 | pub _uid: __kernel_uid32_t, |
474 | } |
475 | #[repr (C)] |
476 | #[derive(Copy, Clone)] |
477 | pub struct __sifields__bindgen_ty_2 { |
478 | pub _tid: __kernel_timer_t, |
479 | pub _overrun: crate::ctypes::c_int, |
480 | pub _sigval: sigval_t, |
481 | pub _sys_private: crate::ctypes::c_int, |
482 | } |
483 | #[repr (C)] |
484 | #[derive(Copy, Clone)] |
485 | pub struct __sifields__bindgen_ty_3 { |
486 | pub _pid: __kernel_pid_t, |
487 | pub _uid: __kernel_uid32_t, |
488 | pub _sigval: sigval_t, |
489 | } |
490 | #[repr (C)] |
491 | #[derive(Debug, Copy, Clone)] |
492 | pub struct __sifields__bindgen_ty_4 { |
493 | pub _pid: __kernel_pid_t, |
494 | pub _uid: __kernel_uid32_t, |
495 | pub _status: crate::ctypes::c_int, |
496 | pub _utime: __kernel_clock_t, |
497 | pub _stime: __kernel_clock_t, |
498 | } |
499 | #[repr (C)] |
500 | #[derive(Copy, Clone)] |
501 | pub struct __sifields__bindgen_ty_5 { |
502 | pub _addr: *mut crate::ctypes::c_void, |
503 | pub __bindgen_anon_1: __sifields__bindgen_ty_5__bindgen_ty_1, |
504 | } |
505 | #[repr (C)] |
506 | #[derive(Debug, Copy, Clone)] |
507 | pub struct __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 { |
508 | pub _dummy_bnd: [crate::ctypes::c_char; 8usize], |
509 | pub _lower: *mut crate::ctypes::c_void, |
510 | pub _upper: *mut crate::ctypes::c_void, |
511 | } |
512 | #[repr (C)] |
513 | #[derive(Debug, Copy, Clone)] |
514 | pub struct __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2 { |
515 | pub _dummy_pkey: [crate::ctypes::c_char; 8usize], |
516 | pub _pkey: __u32, |
517 | } |
518 | #[repr (C)] |
519 | #[derive(Debug, Copy, Clone)] |
520 | pub struct __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3 { |
521 | pub _data: crate::ctypes::c_ulong, |
522 | pub _type: __u32, |
523 | pub _flags: __u32, |
524 | } |
525 | #[repr (C)] |
526 | #[derive(Debug, Copy, Clone)] |
527 | pub struct __sifields__bindgen_ty_6 { |
528 | pub _band: crate::ctypes::c_long, |
529 | pub _fd: crate::ctypes::c_int, |
530 | } |
531 | #[repr (C)] |
532 | #[derive(Debug, Copy, Clone)] |
533 | pub struct __sifields__bindgen_ty_7 { |
534 | pub _call_addr: *mut crate::ctypes::c_void, |
535 | pub _syscall: crate::ctypes::c_int, |
536 | pub _arch: crate::ctypes::c_uint, |
537 | } |
538 | #[repr (C)] |
539 | #[derive(Copy, Clone)] |
540 | pub struct siginfo { |
541 | pub __bindgen_anon_1: siginfo__bindgen_ty_1, |
542 | } |
543 | #[repr (C)] |
544 | #[derive(Copy, Clone)] |
545 | pub struct siginfo__bindgen_ty_1__bindgen_ty_1 { |
546 | pub si_signo: crate::ctypes::c_int, |
547 | pub si_errno: crate::ctypes::c_int, |
548 | pub si_code: crate::ctypes::c_int, |
549 | pub _sifields: __sifields, |
550 | } |
551 | #[repr (C)] |
552 | #[derive(Copy, Clone)] |
553 | pub struct sigevent { |
554 | pub sigev_value: sigval_t, |
555 | pub sigev_signo: crate::ctypes::c_int, |
556 | pub sigev_notify: crate::ctypes::c_int, |
557 | pub _sigev_un: sigevent__bindgen_ty_1, |
558 | } |
559 | #[repr (C)] |
560 | #[derive(Debug, Copy, Clone)] |
561 | pub struct sigevent__bindgen_ty_1__bindgen_ty_1 { |
562 | pub _function: ::core::option::Option<unsafe extern "C" fn(arg1: sigval_t)>, |
563 | pub _attribute: *mut crate::ctypes::c_void, |
564 | } |
565 | #[repr (C)] |
566 | #[derive(Debug, Copy, Clone)] |
567 | pub struct statx_timestamp { |
568 | pub tv_sec: __s64, |
569 | pub tv_nsec: __u32, |
570 | pub __reserved: __s32, |
571 | } |
572 | #[repr (C)] |
573 | #[derive(Debug, Copy, Clone)] |
574 | pub struct statx { |
575 | pub stx_mask: __u32, |
576 | pub stx_blksize: __u32, |
577 | pub stx_attributes: __u64, |
578 | pub stx_nlink: __u32, |
579 | pub stx_uid: __u32, |
580 | pub stx_gid: __u32, |
581 | pub stx_mode: __u16, |
582 | pub __spare0: [__u16; 1usize], |
583 | pub stx_ino: __u64, |
584 | pub stx_size: __u64, |
585 | pub stx_blocks: __u64, |
586 | pub stx_attributes_mask: __u64, |
587 | pub stx_atime: statx_timestamp, |
588 | pub stx_btime: statx_timestamp, |
589 | pub stx_ctime: statx_timestamp, |
590 | pub stx_mtime: statx_timestamp, |
591 | pub stx_rdev_major: __u32, |
592 | pub stx_rdev_minor: __u32, |
593 | pub stx_dev_major: __u32, |
594 | pub stx_dev_minor: __u32, |
595 | pub stx_mnt_id: __u64, |
596 | pub stx_dio_mem_align: __u32, |
597 | pub stx_dio_offset_align: __u32, |
598 | pub __spare3: [__u64; 12usize], |
599 | } |
600 | #[repr (C)] |
601 | #[derive(Debug, Copy, Clone)] |
602 | pub struct termios { |
603 | pub c_iflag: tcflag_t, |
604 | pub c_oflag: tcflag_t, |
605 | pub c_cflag: tcflag_t, |
606 | pub c_lflag: tcflag_t, |
607 | pub c_line: cc_t, |
608 | pub c_cc: [cc_t; 19usize], |
609 | } |
610 | #[repr (C)] |
611 | #[derive(Debug, Copy, Clone)] |
612 | pub struct termios2 { |
613 | pub c_iflag: tcflag_t, |
614 | pub c_oflag: tcflag_t, |
615 | pub c_cflag: tcflag_t, |
616 | pub c_lflag: tcflag_t, |
617 | pub c_line: cc_t, |
618 | pub c_cc: [cc_t; 19usize], |
619 | pub c_ispeed: speed_t, |
620 | pub c_ospeed: speed_t, |
621 | } |
622 | #[repr (C)] |
623 | #[derive(Debug, Copy, Clone)] |
624 | pub struct ktermios { |
625 | pub c_iflag: tcflag_t, |
626 | pub c_oflag: tcflag_t, |
627 | pub c_cflag: tcflag_t, |
628 | pub c_lflag: tcflag_t, |
629 | pub c_line: cc_t, |
630 | pub c_cc: [cc_t; 19usize], |
631 | pub c_ispeed: speed_t, |
632 | pub c_ospeed: speed_t, |
633 | } |
634 | #[repr (C)] |
635 | #[derive(Debug, Copy, Clone)] |
636 | pub struct winsize { |
637 | pub ws_row: crate::ctypes::c_ushort, |
638 | pub ws_col: crate::ctypes::c_ushort, |
639 | pub ws_xpixel: crate::ctypes::c_ushort, |
640 | pub ws_ypixel: crate::ctypes::c_ushort, |
641 | } |
642 | #[repr (C)] |
643 | #[derive(Debug, Copy, Clone)] |
644 | pub struct termio { |
645 | pub c_iflag: crate::ctypes::c_ushort, |
646 | pub c_oflag: crate::ctypes::c_ushort, |
647 | pub c_cflag: crate::ctypes::c_ushort, |
648 | pub c_lflag: crate::ctypes::c_ushort, |
649 | pub c_line: crate::ctypes::c_uchar, |
650 | pub c_cc: [crate::ctypes::c_uchar; 8usize], |
651 | } |
652 | #[repr (C)] |
653 | #[derive(Debug, Copy, Clone)] |
654 | pub struct iovec { |
655 | pub iov_base: *mut crate::ctypes::c_void, |
656 | pub iov_len: __kernel_size_t, |
657 | } |
658 | #[repr (C, packed)] |
659 | #[derive(Copy, Clone)] |
660 | pub struct uffd_msg { |
661 | pub event: __u8, |
662 | pub reserved1: __u8, |
663 | pub reserved2: __u16, |
664 | pub reserved3: __u32, |
665 | pub arg: uffd_msg__bindgen_ty_1, |
666 | } |
667 | #[repr (C)] |
668 | #[derive(Copy, Clone)] |
669 | pub struct uffd_msg__bindgen_ty_1__bindgen_ty_1 { |
670 | pub flags: __u64, |
671 | pub address: __u64, |
672 | pub feat: uffd_msg__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1, |
673 | } |
674 | #[repr (C)] |
675 | #[derive(Debug, Copy, Clone)] |
676 | pub struct uffd_msg__bindgen_ty_1__bindgen_ty_2 { |
677 | pub ufd: __u32, |
678 | } |
679 | #[repr (C)] |
680 | #[derive(Debug, Copy, Clone)] |
681 | pub struct uffd_msg__bindgen_ty_1__bindgen_ty_3 { |
682 | pub from: __u64, |
683 | pub to: __u64, |
684 | pub len: __u64, |
685 | } |
686 | #[repr (C)] |
687 | #[derive(Debug, Copy, Clone)] |
688 | pub struct uffd_msg__bindgen_ty_1__bindgen_ty_4 { |
689 | pub start: __u64, |
690 | pub end: __u64, |
691 | } |
692 | #[repr (C)] |
693 | #[derive(Debug, Copy, Clone)] |
694 | pub struct uffd_msg__bindgen_ty_1__bindgen_ty_5 { |
695 | pub reserved1: __u64, |
696 | pub reserved2: __u64, |
697 | pub reserved3: __u64, |
698 | } |
699 | #[repr (C)] |
700 | #[derive(Debug, Copy, Clone)] |
701 | pub struct uffdio_api { |
702 | pub api: __u64, |
703 | pub features: __u64, |
704 | pub ioctls: __u64, |
705 | } |
706 | #[repr (C)] |
707 | #[derive(Debug, Copy, Clone)] |
708 | pub struct uffdio_range { |
709 | pub start: __u64, |
710 | pub len: __u64, |
711 | } |
712 | #[repr (C)] |
713 | #[derive(Debug, Copy, Clone)] |
714 | pub struct uffdio_register { |
715 | pub range: uffdio_range, |
716 | pub mode: __u64, |
717 | pub ioctls: __u64, |
718 | } |
719 | #[repr (C)] |
720 | #[derive(Debug, Copy, Clone)] |
721 | pub struct uffdio_copy { |
722 | pub dst: __u64, |
723 | pub src: __u64, |
724 | pub len: __u64, |
725 | pub mode: __u64, |
726 | pub copy: __s64, |
727 | } |
728 | #[repr (C)] |
729 | #[derive(Debug, Copy, Clone)] |
730 | pub struct uffdio_zeropage { |
731 | pub range: uffdio_range, |
732 | pub mode: __u64, |
733 | pub zeropage: __s64, |
734 | } |
735 | #[repr (C)] |
736 | #[derive(Debug, Copy, Clone)] |
737 | pub struct uffdio_writeprotect { |
738 | pub range: uffdio_range, |
739 | pub mode: __u64, |
740 | } |
741 | #[repr (C)] |
742 | #[derive(Debug, Copy, Clone)] |
743 | pub struct uffdio_continue { |
744 | pub range: uffdio_range, |
745 | pub mode: __u64, |
746 | pub mapped: __s64, |
747 | } |
748 | #[repr (C)] |
749 | #[derive(Debug)] |
750 | pub struct linux_dirent64 { |
751 | pub d_ino: crate::ctypes::c_ulong, |
752 | pub d_off: crate::ctypes::c_long, |
753 | pub d_reclen: __u16, |
754 | pub d_type: __u8, |
755 | pub d_name: __IncompleteArrayField<crate::ctypes::c_char>, |
756 | } |
757 | #[repr (C)] |
758 | #[derive(Debug, Copy, Clone)] |
759 | pub struct stat { |
760 | pub st_dev: __kernel_ulong_t, |
761 | pub st_ino: __kernel_ulong_t, |
762 | pub st_nlink: __kernel_ulong_t, |
763 | pub st_mode: crate::ctypes::c_uint, |
764 | pub st_uid: crate::ctypes::c_uint, |
765 | pub st_gid: crate::ctypes::c_uint, |
766 | pub __pad0: crate::ctypes::c_uint, |
767 | pub st_rdev: __kernel_ulong_t, |
768 | pub st_size: __kernel_long_t, |
769 | pub st_blksize: __kernel_long_t, |
770 | pub st_blocks: __kernel_long_t, |
771 | pub st_atime: __kernel_ulong_t, |
772 | pub st_atime_nsec: __kernel_ulong_t, |
773 | pub st_mtime: __kernel_ulong_t, |
774 | pub st_mtime_nsec: __kernel_ulong_t, |
775 | pub st_ctime: __kernel_ulong_t, |
776 | pub st_ctime_nsec: __kernel_ulong_t, |
777 | pub __unused: [__kernel_long_t; 3usize], |
778 | } |
779 | #[repr (C)] |
780 | #[derive(Debug, Copy, Clone)] |
781 | pub struct __old_kernel_stat { |
782 | pub st_dev: crate::ctypes::c_ushort, |
783 | pub st_ino: crate::ctypes::c_ushort, |
784 | pub st_mode: crate::ctypes::c_ushort, |
785 | pub st_nlink: crate::ctypes::c_ushort, |
786 | pub st_uid: crate::ctypes::c_ushort, |
787 | pub st_gid: crate::ctypes::c_ushort, |
788 | pub st_rdev: crate::ctypes::c_ushort, |
789 | pub st_size: crate::ctypes::c_uint, |
790 | pub st_atime: crate::ctypes::c_uint, |
791 | pub st_mtime: crate::ctypes::c_uint, |
792 | pub st_ctime: crate::ctypes::c_uint, |
793 | } |
794 | #[repr (C)] |
795 | #[derive(Debug, Copy, Clone)] |
796 | pub struct statfs { |
797 | pub f_type: __kernel_long_t, |
798 | pub f_bsize: __kernel_long_t, |
799 | pub f_blocks: __kernel_long_t, |
800 | pub f_bfree: __kernel_long_t, |
801 | pub f_bavail: __kernel_long_t, |
802 | pub f_files: __kernel_long_t, |
803 | pub f_ffree: __kernel_long_t, |
804 | pub f_fsid: __kernel_fsid_t, |
805 | pub f_namelen: __kernel_long_t, |
806 | pub f_frsize: __kernel_long_t, |
807 | pub f_flags: __kernel_long_t, |
808 | pub f_spare: [__kernel_long_t; 4usize], |
809 | } |
810 | #[repr (C)] |
811 | #[derive(Debug, Copy, Clone)] |
812 | pub struct statfs64 { |
813 | pub f_type: __kernel_long_t, |
814 | pub f_bsize: __kernel_long_t, |
815 | pub f_blocks: __u64, |
816 | pub f_bfree: __u64, |
817 | pub f_bavail: __u64, |
818 | pub f_files: __u64, |
819 | pub f_ffree: __u64, |
820 | pub f_fsid: __kernel_fsid_t, |
821 | pub f_namelen: __kernel_long_t, |
822 | pub f_frsize: __kernel_long_t, |
823 | pub f_flags: __kernel_long_t, |
824 | pub f_spare: [__kernel_long_t; 4usize], |
825 | } |
826 | #[repr (C, packed(4))] |
827 | #[derive(Debug, Copy, Clone)] |
828 | pub struct compat_statfs64 { |
829 | pub f_type: __u32, |
830 | pub f_bsize: __u32, |
831 | pub f_blocks: __u64, |
832 | pub f_bfree: __u64, |
833 | pub f_bavail: __u64, |
834 | pub f_files: __u64, |
835 | pub f_ffree: __u64, |
836 | pub f_fsid: __kernel_fsid_t, |
837 | pub f_namelen: __u32, |
838 | pub f_frsize: __u32, |
839 | pub f_flags: __u32, |
840 | pub f_spare: [__u32; 4usize], |
841 | } |
842 | #[repr (C)] |
843 | #[derive(Debug, Copy, Clone)] |
844 | pub struct user_desc { |
845 | pub entry_number: crate::ctypes::c_uint, |
846 | pub base_addr: crate::ctypes::c_uint, |
847 | pub limit: crate::ctypes::c_uint, |
848 | pub _bitfield_align_1: [u8; 0], |
849 | pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>, |
850 | pub __bindgen_padding_0: [u8; 3usize], |
851 | } |
852 | #[repr (C)] |
853 | #[derive(Debug, Copy, Clone)] |
854 | pub struct kernel_sigset_t { |
855 | pub sig: [crate::ctypes::c_ulong; 1usize], |
856 | } |
857 | #[repr (C)] |
858 | #[derive(Debug, Copy, Clone)] |
859 | pub struct kernel_sigaction { |
860 | pub sa_handler_kernel: __kernel_sighandler_t, |
861 | pub sa_flags: crate::ctypes::c_ulong, |
862 | pub sa_restorer: __sigrestore_t, |
863 | pub sa_mask: kernel_sigset_t, |
864 | } |
865 | pub const LINUX_VERSION_CODE: u32 = 393984; |
866 | pub const LINUX_VERSION_MAJOR: u32 = 6; |
867 | pub const LINUX_VERSION_PATCHLEVEL: u32 = 3; |
868 | pub const LINUX_VERSION_SUBLEVEL: u32 = 0; |
869 | pub const AT_SYSINFO_EHDR: u32 = 33; |
870 | pub const AT_VECTOR_SIZE_ARCH: u32 = 3; |
871 | pub const AT_NULL: u32 = 0; |
872 | pub const AT_IGNORE: u32 = 1; |
873 | pub const AT_EXECFD: u32 = 2; |
874 | pub const AT_PHDR: u32 = 3; |
875 | pub const AT_PHENT: u32 = 4; |
876 | pub const AT_PHNUM: u32 = 5; |
877 | pub const AT_PAGESZ: u32 = 6; |
878 | pub const AT_BASE: u32 = 7; |
879 | pub const AT_FLAGS: u32 = 8; |
880 | pub const AT_ENTRY: u32 = 9; |
881 | pub const AT_NOTELF: u32 = 10; |
882 | pub const AT_UID: u32 = 11; |
883 | pub const AT_EUID: u32 = 12; |
884 | pub const AT_GID: u32 = 13; |
885 | pub const AT_EGID: u32 = 14; |
886 | pub const AT_PLATFORM: u32 = 15; |
887 | pub const AT_HWCAP: u32 = 16; |
888 | pub const AT_CLKTCK: u32 = 17; |
889 | pub const AT_SECURE: u32 = 23; |
890 | pub const AT_BASE_PLATFORM: u32 = 24; |
891 | pub const AT_RANDOM: u32 = 25; |
892 | pub const AT_HWCAP2: u32 = 26; |
893 | pub const AT_RSEQ_FEATURE_SIZE: u32 = 27; |
894 | pub const AT_RSEQ_ALIGN: u32 = 28; |
895 | pub const AT_EXECFN: u32 = 31; |
896 | pub const AT_MINSIGSTKSZ: u32 = 51; |
897 | pub const __FD_SETSIZE: u32 = 1024; |
898 | pub const _LINUX_CAPABILITY_VERSION_1: u32 = 429392688; |
899 | pub const _LINUX_CAPABILITY_U32S_1: u32 = 1; |
900 | pub const _LINUX_CAPABILITY_VERSION_2: u32 = 537333798; |
901 | pub const _LINUX_CAPABILITY_U32S_2: u32 = 2; |
902 | pub const _LINUX_CAPABILITY_VERSION_3: u32 = 537396514; |
903 | pub const _LINUX_CAPABILITY_U32S_3: u32 = 2; |
904 | pub const VFS_CAP_REVISION_MASK: u32 = 4278190080; |
905 | pub const VFS_CAP_REVISION_SHIFT: u32 = 24; |
906 | pub const VFS_CAP_FLAGS_MASK: i64 = -4278190081; |
907 | pub const VFS_CAP_FLAGS_EFFECTIVE: u32 = 1; |
908 | pub const VFS_CAP_REVISION_1: u32 = 16777216; |
909 | pub const VFS_CAP_U32_1: u32 = 1; |
910 | pub const VFS_CAP_REVISION_2: u32 = 33554432; |
911 | pub const VFS_CAP_U32_2: u32 = 2; |
912 | pub const VFS_CAP_REVISION_3: u32 = 50331648; |
913 | pub const VFS_CAP_U32_3: u32 = 2; |
914 | pub const VFS_CAP_U32: u32 = 2; |
915 | pub const VFS_CAP_REVISION: u32 = 50331648; |
916 | pub const _LINUX_CAPABILITY_VERSION: u32 = 429392688; |
917 | pub const _LINUX_CAPABILITY_U32S: u32 = 1; |
918 | pub const CAP_CHOWN: u32 = 0; |
919 | pub const CAP_DAC_OVERRIDE: u32 = 1; |
920 | pub const CAP_DAC_READ_SEARCH: u32 = 2; |
921 | pub const CAP_FOWNER: u32 = 3; |
922 | pub const CAP_FSETID: u32 = 4; |
923 | pub const CAP_KILL: u32 = 5; |
924 | pub const CAP_SETGID: u32 = 6; |
925 | pub const CAP_SETUID: u32 = 7; |
926 | pub const CAP_SETPCAP: u32 = 8; |
927 | pub const CAP_LINUX_IMMUTABLE: u32 = 9; |
928 | pub const CAP_NET_BIND_SERVICE: u32 = 10; |
929 | pub const CAP_NET_BROADCAST: u32 = 11; |
930 | pub const CAP_NET_ADMIN: u32 = 12; |
931 | pub const CAP_NET_RAW: u32 = 13; |
932 | pub const CAP_IPC_LOCK: u32 = 14; |
933 | pub const CAP_IPC_OWNER: u32 = 15; |
934 | pub const CAP_SYS_MODULE: u32 = 16; |
935 | pub const CAP_SYS_RAWIO: u32 = 17; |
936 | pub const CAP_SYS_CHROOT: u32 = 18; |
937 | pub const CAP_SYS_PTRACE: u32 = 19; |
938 | pub const CAP_SYS_PACCT: u32 = 20; |
939 | pub const CAP_SYS_ADMIN: u32 = 21; |
940 | pub const CAP_SYS_BOOT: u32 = 22; |
941 | pub const CAP_SYS_NICE: u32 = 23; |
942 | pub const CAP_SYS_RESOURCE: u32 = 24; |
943 | pub const CAP_SYS_TIME: u32 = 25; |
944 | pub const CAP_SYS_TTY_CONFIG: u32 = 26; |
945 | pub const CAP_MKNOD: u32 = 27; |
946 | pub const CAP_LEASE: u32 = 28; |
947 | pub const CAP_AUDIT_WRITE: u32 = 29; |
948 | pub const CAP_AUDIT_CONTROL: u32 = 30; |
949 | pub const CAP_SETFCAP: u32 = 31; |
950 | pub const CAP_MAC_OVERRIDE: u32 = 32; |
951 | pub const CAP_MAC_ADMIN: u32 = 33; |
952 | pub const CAP_SYSLOG: u32 = 34; |
953 | pub const CAP_WAKE_ALARM: u32 = 35; |
954 | pub const CAP_BLOCK_SUSPEND: u32 = 36; |
955 | pub const CAP_AUDIT_READ: u32 = 37; |
956 | pub const CAP_PERFMON: u32 = 38; |
957 | pub const CAP_BPF: u32 = 39; |
958 | pub const CAP_CHECKPOINT_RESTORE: u32 = 40; |
959 | pub const CAP_LAST_CAP: u32 = 40; |
960 | pub const O_ACCMODE: u32 = 3; |
961 | pub const O_RDONLY: u32 = 0; |
962 | pub const O_WRONLY: u32 = 1; |
963 | pub const O_RDWR: u32 = 2; |
964 | pub const O_CREAT: u32 = 64; |
965 | pub const O_EXCL: u32 = 128; |
966 | pub const O_NOCTTY: u32 = 256; |
967 | pub const O_TRUNC: u32 = 512; |
968 | pub const O_APPEND: u32 = 1024; |
969 | pub const O_NONBLOCK: u32 = 2048; |
970 | pub const O_DSYNC: u32 = 4096; |
971 | pub const FASYNC: u32 = 8192; |
972 | pub const O_DIRECT: u32 = 16384; |
973 | pub const O_LARGEFILE: u32 = 32768; |
974 | pub const O_DIRECTORY: u32 = 65536; |
975 | pub const O_NOFOLLOW: u32 = 131072; |
976 | pub const O_NOATIME: u32 = 262144; |
977 | pub const O_CLOEXEC: u32 = 524288; |
978 | pub const __O_SYNC: u32 = 1048576; |
979 | pub const O_SYNC: u32 = 1052672; |
980 | pub const O_PATH: u32 = 2097152; |
981 | pub const __O_TMPFILE: u32 = 4194304; |
982 | pub const O_TMPFILE: u32 = 4259840; |
983 | pub const O_TMPFILE_MASK: u32 = 4259904; |
984 | pub const O_NDELAY: u32 = 2048; |
985 | pub const F_DUPFD: u32 = 0; |
986 | pub const F_GETFD: u32 = 1; |
987 | pub const F_SETFD: u32 = 2; |
988 | pub const F_GETFL: u32 = 3; |
989 | pub const F_SETFL: u32 = 4; |
990 | pub const F_GETLK: u32 = 5; |
991 | pub const F_SETLK: u32 = 6; |
992 | pub const F_SETLKW: u32 = 7; |
993 | pub const F_SETOWN: u32 = 8; |
994 | pub const F_GETOWN: u32 = 9; |
995 | pub const F_SETSIG: u32 = 10; |
996 | pub const F_GETSIG: u32 = 11; |
997 | pub const F_SETOWN_EX: u32 = 15; |
998 | pub const F_GETOWN_EX: u32 = 16; |
999 | pub const F_GETOWNER_UIDS: u32 = 17; |
1000 | pub const F_OFD_GETLK: u32 = 36; |
1001 | pub const F_OFD_SETLK: u32 = 37; |
1002 | pub const F_OFD_SETLKW: u32 = 38; |
1003 | pub const F_OWNER_TID: u32 = 0; |
1004 | pub const F_OWNER_PID: u32 = 1; |
1005 | pub const F_OWNER_PGRP: u32 = 2; |
1006 | pub const FD_CLOEXEC: u32 = 1; |
1007 | pub const F_RDLCK: u32 = 0; |
1008 | pub const F_WRLCK: u32 = 1; |
1009 | pub const F_UNLCK: u32 = 2; |
1010 | pub const F_EXLCK: u32 = 4; |
1011 | pub const F_SHLCK: u32 = 8; |
1012 | pub const LOCK_SH: u32 = 1; |
1013 | pub const LOCK_EX: u32 = 2; |
1014 | pub const LOCK_NB: u32 = 4; |
1015 | pub const LOCK_UN: u32 = 8; |
1016 | pub const LOCK_MAND: u32 = 32; |
1017 | pub const LOCK_READ: u32 = 64; |
1018 | pub const LOCK_WRITE: u32 = 128; |
1019 | pub const LOCK_RW: u32 = 192; |
1020 | pub const F_LINUX_SPECIFIC_BASE: u32 = 1024; |
1021 | pub const RESOLVE_NO_XDEV: u32 = 1; |
1022 | pub const RESOLVE_NO_MAGICLINKS: u32 = 2; |
1023 | pub const RESOLVE_NO_SYMLINKS: u32 = 4; |
1024 | pub const RESOLVE_BENEATH: u32 = 8; |
1025 | pub const RESOLVE_IN_ROOT: u32 = 16; |
1026 | pub const RESOLVE_CACHED: u32 = 32; |
1027 | pub const F_SETLEASE: u32 = 1024; |
1028 | pub const F_GETLEASE: u32 = 1025; |
1029 | pub const F_CANCELLK: u32 = 1029; |
1030 | pub const F_DUPFD_CLOEXEC: u32 = 1030; |
1031 | pub const F_NOTIFY: u32 = 1026; |
1032 | pub const F_SETPIPE_SZ: u32 = 1031; |
1033 | pub const F_GETPIPE_SZ: u32 = 1032; |
1034 | pub const F_ADD_SEALS: u32 = 1033; |
1035 | pub const F_GET_SEALS: u32 = 1034; |
1036 | pub const F_SEAL_SEAL: u32 = 1; |
1037 | pub const F_SEAL_SHRINK: u32 = 2; |
1038 | pub const F_SEAL_GROW: u32 = 4; |
1039 | pub const F_SEAL_WRITE: u32 = 8; |
1040 | pub const F_SEAL_FUTURE_WRITE: u32 = 16; |
1041 | pub const F_SEAL_EXEC: u32 = 32; |
1042 | pub const F_GET_RW_HINT: u32 = 1035; |
1043 | pub const F_SET_RW_HINT: u32 = 1036; |
1044 | pub const F_GET_FILE_RW_HINT: u32 = 1037; |
1045 | pub const F_SET_FILE_RW_HINT: u32 = 1038; |
1046 | pub const RWH_WRITE_LIFE_NOT_SET: u32 = 0; |
1047 | pub const RWH_WRITE_LIFE_NONE: u32 = 1; |
1048 | pub const RWH_WRITE_LIFE_SHORT: u32 = 2; |
1049 | pub const RWH_WRITE_LIFE_MEDIUM: u32 = 3; |
1050 | pub const RWH_WRITE_LIFE_LONG: u32 = 4; |
1051 | pub const RWH_WRITE_LIFE_EXTREME: u32 = 5; |
1052 | pub const RWF_WRITE_LIFE_NOT_SET: u32 = 0; |
1053 | pub const DN_ACCESS: u32 = 1; |
1054 | pub const DN_MODIFY: u32 = 2; |
1055 | pub const DN_CREATE: u32 = 4; |
1056 | pub const DN_DELETE: u32 = 8; |
1057 | pub const DN_RENAME: u32 = 16; |
1058 | pub const DN_ATTRIB: u32 = 32; |
1059 | pub const DN_MULTISHOT: u32 = 2147483648; |
1060 | pub const AT_FDCWD: i32 = -100; |
1061 | pub const AT_SYMLINK_NOFOLLOW: u32 = 256; |
1062 | pub const AT_EACCESS: u32 = 512; |
1063 | pub const AT_REMOVEDIR: u32 = 512; |
1064 | pub const AT_SYMLINK_FOLLOW: u32 = 1024; |
1065 | pub const AT_NO_AUTOMOUNT: u32 = 2048; |
1066 | pub const AT_EMPTY_PATH: u32 = 4096; |
1067 | pub const AT_STATX_SYNC_TYPE: u32 = 24576; |
1068 | pub const AT_STATX_SYNC_AS_STAT: u32 = 0; |
1069 | pub const AT_STATX_FORCE_SYNC: u32 = 8192; |
1070 | pub const AT_STATX_DONT_SYNC: u32 = 16384; |
1071 | pub const AT_RECURSIVE: u32 = 32768; |
1072 | pub const EPOLL_CLOEXEC: u32 = 524288; |
1073 | pub const EPOLL_CTL_ADD: u32 = 1; |
1074 | pub const EPOLL_CTL_DEL: u32 = 2; |
1075 | pub const EPOLL_CTL_MOD: u32 = 3; |
1076 | pub const POSIX_FADV_NORMAL: u32 = 0; |
1077 | pub const POSIX_FADV_RANDOM: u32 = 1; |
1078 | pub const POSIX_FADV_SEQUENTIAL: u32 = 2; |
1079 | pub const POSIX_FADV_WILLNEED: u32 = 3; |
1080 | pub const POSIX_FADV_DONTNEED: u32 = 4; |
1081 | pub const POSIX_FADV_NOREUSE: u32 = 5; |
1082 | pub const FALLOC_FL_KEEP_SIZE: u32 = 1; |
1083 | pub const FALLOC_FL_PUNCH_HOLE: u32 = 2; |
1084 | pub const FALLOC_FL_NO_HIDE_STALE: u32 = 4; |
1085 | pub const FALLOC_FL_COLLAPSE_RANGE: u32 = 8; |
1086 | pub const FALLOC_FL_ZERO_RANGE: u32 = 16; |
1087 | pub const FALLOC_FL_INSERT_RANGE: u32 = 32; |
1088 | pub const FALLOC_FL_UNSHARE_RANGE: u32 = 64; |
1089 | pub const NR_OPEN: u32 = 1024; |
1090 | pub const NGROUPS_MAX: u32 = 65536; |
1091 | pub const ARG_MAX: u32 = 131072; |
1092 | pub const LINK_MAX: u32 = 127; |
1093 | pub const MAX_CANON: u32 = 255; |
1094 | pub const MAX_INPUT: u32 = 255; |
1095 | pub const NAME_MAX: u32 = 255; |
1096 | pub const PATH_MAX: u32 = 4096; |
1097 | pub const PIPE_BUF: u32 = 4096; |
1098 | pub const XATTR_NAME_MAX: u32 = 255; |
1099 | pub const XATTR_SIZE_MAX: u32 = 65536; |
1100 | pub const XATTR_LIST_MAX: u32 = 65536; |
1101 | pub const RTSIG_MAX: u32 = 32; |
1102 | pub const _IOC_NRBITS: u32 = 8; |
1103 | pub const _IOC_TYPEBITS: u32 = 8; |
1104 | pub const _IOC_SIZEBITS: u32 = 14; |
1105 | pub const _IOC_DIRBITS: u32 = 2; |
1106 | pub const _IOC_NRMASK: u32 = 255; |
1107 | pub const _IOC_TYPEMASK: u32 = 255; |
1108 | pub const _IOC_SIZEMASK: u32 = 16383; |
1109 | pub const _IOC_DIRMASK: u32 = 3; |
1110 | pub const _IOC_NRSHIFT: u32 = 0; |
1111 | pub const _IOC_TYPESHIFT: u32 = 8; |
1112 | pub const _IOC_SIZESHIFT: u32 = 16; |
1113 | pub const _IOC_DIRSHIFT: u32 = 30; |
1114 | pub const _IOC_NONE: u32 = 0; |
1115 | pub const _IOC_WRITE: u32 = 1; |
1116 | pub const _IOC_READ: u32 = 2; |
1117 | pub const IOC_IN: u32 = 1073741824; |
1118 | pub const IOC_OUT: u32 = 2147483648; |
1119 | pub const IOC_INOUT: u32 = 3221225472; |
1120 | pub const IOCSIZE_MASK: u32 = 1073676288; |
1121 | pub const IOCSIZE_SHIFT: u32 = 16; |
1122 | pub const FSCRYPT_POLICY_FLAGS_PAD_4: u32 = 0; |
1123 | pub const FSCRYPT_POLICY_FLAGS_PAD_8: u32 = 1; |
1124 | pub const FSCRYPT_POLICY_FLAGS_PAD_16: u32 = 2; |
1125 | pub const FSCRYPT_POLICY_FLAGS_PAD_32: u32 = 3; |
1126 | pub const FSCRYPT_POLICY_FLAGS_PAD_MASK: u32 = 3; |
1127 | pub const FSCRYPT_POLICY_FLAG_DIRECT_KEY: u32 = 4; |
1128 | pub const FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64: u32 = 8; |
1129 | pub const FSCRYPT_POLICY_FLAG_IV_INO_LBLK_32: u32 = 16; |
1130 | pub const FSCRYPT_MODE_AES_256_XTS: u32 = 1; |
1131 | pub const FSCRYPT_MODE_AES_256_CTS: u32 = 4; |
1132 | pub const FSCRYPT_MODE_AES_128_CBC: u32 = 5; |
1133 | pub const FSCRYPT_MODE_AES_128_CTS: u32 = 6; |
1134 | pub const FSCRYPT_MODE_SM4_XTS: u32 = 7; |
1135 | pub const FSCRYPT_MODE_SM4_CTS: u32 = 8; |
1136 | pub const FSCRYPT_MODE_ADIANTUM: u32 = 9; |
1137 | pub const FSCRYPT_MODE_AES_256_HCTR2: u32 = 10; |
1138 | pub const FSCRYPT_POLICY_V1: u32 = 0; |
1139 | pub const FSCRYPT_KEY_DESCRIPTOR_SIZE: u32 = 8; |
1140 | pub const FSCRYPT_KEY_DESC_PREFIX: &[u8; 9] = b"fscrypt: \0" ; |
1141 | pub const FSCRYPT_KEY_DESC_PREFIX_SIZE: u32 = 8; |
1142 | pub const FSCRYPT_MAX_KEY_SIZE: u32 = 64; |
1143 | pub const FSCRYPT_POLICY_V2: u32 = 2; |
1144 | pub const FSCRYPT_KEY_IDENTIFIER_SIZE: u32 = 16; |
1145 | pub const FSCRYPT_KEY_SPEC_TYPE_DESCRIPTOR: u32 = 1; |
1146 | pub const FSCRYPT_KEY_SPEC_TYPE_IDENTIFIER: u32 = 2; |
1147 | pub const FSCRYPT_KEY_REMOVAL_STATUS_FLAG_FILES_BUSY: u32 = 1; |
1148 | pub const FSCRYPT_KEY_REMOVAL_STATUS_FLAG_OTHER_USERS: u32 = 2; |
1149 | pub const FSCRYPT_KEY_STATUS_ABSENT: u32 = 1; |
1150 | pub const FSCRYPT_KEY_STATUS_PRESENT: u32 = 2; |
1151 | pub const FSCRYPT_KEY_STATUS_INCOMPLETELY_REMOVED: u32 = 3; |
1152 | pub const FSCRYPT_KEY_STATUS_FLAG_ADDED_BY_SELF: u32 = 1; |
1153 | pub const FS_KEY_DESCRIPTOR_SIZE: u32 = 8; |
1154 | pub const FS_POLICY_FLAGS_PAD_4: u32 = 0; |
1155 | pub const FS_POLICY_FLAGS_PAD_8: u32 = 1; |
1156 | pub const FS_POLICY_FLAGS_PAD_16: u32 = 2; |
1157 | pub const FS_POLICY_FLAGS_PAD_32: u32 = 3; |
1158 | pub const FS_POLICY_FLAGS_PAD_MASK: u32 = 3; |
1159 | pub const FS_POLICY_FLAG_DIRECT_KEY: u32 = 4; |
1160 | pub const FS_POLICY_FLAGS_VALID: u32 = 7; |
1161 | pub const FS_ENCRYPTION_MODE_INVALID: u32 = 0; |
1162 | pub const FS_ENCRYPTION_MODE_AES_256_XTS: u32 = 1; |
1163 | pub const FS_ENCRYPTION_MODE_AES_256_GCM: u32 = 2; |
1164 | pub const FS_ENCRYPTION_MODE_AES_256_CBC: u32 = 3; |
1165 | pub const FS_ENCRYPTION_MODE_AES_256_CTS: u32 = 4; |
1166 | pub const FS_ENCRYPTION_MODE_AES_128_CBC: u32 = 5; |
1167 | pub const FS_ENCRYPTION_MODE_AES_128_CTS: u32 = 6; |
1168 | pub const FS_ENCRYPTION_MODE_ADIANTUM: u32 = 9; |
1169 | pub const FS_KEY_DESC_PREFIX: &[u8; 9] = b"fscrypt: \0" ; |
1170 | pub const FS_KEY_DESC_PREFIX_SIZE: u32 = 8; |
1171 | pub const FS_MAX_KEY_SIZE: u32 = 64; |
1172 | pub const MS_RDONLY: u32 = 1; |
1173 | pub const MS_NOSUID: u32 = 2; |
1174 | pub const MS_NODEV: u32 = 4; |
1175 | pub const MS_NOEXEC: u32 = 8; |
1176 | pub const MS_SYNCHRONOUS: u32 = 16; |
1177 | pub const MS_REMOUNT: u32 = 32; |
1178 | pub const MS_MANDLOCK: u32 = 64; |
1179 | pub const MS_DIRSYNC: u32 = 128; |
1180 | pub const MS_NOSYMFOLLOW: u32 = 256; |
1181 | pub const MS_NOATIME: u32 = 1024; |
1182 | pub const MS_NODIRATIME: u32 = 2048; |
1183 | pub const MS_BIND: u32 = 4096; |
1184 | pub const MS_MOVE: u32 = 8192; |
1185 | pub const MS_REC: u32 = 16384; |
1186 | pub const MS_VERBOSE: u32 = 32768; |
1187 | pub const MS_SILENT: u32 = 32768; |
1188 | pub const MS_POSIXACL: u32 = 65536; |
1189 | pub const MS_UNBINDABLE: u32 = 131072; |
1190 | pub const MS_PRIVATE: u32 = 262144; |
1191 | pub const MS_SLAVE: u32 = 524288; |
1192 | pub const MS_SHARED: u32 = 1048576; |
1193 | pub const MS_RELATIME: u32 = 2097152; |
1194 | pub const MS_KERNMOUNT: u32 = 4194304; |
1195 | pub const MS_I_VERSION: u32 = 8388608; |
1196 | pub const MS_STRICTATIME: u32 = 16777216; |
1197 | pub const MS_LAZYTIME: u32 = 33554432; |
1198 | pub const MS_SUBMOUNT: u32 = 67108864; |
1199 | pub const MS_NOREMOTELOCK: u32 = 134217728; |
1200 | pub const MS_NOSEC: u32 = 268435456; |
1201 | pub const MS_BORN: u32 = 536870912; |
1202 | pub const MS_ACTIVE: u32 = 1073741824; |
1203 | pub const MS_NOUSER: u32 = 2147483648; |
1204 | pub const MS_RMT_MASK: u32 = 41943121; |
1205 | pub const MS_MGC_VAL: u32 = 3236757504; |
1206 | pub const MS_MGC_MSK: u32 = 4294901760; |
1207 | pub const OPEN_TREE_CLONE: u32 = 1; |
1208 | pub const OPEN_TREE_CLOEXEC: u32 = 524288; |
1209 | pub const MOVE_MOUNT_F_SYMLINKS: u32 = 1; |
1210 | pub const MOVE_MOUNT_F_AUTOMOUNTS: u32 = 2; |
1211 | pub const MOVE_MOUNT_F_EMPTY_PATH: u32 = 4; |
1212 | pub const MOVE_MOUNT_T_SYMLINKS: u32 = 16; |
1213 | pub const MOVE_MOUNT_T_AUTOMOUNTS: u32 = 32; |
1214 | pub const MOVE_MOUNT_T_EMPTY_PATH: u32 = 64; |
1215 | pub const MOVE_MOUNT_SET_GROUP: u32 = 256; |
1216 | pub const MOVE_MOUNT__MASK: u32 = 375; |
1217 | pub const FSOPEN_CLOEXEC: u32 = 1; |
1218 | pub const FSPICK_CLOEXEC: u32 = 1; |
1219 | pub const FSPICK_SYMLINK_NOFOLLOW: u32 = 2; |
1220 | pub const FSPICK_NO_AUTOMOUNT: u32 = 4; |
1221 | pub const FSPICK_EMPTY_PATH: u32 = 8; |
1222 | pub const FSMOUNT_CLOEXEC: u32 = 1; |
1223 | pub const MOUNT_ATTR_RDONLY: u32 = 1; |
1224 | pub const MOUNT_ATTR_NOSUID: u32 = 2; |
1225 | pub const MOUNT_ATTR_NODEV: u32 = 4; |
1226 | pub const MOUNT_ATTR_NOEXEC: u32 = 8; |
1227 | pub const MOUNT_ATTR__ATIME: u32 = 112; |
1228 | pub const MOUNT_ATTR_RELATIME: u32 = 0; |
1229 | pub const MOUNT_ATTR_NOATIME: u32 = 16; |
1230 | pub const MOUNT_ATTR_STRICTATIME: u32 = 32; |
1231 | pub const MOUNT_ATTR_NODIRATIME: u32 = 128; |
1232 | pub const MOUNT_ATTR_IDMAP: u32 = 1048576; |
1233 | pub const MOUNT_ATTR_NOSYMFOLLOW: u32 = 2097152; |
1234 | pub const MOUNT_ATTR_SIZE_VER0: u32 = 32; |
1235 | pub const INR_OPEN_CUR: u32 = 1024; |
1236 | pub const INR_OPEN_MAX: u32 = 4096; |
1237 | pub const BLOCK_SIZE_BITS: u32 = 10; |
1238 | pub const BLOCK_SIZE: u32 = 1024; |
1239 | pub const SEEK_SET: u32 = 0; |
1240 | pub const SEEK_CUR: u32 = 1; |
1241 | pub const SEEK_END: u32 = 2; |
1242 | pub const SEEK_DATA: u32 = 3; |
1243 | pub const SEEK_HOLE: u32 = 4; |
1244 | pub const SEEK_MAX: u32 = 4; |
1245 | pub const RENAME_NOREPLACE: u32 = 1; |
1246 | pub const RENAME_EXCHANGE: u32 = 2; |
1247 | pub const RENAME_WHITEOUT: u32 = 4; |
1248 | pub const FILE_DEDUPE_RANGE_SAME: u32 = 0; |
1249 | pub const FILE_DEDUPE_RANGE_DIFFERS: u32 = 1; |
1250 | pub const NR_FILE: u32 = 8192; |
1251 | pub const FS_XFLAG_REALTIME: u32 = 1; |
1252 | pub const FS_XFLAG_PREALLOC: u32 = 2; |
1253 | pub const FS_XFLAG_IMMUTABLE: u32 = 8; |
1254 | pub const FS_XFLAG_APPEND: u32 = 16; |
1255 | pub const FS_XFLAG_SYNC: u32 = 32; |
1256 | pub const FS_XFLAG_NOATIME: u32 = 64; |
1257 | pub const FS_XFLAG_NODUMP: u32 = 128; |
1258 | pub const FS_XFLAG_RTINHERIT: u32 = 256; |
1259 | pub const FS_XFLAG_PROJINHERIT: u32 = 512; |
1260 | pub const FS_XFLAG_NOSYMLINKS: u32 = 1024; |
1261 | pub const FS_XFLAG_EXTSIZE: u32 = 2048; |
1262 | pub const FS_XFLAG_EXTSZINHERIT: u32 = 4096; |
1263 | pub const FS_XFLAG_NODEFRAG: u32 = 8192; |
1264 | pub const FS_XFLAG_FILESTREAM: u32 = 16384; |
1265 | pub const FS_XFLAG_DAX: u32 = 32768; |
1266 | pub const FS_XFLAG_COWEXTSIZE: u32 = 65536; |
1267 | pub const FS_XFLAG_HASATTR: u32 = 2147483648; |
1268 | pub const BMAP_IOCTL: u32 = 1; |
1269 | pub const FSLABEL_MAX: u32 = 256; |
1270 | pub const FS_SECRM_FL: u32 = 1; |
1271 | pub const FS_UNRM_FL: u32 = 2; |
1272 | pub const FS_COMPR_FL: u32 = 4; |
1273 | pub const FS_SYNC_FL: u32 = 8; |
1274 | pub const FS_IMMUTABLE_FL: u32 = 16; |
1275 | pub const FS_APPEND_FL: u32 = 32; |
1276 | pub const FS_NODUMP_FL: u32 = 64; |
1277 | pub const FS_NOATIME_FL: u32 = 128; |
1278 | pub const FS_DIRTY_FL: u32 = 256; |
1279 | pub const FS_COMPRBLK_FL: u32 = 512; |
1280 | pub const FS_NOCOMP_FL: u32 = 1024; |
1281 | pub const FS_ENCRYPT_FL: u32 = 2048; |
1282 | pub const FS_BTREE_FL: u32 = 4096; |
1283 | pub const FS_INDEX_FL: u32 = 4096; |
1284 | pub const FS_IMAGIC_FL: u32 = 8192; |
1285 | pub const FS_JOURNAL_DATA_FL: u32 = 16384; |
1286 | pub const FS_NOTAIL_FL: u32 = 32768; |
1287 | pub const FS_DIRSYNC_FL: u32 = 65536; |
1288 | pub const FS_TOPDIR_FL: u32 = 131072; |
1289 | pub const FS_HUGE_FILE_FL: u32 = 262144; |
1290 | pub const FS_EXTENT_FL: u32 = 524288; |
1291 | pub const FS_VERITY_FL: u32 = 1048576; |
1292 | pub const FS_EA_INODE_FL: u32 = 2097152; |
1293 | pub const FS_EOFBLOCKS_FL: u32 = 4194304; |
1294 | pub const FS_NOCOW_FL: u32 = 8388608; |
1295 | pub const FS_DAX_FL: u32 = 33554432; |
1296 | pub const FS_INLINE_DATA_FL: u32 = 268435456; |
1297 | pub const FS_PROJINHERIT_FL: u32 = 536870912; |
1298 | pub const FS_CASEFOLD_FL: u32 = 1073741824; |
1299 | pub const FS_RESERVED_FL: u32 = 2147483648; |
1300 | pub const FS_FL_USER_VISIBLE: u32 = 253951; |
1301 | pub const FS_FL_USER_MODIFIABLE: u32 = 229631; |
1302 | pub const SYNC_FILE_RANGE_WAIT_BEFORE: u32 = 1; |
1303 | pub const SYNC_FILE_RANGE_WRITE: u32 = 2; |
1304 | pub const SYNC_FILE_RANGE_WAIT_AFTER: u32 = 4; |
1305 | pub const SYNC_FILE_RANGE_WRITE_AND_WAIT: u32 = 7; |
1306 | pub const FUTEX_WAIT: u32 = 0; |
1307 | pub const FUTEX_WAKE: u32 = 1; |
1308 | pub const FUTEX_FD: u32 = 2; |
1309 | pub const FUTEX_REQUEUE: u32 = 3; |
1310 | pub const FUTEX_CMP_REQUEUE: u32 = 4; |
1311 | pub const FUTEX_WAKE_OP: u32 = 5; |
1312 | pub const FUTEX_LOCK_PI: u32 = 6; |
1313 | pub const FUTEX_UNLOCK_PI: u32 = 7; |
1314 | pub const FUTEX_TRYLOCK_PI: u32 = 8; |
1315 | pub const FUTEX_WAIT_BITSET: u32 = 9; |
1316 | pub const FUTEX_WAKE_BITSET: u32 = 10; |
1317 | pub const FUTEX_WAIT_REQUEUE_PI: u32 = 11; |
1318 | pub const FUTEX_CMP_REQUEUE_PI: u32 = 12; |
1319 | pub const FUTEX_LOCK_PI2: u32 = 13; |
1320 | pub const FUTEX_PRIVATE_FLAG: u32 = 128; |
1321 | pub const FUTEX_CLOCK_REALTIME: u32 = 256; |
1322 | pub const FUTEX_CMD_MASK: i32 = -385; |
1323 | pub const FUTEX_WAIT_PRIVATE: u32 = 128; |
1324 | pub const FUTEX_WAKE_PRIVATE: u32 = 129; |
1325 | pub const FUTEX_REQUEUE_PRIVATE: u32 = 131; |
1326 | pub const FUTEX_CMP_REQUEUE_PRIVATE: u32 = 132; |
1327 | pub const FUTEX_WAKE_OP_PRIVATE: u32 = 133; |
1328 | pub const FUTEX_LOCK_PI_PRIVATE: u32 = 134; |
1329 | pub const FUTEX_LOCK_PI2_PRIVATE: u32 = 141; |
1330 | pub const FUTEX_UNLOCK_PI_PRIVATE: u32 = 135; |
1331 | pub const FUTEX_TRYLOCK_PI_PRIVATE: u32 = 136; |
1332 | pub const FUTEX_WAIT_BITSET_PRIVATE: u32 = 137; |
1333 | pub const FUTEX_WAKE_BITSET_PRIVATE: u32 = 138; |
1334 | pub const FUTEX_WAIT_REQUEUE_PI_PRIVATE: u32 = 139; |
1335 | pub const FUTEX_CMP_REQUEUE_PI_PRIVATE: u32 = 140; |
1336 | pub const FUTEX_32: u32 = 2; |
1337 | pub const FUTEX_WAITV_MAX: u32 = 128; |
1338 | pub const FUTEX_WAITERS: u32 = 2147483648; |
1339 | pub const FUTEX_OWNER_DIED: u32 = 1073741824; |
1340 | pub const FUTEX_TID_MASK: u32 = 1073741823; |
1341 | pub const ROBUST_LIST_LIMIT: u32 = 2048; |
1342 | pub const FUTEX_BITSET_MATCH_ANY: u32 = 4294967295; |
1343 | pub const FUTEX_OP_SET: u32 = 0; |
1344 | pub const FUTEX_OP_ADD: u32 = 1; |
1345 | pub const FUTEX_OP_OR: u32 = 2; |
1346 | pub const FUTEX_OP_ANDN: u32 = 3; |
1347 | pub const FUTEX_OP_XOR: u32 = 4; |
1348 | pub const FUTEX_OP_OPARG_SHIFT: u32 = 8; |
1349 | pub const FUTEX_OP_CMP_EQ: u32 = 0; |
1350 | pub const FUTEX_OP_CMP_NE: u32 = 1; |
1351 | pub const FUTEX_OP_CMP_LT: u32 = 2; |
1352 | pub const FUTEX_OP_CMP_LE: u32 = 3; |
1353 | pub const FUTEX_OP_CMP_GT: u32 = 4; |
1354 | pub const FUTEX_OP_CMP_GE: u32 = 5; |
1355 | pub const IN_ACCESS: u32 = 1; |
1356 | pub const IN_MODIFY: u32 = 2; |
1357 | pub const IN_ATTRIB: u32 = 4; |
1358 | pub const IN_CLOSE_WRITE: u32 = 8; |
1359 | pub const IN_CLOSE_NOWRITE: u32 = 16; |
1360 | pub const IN_OPEN: u32 = 32; |
1361 | pub const IN_MOVED_FROM: u32 = 64; |
1362 | pub const IN_MOVED_TO: u32 = 128; |
1363 | pub const IN_CREATE: u32 = 256; |
1364 | pub const IN_DELETE: u32 = 512; |
1365 | pub const IN_DELETE_SELF: u32 = 1024; |
1366 | pub const IN_MOVE_SELF: u32 = 2048; |
1367 | pub const IN_UNMOUNT: u32 = 8192; |
1368 | pub const IN_Q_OVERFLOW: u32 = 16384; |
1369 | pub const IN_IGNORED: u32 = 32768; |
1370 | pub const IN_CLOSE: u32 = 24; |
1371 | pub const IN_MOVE: u32 = 192; |
1372 | pub const IN_ONLYDIR: u32 = 16777216; |
1373 | pub const IN_DONT_FOLLOW: u32 = 33554432; |
1374 | pub const IN_EXCL_UNLINK: u32 = 67108864; |
1375 | pub const IN_MASK_CREATE: u32 = 268435456; |
1376 | pub const IN_MASK_ADD: u32 = 536870912; |
1377 | pub const IN_ISDIR: u32 = 1073741824; |
1378 | pub const IN_ONESHOT: u32 = 2147483648; |
1379 | pub const IN_ALL_EVENTS: u32 = 4095; |
1380 | pub const IN_CLOEXEC: u32 = 524288; |
1381 | pub const IN_NONBLOCK: u32 = 2048; |
1382 | pub const ADFS_SUPER_MAGIC: u32 = 44533; |
1383 | pub const AFFS_SUPER_MAGIC: u32 = 44543; |
1384 | pub const AFS_SUPER_MAGIC: u32 = 1397113167; |
1385 | pub const AUTOFS_SUPER_MAGIC: u32 = 391; |
1386 | pub const CEPH_SUPER_MAGIC: u32 = 12805120; |
1387 | pub const CODA_SUPER_MAGIC: u32 = 1937076805; |
1388 | pub const CRAMFS_MAGIC: u32 = 684539205; |
1389 | pub const CRAMFS_MAGIC_WEND: u32 = 1161678120; |
1390 | pub const DEBUGFS_MAGIC: u32 = 1684170528; |
1391 | pub const SECURITYFS_MAGIC: u32 = 1935894131; |
1392 | pub const SELINUX_MAGIC: u32 = 4185718668; |
1393 | pub const SMACK_MAGIC: u32 = 1128357203; |
1394 | pub const RAMFS_MAGIC: u32 = 2240043254; |
1395 | pub const TMPFS_MAGIC: u32 = 16914836; |
1396 | pub const HUGETLBFS_MAGIC: u32 = 2508478710; |
1397 | pub const SQUASHFS_MAGIC: u32 = 1936814952; |
1398 | pub const ECRYPTFS_SUPER_MAGIC: u32 = 61791; |
1399 | pub const EFS_SUPER_MAGIC: u32 = 4278867; |
1400 | pub const EROFS_SUPER_MAGIC_V1: u32 = 3774210530; |
1401 | pub const EXT2_SUPER_MAGIC: u32 = 61267; |
1402 | pub const EXT3_SUPER_MAGIC: u32 = 61267; |
1403 | pub const XENFS_SUPER_MAGIC: u32 = 2881100148; |
1404 | pub const EXT4_SUPER_MAGIC: u32 = 61267; |
1405 | pub const BTRFS_SUPER_MAGIC: u32 = 2435016766; |
1406 | pub const NILFS_SUPER_MAGIC: u32 = 13364; |
1407 | pub const F2FS_SUPER_MAGIC: u32 = 4076150800; |
1408 | pub const HPFS_SUPER_MAGIC: u32 = 4187351113; |
1409 | pub const ISOFS_SUPER_MAGIC: u32 = 38496; |
1410 | pub const JFFS2_SUPER_MAGIC: u32 = 29366; |
1411 | pub const XFS_SUPER_MAGIC: u32 = 1481003842; |
1412 | pub const PSTOREFS_MAGIC: u32 = 1634035564; |
1413 | pub const EFIVARFS_MAGIC: u32 = 3730735588; |
1414 | pub const HOSTFS_SUPER_MAGIC: u32 = 12648430; |
1415 | pub const OVERLAYFS_SUPER_MAGIC: u32 = 2035054128; |
1416 | pub const FUSE_SUPER_MAGIC: u32 = 1702057286; |
1417 | pub const MINIX_SUPER_MAGIC: u32 = 4991; |
1418 | pub const MINIX_SUPER_MAGIC2: u32 = 5007; |
1419 | pub const MINIX2_SUPER_MAGIC: u32 = 9320; |
1420 | pub const MINIX2_SUPER_MAGIC2: u32 = 9336; |
1421 | pub const MINIX3_SUPER_MAGIC: u32 = 19802; |
1422 | pub const MSDOS_SUPER_MAGIC: u32 = 19780; |
1423 | pub const EXFAT_SUPER_MAGIC: u32 = 538032816; |
1424 | pub const NCP_SUPER_MAGIC: u32 = 22092; |
1425 | pub const NFS_SUPER_MAGIC: u32 = 26985; |
1426 | pub const OCFS2_SUPER_MAGIC: u32 = 1952539503; |
1427 | pub const OPENPROM_SUPER_MAGIC: u32 = 40865; |
1428 | pub const QNX4_SUPER_MAGIC: u32 = 47; |
1429 | pub const QNX6_SUPER_MAGIC: u32 = 1746473250; |
1430 | pub const AFS_FS_MAGIC: u32 = 1799439955; |
1431 | pub const REISERFS_SUPER_MAGIC: u32 = 1382369651; |
1432 | pub const REISERFS_SUPER_MAGIC_STRING: &[u8; 9] = b"ReIsErFs \0" ; |
1433 | pub const REISER2FS_SUPER_MAGIC_STRING: &[u8; 10] = b"ReIsEr2Fs \0" ; |
1434 | pub const REISER2FS_JR_SUPER_MAGIC_STRING: &[u8; 10] = b"ReIsEr3Fs \0" ; |
1435 | pub const SMB_SUPER_MAGIC: u32 = 20859; |
1436 | pub const CIFS_SUPER_MAGIC: u32 = 4283649346; |
1437 | pub const SMB2_SUPER_MAGIC: u32 = 4266872130; |
1438 | pub const CGROUP_SUPER_MAGIC: u32 = 2613483; |
1439 | pub const CGROUP2_SUPER_MAGIC: u32 = 1667723888; |
1440 | pub const RDTGROUP_SUPER_MAGIC: u32 = 124082209; |
1441 | pub const STACK_END_MAGIC: u32 = 1470918301; |
1442 | pub const TRACEFS_MAGIC: u32 = 1953653091; |
1443 | pub const V9FS_MAGIC: u32 = 16914839; |
1444 | pub const BDEVFS_MAGIC: u32 = 1650746742; |
1445 | pub const DAXFS_MAGIC: u32 = 1684300152; |
1446 | pub const BINFMTFS_MAGIC: u32 = 1112100429; |
1447 | pub const DEVPTS_SUPER_MAGIC: u32 = 7377; |
1448 | pub const BINDERFS_SUPER_MAGIC: u32 = 1819242352; |
1449 | pub const FUTEXFS_SUPER_MAGIC: u32 = 195894762; |
1450 | pub const PIPEFS_MAGIC: u32 = 1346981957; |
1451 | pub const PROC_SUPER_MAGIC: u32 = 40864; |
1452 | pub const SOCKFS_MAGIC: u32 = 1397703499; |
1453 | pub const SYSFS_MAGIC: u32 = 1650812274; |
1454 | pub const USBDEVICE_SUPER_MAGIC: u32 = 40866; |
1455 | pub const MTD_INODE_FS_MAGIC: u32 = 288389204; |
1456 | pub const ANON_INODE_FS_MAGIC: u32 = 151263540; |
1457 | pub const BTRFS_TEST_MAGIC: u32 = 1936880249; |
1458 | pub const NSFS_MAGIC: u32 = 1853056627; |
1459 | pub const BPF_FS_MAGIC: u32 = 3405662737; |
1460 | pub const AAFS_MAGIC: u32 = 1513908720; |
1461 | pub const ZONEFS_MAGIC: u32 = 1515144787; |
1462 | pub const UDF_SUPER_MAGIC: u32 = 352400198; |
1463 | pub const DMA_BUF_MAGIC: u32 = 1145913666; |
1464 | pub const DEVMEM_MAGIC: u32 = 1162691661; |
1465 | pub const SECRETMEM_MAGIC: u32 = 1397048141; |
1466 | pub const MAP_32BIT: u32 = 64; |
1467 | pub const PROT_READ: u32 = 1; |
1468 | pub const PROT_WRITE: u32 = 2; |
1469 | pub const PROT_EXEC: u32 = 4; |
1470 | pub const PROT_SEM: u32 = 8; |
1471 | pub const PROT_NONE: u32 = 0; |
1472 | pub const PROT_GROWSDOWN: u32 = 16777216; |
1473 | pub const PROT_GROWSUP: u32 = 33554432; |
1474 | pub const MAP_TYPE: u32 = 15; |
1475 | pub const MAP_FIXED: u32 = 16; |
1476 | pub const MAP_ANONYMOUS: u32 = 32; |
1477 | pub const MAP_POPULATE: u32 = 32768; |
1478 | pub const MAP_NONBLOCK: u32 = 65536; |
1479 | pub const MAP_STACK: u32 = 131072; |
1480 | pub const MAP_HUGETLB: u32 = 262144; |
1481 | pub const MAP_SYNC: u32 = 524288; |
1482 | pub const MAP_FIXED_NOREPLACE: u32 = 1048576; |
1483 | pub const MAP_UNINITIALIZED: u32 = 67108864; |
1484 | pub const MLOCK_ONFAULT: u32 = 1; |
1485 | pub const MS_ASYNC: u32 = 1; |
1486 | pub const MS_INVALIDATE: u32 = 2; |
1487 | pub const MS_SYNC: u32 = 4; |
1488 | pub const MADV_NORMAL: u32 = 0; |
1489 | pub const MADV_RANDOM: u32 = 1; |
1490 | pub const MADV_SEQUENTIAL: u32 = 2; |
1491 | pub const MADV_WILLNEED: u32 = 3; |
1492 | pub const MADV_DONTNEED: u32 = 4; |
1493 | pub const MADV_FREE: u32 = 8; |
1494 | pub const MADV_REMOVE: u32 = 9; |
1495 | pub const MADV_DONTFORK: u32 = 10; |
1496 | pub const MADV_DOFORK: u32 = 11; |
1497 | pub const MADV_HWPOISON: u32 = 100; |
1498 | pub const MADV_SOFT_OFFLINE: u32 = 101; |
1499 | pub const MADV_MERGEABLE: u32 = 12; |
1500 | pub const MADV_UNMERGEABLE: u32 = 13; |
1501 | pub const MADV_HUGEPAGE: u32 = 14; |
1502 | pub const MADV_NOHUGEPAGE: u32 = 15; |
1503 | pub const MADV_DONTDUMP: u32 = 16; |
1504 | pub const MADV_DODUMP: u32 = 17; |
1505 | pub const MADV_WIPEONFORK: u32 = 18; |
1506 | pub const MADV_KEEPONFORK: u32 = 19; |
1507 | pub const MADV_COLD: u32 = 20; |
1508 | pub const MADV_PAGEOUT: u32 = 21; |
1509 | pub const MADV_POPULATE_READ: u32 = 22; |
1510 | pub const MADV_POPULATE_WRITE: u32 = 23; |
1511 | pub const MADV_DONTNEED_LOCKED: u32 = 24; |
1512 | pub const MADV_COLLAPSE: u32 = 25; |
1513 | pub const MAP_FILE: u32 = 0; |
1514 | pub const PKEY_DISABLE_ACCESS: u32 = 1; |
1515 | pub const PKEY_DISABLE_WRITE: u32 = 2; |
1516 | pub const PKEY_ACCESS_MASK: u32 = 3; |
1517 | pub const MAP_GROWSDOWN: u32 = 256; |
1518 | pub const MAP_DENYWRITE: u32 = 2048; |
1519 | pub const MAP_EXECUTABLE: u32 = 4096; |
1520 | pub const MAP_LOCKED: u32 = 8192; |
1521 | pub const MAP_NORESERVE: u32 = 16384; |
1522 | pub const MCL_CURRENT: u32 = 1; |
1523 | pub const MCL_FUTURE: u32 = 2; |
1524 | pub const MCL_ONFAULT: u32 = 4; |
1525 | pub const HUGETLB_FLAG_ENCODE_SHIFT: u32 = 26; |
1526 | pub const HUGETLB_FLAG_ENCODE_MASK: u32 = 63; |
1527 | pub const HUGETLB_FLAG_ENCODE_16KB: u32 = 939524096; |
1528 | pub const HUGETLB_FLAG_ENCODE_64KB: u32 = 1073741824; |
1529 | pub const HUGETLB_FLAG_ENCODE_512KB: u32 = 1275068416; |
1530 | pub const HUGETLB_FLAG_ENCODE_1MB: u32 = 1342177280; |
1531 | pub const HUGETLB_FLAG_ENCODE_2MB: u32 = 1409286144; |
1532 | pub const HUGETLB_FLAG_ENCODE_8MB: u32 = 1543503872; |
1533 | pub const HUGETLB_FLAG_ENCODE_16MB: u32 = 1610612736; |
1534 | pub const HUGETLB_FLAG_ENCODE_32MB: u32 = 1677721600; |
1535 | pub const HUGETLB_FLAG_ENCODE_256MB: u32 = 1879048192; |
1536 | pub const HUGETLB_FLAG_ENCODE_512MB: u32 = 1946157056; |
1537 | pub const HUGETLB_FLAG_ENCODE_1GB: u32 = 2013265920; |
1538 | pub const HUGETLB_FLAG_ENCODE_2GB: u32 = 2080374784; |
1539 | pub const HUGETLB_FLAG_ENCODE_16GB: u32 = 2281701376; |
1540 | pub const MREMAP_MAYMOVE: u32 = 1; |
1541 | pub const MREMAP_FIXED: u32 = 2; |
1542 | pub const MREMAP_DONTUNMAP: u32 = 4; |
1543 | pub const OVERCOMMIT_GUESS: u32 = 0; |
1544 | pub const OVERCOMMIT_ALWAYS: u32 = 1; |
1545 | pub const OVERCOMMIT_NEVER: u32 = 2; |
1546 | pub const MAP_SHARED: u32 = 1; |
1547 | pub const MAP_PRIVATE: u32 = 2; |
1548 | pub const MAP_SHARED_VALIDATE: u32 = 3; |
1549 | pub const MAP_HUGE_SHIFT: u32 = 26; |
1550 | pub const MAP_HUGE_MASK: u32 = 63; |
1551 | pub const MAP_HUGE_16KB: u32 = 939524096; |
1552 | pub const MAP_HUGE_64KB: u32 = 1073741824; |
1553 | pub const MAP_HUGE_512KB: u32 = 1275068416; |
1554 | pub const MAP_HUGE_1MB: u32 = 1342177280; |
1555 | pub const MAP_HUGE_2MB: u32 = 1409286144; |
1556 | pub const MAP_HUGE_8MB: u32 = 1543503872; |
1557 | pub const MAP_HUGE_16MB: u32 = 1610612736; |
1558 | pub const MAP_HUGE_32MB: u32 = 1677721600; |
1559 | pub const MAP_HUGE_256MB: u32 = 1879048192; |
1560 | pub const MAP_HUGE_512MB: u32 = 1946157056; |
1561 | pub const MAP_HUGE_1GB: u32 = 2013265920; |
1562 | pub const MAP_HUGE_2GB: u32 = 2080374784; |
1563 | pub const MAP_HUGE_16GB: u32 = 2281701376; |
1564 | pub const POLLIN: u32 = 1; |
1565 | pub const POLLPRI: u32 = 2; |
1566 | pub const POLLOUT: u32 = 4; |
1567 | pub const POLLERR: u32 = 8; |
1568 | pub const POLLHUP: u32 = 16; |
1569 | pub const POLLNVAL: u32 = 32; |
1570 | pub const POLLRDNORM: u32 = 64; |
1571 | pub const POLLRDBAND: u32 = 128; |
1572 | pub const POLLWRNORM: u32 = 256; |
1573 | pub const POLLWRBAND: u32 = 512; |
1574 | pub const POLLMSG: u32 = 1024; |
1575 | pub const POLLREMOVE: u32 = 4096; |
1576 | pub const POLLRDHUP: u32 = 8192; |
1577 | pub const GRND_NONBLOCK: u32 = 1; |
1578 | pub const GRND_RANDOM: u32 = 2; |
1579 | pub const GRND_INSECURE: u32 = 4; |
1580 | pub const LINUX_REBOOT_MAGIC1: u32 = 4276215469; |
1581 | pub const LINUX_REBOOT_MAGIC2: u32 = 672274793; |
1582 | pub const LINUX_REBOOT_MAGIC2A: u32 = 85072278; |
1583 | pub const LINUX_REBOOT_MAGIC2B: u32 = 369367448; |
1584 | pub const LINUX_REBOOT_MAGIC2C: u32 = 537993216; |
1585 | pub const LINUX_REBOOT_CMD_RESTART: u32 = 19088743; |
1586 | pub const LINUX_REBOOT_CMD_HALT: u32 = 3454992675; |
1587 | pub const LINUX_REBOOT_CMD_CAD_ON: u32 = 2309737967; |
1588 | pub const LINUX_REBOOT_CMD_CAD_OFF: u32 = 0; |
1589 | pub const LINUX_REBOOT_CMD_POWER_OFF: u32 = 1126301404; |
1590 | pub const LINUX_REBOOT_CMD_RESTART2: u32 = 2712847316; |
1591 | pub const LINUX_REBOOT_CMD_SW_SUSPEND: u32 = 3489725666; |
1592 | pub const LINUX_REBOOT_CMD_KEXEC: u32 = 1163412803; |
1593 | pub const ITIMER_REAL: u32 = 0; |
1594 | pub const ITIMER_VIRTUAL: u32 = 1; |
1595 | pub const ITIMER_PROF: u32 = 2; |
1596 | pub const CLOCK_REALTIME: u32 = 0; |
1597 | pub const CLOCK_MONOTONIC: u32 = 1; |
1598 | pub const CLOCK_PROCESS_CPUTIME_ID: u32 = 2; |
1599 | pub const CLOCK_THREAD_CPUTIME_ID: u32 = 3; |
1600 | pub const CLOCK_MONOTONIC_RAW: u32 = 4; |
1601 | pub const CLOCK_REALTIME_COARSE: u32 = 5; |
1602 | pub const CLOCK_MONOTONIC_COARSE: u32 = 6; |
1603 | pub const CLOCK_BOOTTIME: u32 = 7; |
1604 | pub const CLOCK_REALTIME_ALARM: u32 = 8; |
1605 | pub const CLOCK_BOOTTIME_ALARM: u32 = 9; |
1606 | pub const CLOCK_SGI_CYCLE: u32 = 10; |
1607 | pub const CLOCK_TAI: u32 = 11; |
1608 | pub const MAX_CLOCKS: u32 = 16; |
1609 | pub const CLOCKS_MASK: u32 = 1; |
1610 | pub const CLOCKS_MONO: u32 = 1; |
1611 | pub const TIMER_ABSTIME: u32 = 1; |
1612 | pub const RUSAGE_SELF: u32 = 0; |
1613 | pub const RUSAGE_CHILDREN: i32 = -1; |
1614 | pub const RUSAGE_BOTH: i32 = -2; |
1615 | pub const RUSAGE_THREAD: u32 = 1; |
1616 | pub const RLIM64_INFINITY: i32 = -1; |
1617 | pub const PRIO_MIN: i32 = -20; |
1618 | pub const PRIO_MAX: u32 = 20; |
1619 | pub const PRIO_PROCESS: u32 = 0; |
1620 | pub const PRIO_PGRP: u32 = 1; |
1621 | pub const PRIO_USER: u32 = 2; |
1622 | pub const _STK_LIM: u32 = 8388608; |
1623 | pub const MLOCK_LIMIT: u32 = 8388608; |
1624 | pub const RLIMIT_CPU: u32 = 0; |
1625 | pub const RLIMIT_FSIZE: u32 = 1; |
1626 | pub const RLIMIT_DATA: u32 = 2; |
1627 | pub const RLIMIT_STACK: u32 = 3; |
1628 | pub const RLIMIT_CORE: u32 = 4; |
1629 | pub const RLIMIT_RSS: u32 = 5; |
1630 | pub const RLIMIT_NPROC: u32 = 6; |
1631 | pub const RLIMIT_NOFILE: u32 = 7; |
1632 | pub const RLIMIT_MEMLOCK: u32 = 8; |
1633 | pub const RLIMIT_AS: u32 = 9; |
1634 | pub const RLIMIT_LOCKS: u32 = 10; |
1635 | pub const RLIMIT_SIGPENDING: u32 = 11; |
1636 | pub const RLIMIT_MSGQUEUE: u32 = 12; |
1637 | pub const RLIMIT_NICE: u32 = 13; |
1638 | pub const RLIMIT_RTPRIO: u32 = 14; |
1639 | pub const RLIMIT_RTTIME: u32 = 15; |
1640 | pub const RLIM_NLIMITS: u32 = 16; |
1641 | pub const RLIM_INFINITY: i32 = -1; |
1642 | pub const CSIGNAL: u32 = 255; |
1643 | pub const CLONE_VM: u32 = 256; |
1644 | pub const CLONE_FS: u32 = 512; |
1645 | pub const CLONE_FILES: u32 = 1024; |
1646 | pub const CLONE_SIGHAND: u32 = 2048; |
1647 | pub const CLONE_PIDFD: u32 = 4096; |
1648 | pub const CLONE_PTRACE: u32 = 8192; |
1649 | pub const CLONE_VFORK: u32 = 16384; |
1650 | pub const CLONE_PARENT: u32 = 32768; |
1651 | pub const CLONE_THREAD: u32 = 65536; |
1652 | pub const CLONE_NEWNS: u32 = 131072; |
1653 | pub const CLONE_SYSVSEM: u32 = 262144; |
1654 | pub const CLONE_SETTLS: u32 = 524288; |
1655 | pub const CLONE_PARENT_SETTID: u32 = 1048576; |
1656 | pub const CLONE_CHILD_CLEARTID: u32 = 2097152; |
1657 | pub const CLONE_DETACHED: u32 = 4194304; |
1658 | pub const CLONE_UNTRACED: u32 = 8388608; |
1659 | pub const CLONE_CHILD_SETTID: u32 = 16777216; |
1660 | pub const CLONE_NEWCGROUP: u32 = 33554432; |
1661 | pub const CLONE_NEWUTS: u32 = 67108864; |
1662 | pub const CLONE_NEWIPC: u32 = 134217728; |
1663 | pub const CLONE_NEWUSER: u32 = 268435456; |
1664 | pub const CLONE_NEWPID: u32 = 536870912; |
1665 | pub const CLONE_NEWNET: u32 = 1073741824; |
1666 | pub const CLONE_IO: u32 = 2147483648; |
1667 | pub const CLONE_CLEAR_SIGHAND: u64 = 4294967296; |
1668 | pub const CLONE_INTO_CGROUP: u64 = 8589934592; |
1669 | pub const CLONE_NEWTIME: u32 = 128; |
1670 | pub const CLONE_ARGS_SIZE_VER0: u32 = 64; |
1671 | pub const CLONE_ARGS_SIZE_VER1: u32 = 80; |
1672 | pub const CLONE_ARGS_SIZE_VER2: u32 = 88; |
1673 | pub const SCHED_NORMAL: u32 = 0; |
1674 | pub const SCHED_FIFO: u32 = 1; |
1675 | pub const SCHED_RR: u32 = 2; |
1676 | pub const SCHED_BATCH: u32 = 3; |
1677 | pub const SCHED_IDLE: u32 = 5; |
1678 | pub const SCHED_DEADLINE: u32 = 6; |
1679 | pub const SCHED_RESET_ON_FORK: u32 = 1073741824; |
1680 | pub const SCHED_FLAG_RESET_ON_FORK: u32 = 1; |
1681 | pub const SCHED_FLAG_RECLAIM: u32 = 2; |
1682 | pub const SCHED_FLAG_DL_OVERRUN: u32 = 4; |
1683 | pub const SCHED_FLAG_KEEP_POLICY: u32 = 8; |
1684 | pub const SCHED_FLAG_KEEP_PARAMS: u32 = 16; |
1685 | pub const SCHED_FLAG_UTIL_CLAMP_MIN: u32 = 32; |
1686 | pub const SCHED_FLAG_UTIL_CLAMP_MAX: u32 = 64; |
1687 | pub const SCHED_FLAG_KEEP_ALL: u32 = 24; |
1688 | pub const SCHED_FLAG_UTIL_CLAMP: u32 = 96; |
1689 | pub const SCHED_FLAG_ALL: u32 = 127; |
1690 | pub const NSIG: u32 = 32; |
1691 | pub const SIGHUP: u32 = 1; |
1692 | pub const SIGINT: u32 = 2; |
1693 | pub const SIGQUIT: u32 = 3; |
1694 | pub const SIGILL: u32 = 4; |
1695 | pub const SIGTRAP: u32 = 5; |
1696 | pub const SIGABRT: u32 = 6; |
1697 | pub const SIGIOT: u32 = 6; |
1698 | pub const SIGBUS: u32 = 7; |
1699 | pub const SIGFPE: u32 = 8; |
1700 | pub const SIGKILL: u32 = 9; |
1701 | pub const SIGUSR1: u32 = 10; |
1702 | pub const SIGSEGV: u32 = 11; |
1703 | pub const SIGUSR2: u32 = 12; |
1704 | pub const SIGPIPE: u32 = 13; |
1705 | pub const SIGALRM: u32 = 14; |
1706 | pub const SIGTERM: u32 = 15; |
1707 | pub const SIGSTKFLT: u32 = 16; |
1708 | pub const SIGCHLD: u32 = 17; |
1709 | pub const SIGCONT: u32 = 18; |
1710 | pub const SIGSTOP: u32 = 19; |
1711 | pub const SIGTSTP: u32 = 20; |
1712 | pub const SIGTTIN: u32 = 21; |
1713 | pub const SIGTTOU: u32 = 22; |
1714 | pub const SIGURG: u32 = 23; |
1715 | pub const SIGXCPU: u32 = 24; |
1716 | pub const SIGXFSZ: u32 = 25; |
1717 | pub const SIGVTALRM: u32 = 26; |
1718 | pub const SIGPROF: u32 = 27; |
1719 | pub const SIGWINCH: u32 = 28; |
1720 | pub const SIGIO: u32 = 29; |
1721 | pub const SIGPOLL: u32 = 29; |
1722 | pub const SIGPWR: u32 = 30; |
1723 | pub const SIGSYS: u32 = 31; |
1724 | pub const SIGUNUSED: u32 = 31; |
1725 | pub const SIGRTMIN: u32 = 32; |
1726 | pub const SA_RESTORER: u32 = 67108864; |
1727 | pub const MINSIGSTKSZ: u32 = 2048; |
1728 | pub const SIGSTKSZ: u32 = 8192; |
1729 | pub const SA_NOCLDSTOP: u32 = 1; |
1730 | pub const SA_NOCLDWAIT: u32 = 2; |
1731 | pub const SA_SIGINFO: u32 = 4; |
1732 | pub const SA_UNSUPPORTED: u32 = 1024; |
1733 | pub const SA_EXPOSE_TAGBITS: u32 = 2048; |
1734 | pub const SA_ONSTACK: u32 = 134217728; |
1735 | pub const SA_RESTART: u32 = 268435456; |
1736 | pub const SA_NODEFER: u32 = 1073741824; |
1737 | pub const SA_RESETHAND: u32 = 2147483648; |
1738 | pub const SA_NOMASK: u32 = 1073741824; |
1739 | pub const SA_ONESHOT: u32 = 2147483648; |
1740 | pub const SIG_BLOCK: u32 = 0; |
1741 | pub const SIG_UNBLOCK: u32 = 1; |
1742 | pub const SIG_SETMASK: u32 = 2; |
1743 | pub const SI_MAX_SIZE: u32 = 128; |
1744 | pub const SI_USER: u32 = 0; |
1745 | pub const SI_KERNEL: u32 = 128; |
1746 | pub const SI_QUEUE: i32 = -1; |
1747 | pub const SI_TIMER: i32 = -2; |
1748 | pub const SI_MESGQ: i32 = -3; |
1749 | pub const SI_ASYNCIO: i32 = -4; |
1750 | pub const SI_SIGIO: i32 = -5; |
1751 | pub const SI_TKILL: i32 = -6; |
1752 | pub const SI_DETHREAD: i32 = -7; |
1753 | pub const SI_ASYNCNL: i32 = -60; |
1754 | pub const ILL_ILLOPC: u32 = 1; |
1755 | pub const ILL_ILLOPN: u32 = 2; |
1756 | pub const ILL_ILLADR: u32 = 3; |
1757 | pub const ILL_ILLTRP: u32 = 4; |
1758 | pub const ILL_PRVOPC: u32 = 5; |
1759 | pub const ILL_PRVREG: u32 = 6; |
1760 | pub const ILL_COPROC: u32 = 7; |
1761 | pub const ILL_BADSTK: u32 = 8; |
1762 | pub const ILL_BADIADDR: u32 = 9; |
1763 | pub const __ILL_BREAK: u32 = 10; |
1764 | pub const __ILL_BNDMOD: u32 = 11; |
1765 | pub const NSIGILL: u32 = 11; |
1766 | pub const FPE_INTDIV: u32 = 1; |
1767 | pub const FPE_INTOVF: u32 = 2; |
1768 | pub const FPE_FLTDIV: u32 = 3; |
1769 | pub const FPE_FLTOVF: u32 = 4; |
1770 | pub const FPE_FLTUND: u32 = 5; |
1771 | pub const FPE_FLTRES: u32 = 6; |
1772 | pub const FPE_FLTINV: u32 = 7; |
1773 | pub const FPE_FLTSUB: u32 = 8; |
1774 | pub const __FPE_DECOVF: u32 = 9; |
1775 | pub const __FPE_DECDIV: u32 = 10; |
1776 | pub const __FPE_DECERR: u32 = 11; |
1777 | pub const __FPE_INVASC: u32 = 12; |
1778 | pub const __FPE_INVDEC: u32 = 13; |
1779 | pub const FPE_FLTUNK: u32 = 14; |
1780 | pub const FPE_CONDTRAP: u32 = 15; |
1781 | pub const NSIGFPE: u32 = 15; |
1782 | pub const SEGV_MAPERR: u32 = 1; |
1783 | pub const SEGV_ACCERR: u32 = 2; |
1784 | pub const SEGV_BNDERR: u32 = 3; |
1785 | pub const SEGV_PKUERR: u32 = 4; |
1786 | pub const SEGV_ACCADI: u32 = 5; |
1787 | pub const SEGV_ADIDERR: u32 = 6; |
1788 | pub const SEGV_ADIPERR: u32 = 7; |
1789 | pub const SEGV_MTEAERR: u32 = 8; |
1790 | pub const SEGV_MTESERR: u32 = 9; |
1791 | pub const NSIGSEGV: u32 = 9; |
1792 | pub const BUS_ADRALN: u32 = 1; |
1793 | pub const BUS_ADRERR: u32 = 2; |
1794 | pub const BUS_OBJERR: u32 = 3; |
1795 | pub const BUS_MCEERR_AR: u32 = 4; |
1796 | pub const BUS_MCEERR_AO: u32 = 5; |
1797 | pub const NSIGBUS: u32 = 5; |
1798 | pub const TRAP_BRKPT: u32 = 1; |
1799 | pub const TRAP_TRACE: u32 = 2; |
1800 | pub const TRAP_BRANCH: u32 = 3; |
1801 | pub const TRAP_HWBKPT: u32 = 4; |
1802 | pub const TRAP_UNK: u32 = 5; |
1803 | pub const TRAP_PERF: u32 = 6; |
1804 | pub const NSIGTRAP: u32 = 6; |
1805 | pub const TRAP_PERF_FLAG_ASYNC: u32 = 1; |
1806 | pub const CLD_EXITED: u32 = 1; |
1807 | pub const CLD_KILLED: u32 = 2; |
1808 | pub const CLD_DUMPED: u32 = 3; |
1809 | pub const CLD_TRAPPED: u32 = 4; |
1810 | pub const CLD_STOPPED: u32 = 5; |
1811 | pub const CLD_CONTINUED: u32 = 6; |
1812 | pub const NSIGCHLD: u32 = 6; |
1813 | pub const POLL_IN: u32 = 1; |
1814 | pub const POLL_OUT: u32 = 2; |
1815 | pub const POLL_MSG: u32 = 3; |
1816 | pub const POLL_ERR: u32 = 4; |
1817 | pub const POLL_PRI: u32 = 5; |
1818 | pub const POLL_HUP: u32 = 6; |
1819 | pub const NSIGPOLL: u32 = 6; |
1820 | pub const SYS_SECCOMP: u32 = 1; |
1821 | pub const SYS_USER_DISPATCH: u32 = 2; |
1822 | pub const NSIGSYS: u32 = 2; |
1823 | pub const EMT_TAGOVF: u32 = 1; |
1824 | pub const NSIGEMT: u32 = 1; |
1825 | pub const SIGEV_SIGNAL: u32 = 0; |
1826 | pub const SIGEV_NONE: u32 = 1; |
1827 | pub const SIGEV_THREAD: u32 = 2; |
1828 | pub const SIGEV_THREAD_ID: u32 = 4; |
1829 | pub const SIGEV_MAX_SIZE: u32 = 64; |
1830 | pub const SS_ONSTACK: u32 = 1; |
1831 | pub const SS_DISABLE: u32 = 2; |
1832 | pub const SS_AUTODISARM: u32 = 2147483648; |
1833 | pub const SS_FLAG_BITS: u32 = 2147483648; |
1834 | pub const S_IFMT: u32 = 61440; |
1835 | pub const S_IFSOCK: u32 = 49152; |
1836 | pub const S_IFLNK: u32 = 40960; |
1837 | pub const S_IFREG: u32 = 32768; |
1838 | pub const S_IFBLK: u32 = 24576; |
1839 | pub const S_IFDIR: u32 = 16384; |
1840 | pub const S_IFCHR: u32 = 8192; |
1841 | pub const S_IFIFO: u32 = 4096; |
1842 | pub const S_ISUID: u32 = 2048; |
1843 | pub const S_ISGID: u32 = 1024; |
1844 | pub const S_ISVTX: u32 = 512; |
1845 | pub const S_IRWXU: u32 = 448; |
1846 | pub const S_IRUSR: u32 = 256; |
1847 | pub const S_IWUSR: u32 = 128; |
1848 | pub const S_IXUSR: u32 = 64; |
1849 | pub const S_IRWXG: u32 = 56; |
1850 | pub const S_IRGRP: u32 = 32; |
1851 | pub const S_IWGRP: u32 = 16; |
1852 | pub const S_IXGRP: u32 = 8; |
1853 | pub const S_IRWXO: u32 = 7; |
1854 | pub const S_IROTH: u32 = 4; |
1855 | pub const S_IWOTH: u32 = 2; |
1856 | pub const S_IXOTH: u32 = 1; |
1857 | pub const STATX_TYPE: u32 = 1; |
1858 | pub const STATX_MODE: u32 = 2; |
1859 | pub const STATX_NLINK: u32 = 4; |
1860 | pub const STATX_UID: u32 = 8; |
1861 | pub const STATX_GID: u32 = 16; |
1862 | pub const STATX_ATIME: u32 = 32; |
1863 | pub const STATX_MTIME: u32 = 64; |
1864 | pub const STATX_CTIME: u32 = 128; |
1865 | pub const STATX_INO: u32 = 256; |
1866 | pub const STATX_SIZE: u32 = 512; |
1867 | pub const STATX_BLOCKS: u32 = 1024; |
1868 | pub const STATX_BASIC_STATS: u32 = 2047; |
1869 | pub const STATX_BTIME: u32 = 2048; |
1870 | pub const STATX_MNT_ID: u32 = 4096; |
1871 | pub const STATX_DIOALIGN: u32 = 8192; |
1872 | pub const STATX__RESERVED: u32 = 2147483648; |
1873 | pub const STATX_ALL: u32 = 4095; |
1874 | pub const STATX_ATTR_COMPRESSED: u32 = 4; |
1875 | pub const STATX_ATTR_IMMUTABLE: u32 = 16; |
1876 | pub const STATX_ATTR_APPEND: u32 = 32; |
1877 | pub const STATX_ATTR_NODUMP: u32 = 64; |
1878 | pub const STATX_ATTR_ENCRYPTED: u32 = 2048; |
1879 | pub const STATX_ATTR_AUTOMOUNT: u32 = 4096; |
1880 | pub const STATX_ATTR_MOUNT_ROOT: u32 = 8192; |
1881 | pub const STATX_ATTR_VERITY: u32 = 1048576; |
1882 | pub const STATX_ATTR_DAX: u32 = 2097152; |
1883 | pub const IGNBRK: u32 = 1; |
1884 | pub const BRKINT: u32 = 2; |
1885 | pub const IGNPAR: u32 = 4; |
1886 | pub const PARMRK: u32 = 8; |
1887 | pub const INPCK: u32 = 16; |
1888 | pub const ISTRIP: u32 = 32; |
1889 | pub const INLCR: u32 = 64; |
1890 | pub const IGNCR: u32 = 128; |
1891 | pub const ICRNL: u32 = 256; |
1892 | pub const IXANY: u32 = 2048; |
1893 | pub const OPOST: u32 = 1; |
1894 | pub const OCRNL: u32 = 8; |
1895 | pub const ONOCR: u32 = 16; |
1896 | pub const ONLRET: u32 = 32; |
1897 | pub const OFILL: u32 = 64; |
1898 | pub const OFDEL: u32 = 128; |
1899 | pub const B0: u32 = 0; |
1900 | pub const B50: u32 = 1; |
1901 | pub const B75: u32 = 2; |
1902 | pub const B110: u32 = 3; |
1903 | pub const B134: u32 = 4; |
1904 | pub const B150: u32 = 5; |
1905 | pub const B200: u32 = 6; |
1906 | pub const B300: u32 = 7; |
1907 | pub const B600: u32 = 8; |
1908 | pub const B1200: u32 = 9; |
1909 | pub const B1800: u32 = 10; |
1910 | pub const B2400: u32 = 11; |
1911 | pub const B4800: u32 = 12; |
1912 | pub const B9600: u32 = 13; |
1913 | pub const B19200: u32 = 14; |
1914 | pub const B38400: u32 = 15; |
1915 | pub const EXTA: u32 = 14; |
1916 | pub const EXTB: u32 = 15; |
1917 | pub const ADDRB: u32 = 536870912; |
1918 | pub const CMSPAR: u32 = 1073741824; |
1919 | pub const CRTSCTS: u32 = 2147483648; |
1920 | pub const IBSHIFT: u32 = 16; |
1921 | pub const TCOOFF: u32 = 0; |
1922 | pub const TCOON: u32 = 1; |
1923 | pub const TCIOFF: u32 = 2; |
1924 | pub const TCION: u32 = 3; |
1925 | pub const TCIFLUSH: u32 = 0; |
1926 | pub const TCOFLUSH: u32 = 1; |
1927 | pub const TCIOFLUSH: u32 = 2; |
1928 | pub const NCCS: u32 = 19; |
1929 | pub const VINTR: u32 = 0; |
1930 | pub const VQUIT: u32 = 1; |
1931 | pub const VERASE: u32 = 2; |
1932 | pub const VKILL: u32 = 3; |
1933 | pub const VEOF: u32 = 4; |
1934 | pub const VTIME: u32 = 5; |
1935 | pub const VMIN: u32 = 6; |
1936 | pub const VSWTC: u32 = 7; |
1937 | pub const VSTART: u32 = 8; |
1938 | pub const VSTOP: u32 = 9; |
1939 | pub const VSUSP: u32 = 10; |
1940 | pub const VEOL: u32 = 11; |
1941 | pub const VREPRINT: u32 = 12; |
1942 | pub const VDISCARD: u32 = 13; |
1943 | pub const VWERASE: u32 = 14; |
1944 | pub const VLNEXT: u32 = 15; |
1945 | pub const VEOL2: u32 = 16; |
1946 | pub const IUCLC: u32 = 512; |
1947 | pub const IXON: u32 = 1024; |
1948 | pub const IXOFF: u32 = 4096; |
1949 | pub const IMAXBEL: u32 = 8192; |
1950 | pub const IUTF8: u32 = 16384; |
1951 | pub const OLCUC: u32 = 2; |
1952 | pub const ONLCR: u32 = 4; |
1953 | pub const NLDLY: u32 = 256; |
1954 | pub const NL0: u32 = 0; |
1955 | pub const NL1: u32 = 256; |
1956 | pub const CRDLY: u32 = 1536; |
1957 | pub const CR0: u32 = 0; |
1958 | pub const CR1: u32 = 512; |
1959 | pub const CR2: u32 = 1024; |
1960 | pub const CR3: u32 = 1536; |
1961 | pub const TABDLY: u32 = 6144; |
1962 | pub const TAB0: u32 = 0; |
1963 | pub const TAB1: u32 = 2048; |
1964 | pub const TAB2: u32 = 4096; |
1965 | pub const TAB3: u32 = 6144; |
1966 | pub const XTABS: u32 = 6144; |
1967 | pub const BSDLY: u32 = 8192; |
1968 | pub const BS0: u32 = 0; |
1969 | pub const BS1: u32 = 8192; |
1970 | pub const VTDLY: u32 = 16384; |
1971 | pub const VT0: u32 = 0; |
1972 | pub const VT1: u32 = 16384; |
1973 | pub const FFDLY: u32 = 32768; |
1974 | pub const FF0: u32 = 0; |
1975 | pub const FF1: u32 = 32768; |
1976 | pub const CBAUD: u32 = 4111; |
1977 | pub const CSIZE: u32 = 48; |
1978 | pub const CS5: u32 = 0; |
1979 | pub const CS6: u32 = 16; |
1980 | pub const CS7: u32 = 32; |
1981 | pub const CS8: u32 = 48; |
1982 | pub const CSTOPB: u32 = 64; |
1983 | pub const CREAD: u32 = 128; |
1984 | pub const PARENB: u32 = 256; |
1985 | pub const PARODD: u32 = 512; |
1986 | pub const HUPCL: u32 = 1024; |
1987 | pub const CLOCAL: u32 = 2048; |
1988 | pub const CBAUDEX: u32 = 4096; |
1989 | pub const BOTHER: u32 = 4096; |
1990 | pub const B57600: u32 = 4097; |
1991 | pub const B115200: u32 = 4098; |
1992 | pub const B230400: u32 = 4099; |
1993 | pub const B460800: u32 = 4100; |
1994 | pub const B500000: u32 = 4101; |
1995 | pub const B576000: u32 = 4102; |
1996 | pub const B921600: u32 = 4103; |
1997 | pub const B1000000: u32 = 4104; |
1998 | pub const B1152000: u32 = 4105; |
1999 | pub const B1500000: u32 = 4106; |
2000 | pub const B2000000: u32 = 4107; |
2001 | pub const B2500000: u32 = 4108; |
2002 | pub const B3000000: u32 = 4109; |
2003 | pub const B3500000: u32 = 4110; |
2004 | pub const B4000000: u32 = 4111; |
2005 | pub const CIBAUD: u32 = 269418496; |
2006 | pub const ISIG: u32 = 1; |
2007 | pub const ICANON: u32 = 2; |
2008 | pub const XCASE: u32 = 4; |
2009 | pub const ECHO: u32 = 8; |
2010 | pub const ECHOE: u32 = 16; |
2011 | pub const ECHOK: u32 = 32; |
2012 | pub const ECHONL: u32 = 64; |
2013 | pub const NOFLSH: u32 = 128; |
2014 | pub const TOSTOP: u32 = 256; |
2015 | pub const ECHOCTL: u32 = 512; |
2016 | pub const ECHOPRT: u32 = 1024; |
2017 | pub const ECHOKE: u32 = 2048; |
2018 | pub const FLUSHO: u32 = 4096; |
2019 | pub const PENDIN: u32 = 16384; |
2020 | pub const IEXTEN: u32 = 32768; |
2021 | pub const EXTPROC: u32 = 65536; |
2022 | pub const TCSANOW: u32 = 0; |
2023 | pub const TCSADRAIN: u32 = 1; |
2024 | pub const TCSAFLUSH: u32 = 2; |
2025 | pub const TIOCPKT_DATA: u32 = 0; |
2026 | pub const TIOCPKT_FLUSHREAD: u32 = 1; |
2027 | pub const TIOCPKT_FLUSHWRITE: u32 = 2; |
2028 | pub const TIOCPKT_STOP: u32 = 4; |
2029 | pub const TIOCPKT_START: u32 = 8; |
2030 | pub const TIOCPKT_NOSTOP: u32 = 16; |
2031 | pub const TIOCPKT_DOSTOP: u32 = 32; |
2032 | pub const TIOCPKT_IOCTL: u32 = 64; |
2033 | pub const TIOCSER_TEMT: u32 = 1; |
2034 | pub const NCC: u32 = 8; |
2035 | pub const TIOCM_LE: u32 = 1; |
2036 | pub const TIOCM_DTR: u32 = 2; |
2037 | pub const TIOCM_RTS: u32 = 4; |
2038 | pub const TIOCM_ST: u32 = 8; |
2039 | pub const TIOCM_SR: u32 = 16; |
2040 | pub const TIOCM_CTS: u32 = 32; |
2041 | pub const TIOCM_CAR: u32 = 64; |
2042 | pub const TIOCM_RNG: u32 = 128; |
2043 | pub const TIOCM_DSR: u32 = 256; |
2044 | pub const TIOCM_CD: u32 = 64; |
2045 | pub const TIOCM_RI: u32 = 128; |
2046 | pub const TIOCM_OUT1: u32 = 8192; |
2047 | pub const TIOCM_OUT2: u32 = 16384; |
2048 | pub const TIOCM_LOOP: u32 = 32768; |
2049 | pub const UIO_FASTIOV: u32 = 8; |
2050 | pub const UIO_MAXIOV: u32 = 1024; |
2051 | pub const __X32_SYSCALL_BIT: u32 = 1073741824; |
2052 | pub const __NR_read: u32 = 0; |
2053 | pub const __NR_write: u32 = 1; |
2054 | pub const __NR_open: u32 = 2; |
2055 | pub const __NR_close: u32 = 3; |
2056 | pub const __NR_stat: u32 = 4; |
2057 | pub const __NR_fstat: u32 = 5; |
2058 | pub const __NR_lstat: u32 = 6; |
2059 | pub const __NR_poll: u32 = 7; |
2060 | pub const __NR_lseek: u32 = 8; |
2061 | pub const __NR_mmap: u32 = 9; |
2062 | pub const __NR_mprotect: u32 = 10; |
2063 | pub const __NR_munmap: u32 = 11; |
2064 | pub const __NR_brk: u32 = 12; |
2065 | pub const __NR_rt_sigaction: u32 = 13; |
2066 | pub const __NR_rt_sigprocmask: u32 = 14; |
2067 | pub const __NR_rt_sigreturn: u32 = 15; |
2068 | pub const __NR_ioctl: u32 = 16; |
2069 | pub const __NR_pread64: u32 = 17; |
2070 | pub const __NR_pwrite64: u32 = 18; |
2071 | pub const __NR_readv: u32 = 19; |
2072 | pub const __NR_writev: u32 = 20; |
2073 | pub const __NR_access: u32 = 21; |
2074 | pub const __NR_pipe: u32 = 22; |
2075 | pub const __NR_select: u32 = 23; |
2076 | pub const __NR_sched_yield: u32 = 24; |
2077 | pub const __NR_mremap: u32 = 25; |
2078 | pub const __NR_msync: u32 = 26; |
2079 | pub const __NR_mincore: u32 = 27; |
2080 | pub const __NR_madvise: u32 = 28; |
2081 | pub const __NR_shmget: u32 = 29; |
2082 | pub const __NR_shmat: u32 = 30; |
2083 | pub const __NR_shmctl: u32 = 31; |
2084 | pub const __NR_dup: u32 = 32; |
2085 | pub const __NR_dup2: u32 = 33; |
2086 | pub const __NR_pause: u32 = 34; |
2087 | pub const __NR_nanosleep: u32 = 35; |
2088 | pub const __NR_getitimer: u32 = 36; |
2089 | pub const __NR_alarm: u32 = 37; |
2090 | pub const __NR_setitimer: u32 = 38; |
2091 | pub const __NR_getpid: u32 = 39; |
2092 | pub const __NR_sendfile: u32 = 40; |
2093 | pub const __NR_socket: u32 = 41; |
2094 | pub const __NR_connect: u32 = 42; |
2095 | pub const __NR_accept: u32 = 43; |
2096 | pub const __NR_sendto: u32 = 44; |
2097 | pub const __NR_recvfrom: u32 = 45; |
2098 | pub const __NR_sendmsg: u32 = 46; |
2099 | pub const __NR_recvmsg: u32 = 47; |
2100 | pub const __NR_shutdown: u32 = 48; |
2101 | pub const __NR_bind: u32 = 49; |
2102 | pub const __NR_listen: u32 = 50; |
2103 | pub const __NR_getsockname: u32 = 51; |
2104 | pub const __NR_getpeername: u32 = 52; |
2105 | pub const __NR_socketpair: u32 = 53; |
2106 | pub const __NR_setsockopt: u32 = 54; |
2107 | pub const __NR_getsockopt: u32 = 55; |
2108 | pub const __NR_clone: u32 = 56; |
2109 | pub const __NR_fork: u32 = 57; |
2110 | pub const __NR_vfork: u32 = 58; |
2111 | pub const __NR_execve: u32 = 59; |
2112 | pub const __NR_exit: u32 = 60; |
2113 | pub const __NR_wait4: u32 = 61; |
2114 | pub const __NR_kill: u32 = 62; |
2115 | pub const __NR_uname: u32 = 63; |
2116 | pub const __NR_semget: u32 = 64; |
2117 | pub const __NR_semop: u32 = 65; |
2118 | pub const __NR_semctl: u32 = 66; |
2119 | pub const __NR_shmdt: u32 = 67; |
2120 | pub const __NR_msgget: u32 = 68; |
2121 | pub const __NR_msgsnd: u32 = 69; |
2122 | pub const __NR_msgrcv: u32 = 70; |
2123 | pub const __NR_msgctl: u32 = 71; |
2124 | pub const __NR_fcntl: u32 = 72; |
2125 | pub const __NR_flock: u32 = 73; |
2126 | pub const __NR_fsync: u32 = 74; |
2127 | pub const __NR_fdatasync: u32 = 75; |
2128 | pub const __NR_truncate: u32 = 76; |
2129 | pub const __NR_ftruncate: u32 = 77; |
2130 | pub const __NR_getdents: u32 = 78; |
2131 | pub const __NR_getcwd: u32 = 79; |
2132 | pub const __NR_chdir: u32 = 80; |
2133 | pub const __NR_fchdir: u32 = 81; |
2134 | pub const __NR_rename: u32 = 82; |
2135 | pub const __NR_mkdir: u32 = 83; |
2136 | pub const __NR_rmdir: u32 = 84; |
2137 | pub const __NR_creat: u32 = 85; |
2138 | pub const __NR_link: u32 = 86; |
2139 | pub const __NR_unlink: u32 = 87; |
2140 | pub const __NR_symlink: u32 = 88; |
2141 | pub const __NR_readlink: u32 = 89; |
2142 | pub const __NR_chmod: u32 = 90; |
2143 | pub const __NR_fchmod: u32 = 91; |
2144 | pub const __NR_chown: u32 = 92; |
2145 | pub const __NR_fchown: u32 = 93; |
2146 | pub const __NR_lchown: u32 = 94; |
2147 | pub const __NR_umask: u32 = 95; |
2148 | pub const __NR_gettimeofday: u32 = 96; |
2149 | pub const __NR_getrlimit: u32 = 97; |
2150 | pub const __NR_getrusage: u32 = 98; |
2151 | pub const __NR_sysinfo: u32 = 99; |
2152 | pub const __NR_times: u32 = 100; |
2153 | pub const __NR_ptrace: u32 = 101; |
2154 | pub const __NR_getuid: u32 = 102; |
2155 | pub const __NR_syslog: u32 = 103; |
2156 | pub const __NR_getgid: u32 = 104; |
2157 | pub const __NR_setuid: u32 = 105; |
2158 | pub const __NR_setgid: u32 = 106; |
2159 | pub const __NR_geteuid: u32 = 107; |
2160 | pub const __NR_getegid: u32 = 108; |
2161 | pub const __NR_setpgid: u32 = 109; |
2162 | pub const __NR_getppid: u32 = 110; |
2163 | pub const __NR_getpgrp: u32 = 111; |
2164 | pub const __NR_setsid: u32 = 112; |
2165 | pub const __NR_setreuid: u32 = 113; |
2166 | pub const __NR_setregid: u32 = 114; |
2167 | pub const __NR_getgroups: u32 = 115; |
2168 | pub const __NR_setgroups: u32 = 116; |
2169 | pub const __NR_setresuid: u32 = 117; |
2170 | pub const __NR_getresuid: u32 = 118; |
2171 | pub const __NR_setresgid: u32 = 119; |
2172 | pub const __NR_getresgid: u32 = 120; |
2173 | pub const __NR_getpgid: u32 = 121; |
2174 | pub const __NR_setfsuid: u32 = 122; |
2175 | pub const __NR_setfsgid: u32 = 123; |
2176 | pub const __NR_getsid: u32 = 124; |
2177 | pub const __NR_capget: u32 = 125; |
2178 | pub const __NR_capset: u32 = 126; |
2179 | pub const __NR_rt_sigpending: u32 = 127; |
2180 | pub const __NR_rt_sigtimedwait: u32 = 128; |
2181 | pub const __NR_rt_sigqueueinfo: u32 = 129; |
2182 | pub const __NR_rt_sigsuspend: u32 = 130; |
2183 | pub const __NR_sigaltstack: u32 = 131; |
2184 | pub const __NR_utime: u32 = 132; |
2185 | pub const __NR_mknod: u32 = 133; |
2186 | pub const __NR_uselib: u32 = 134; |
2187 | pub const __NR_personality: u32 = 135; |
2188 | pub const __NR_ustat: u32 = 136; |
2189 | pub const __NR_statfs: u32 = 137; |
2190 | pub const __NR_fstatfs: u32 = 138; |
2191 | pub const __NR_sysfs: u32 = 139; |
2192 | pub const __NR_getpriority: u32 = 140; |
2193 | pub const __NR_setpriority: u32 = 141; |
2194 | pub const __NR_sched_setparam: u32 = 142; |
2195 | pub const __NR_sched_getparam: u32 = 143; |
2196 | pub const __NR_sched_setscheduler: u32 = 144; |
2197 | pub const __NR_sched_getscheduler: u32 = 145; |
2198 | pub const __NR_sched_get_priority_max: u32 = 146; |
2199 | pub const __NR_sched_get_priority_min: u32 = 147; |
2200 | pub const __NR_sched_rr_get_interval: u32 = 148; |
2201 | pub const __NR_mlock: u32 = 149; |
2202 | pub const __NR_munlock: u32 = 150; |
2203 | pub const __NR_mlockall: u32 = 151; |
2204 | pub const __NR_munlockall: u32 = 152; |
2205 | pub const __NR_vhangup: u32 = 153; |
2206 | pub const __NR_modify_ldt: u32 = 154; |
2207 | pub const __NR_pivot_root: u32 = 155; |
2208 | pub const __NR__sysctl: u32 = 156; |
2209 | pub const __NR_prctl: u32 = 157; |
2210 | pub const __NR_arch_prctl: u32 = 158; |
2211 | pub const __NR_adjtimex: u32 = 159; |
2212 | pub const __NR_setrlimit: u32 = 160; |
2213 | pub const __NR_chroot: u32 = 161; |
2214 | pub const __NR_sync: u32 = 162; |
2215 | pub const __NR_acct: u32 = 163; |
2216 | pub const __NR_settimeofday: u32 = 164; |
2217 | pub const __NR_mount: u32 = 165; |
2218 | pub const __NR_umount2: u32 = 166; |
2219 | pub const __NR_swapon: u32 = 167; |
2220 | pub const __NR_swapoff: u32 = 168; |
2221 | pub const __NR_reboot: u32 = 169; |
2222 | pub const __NR_sethostname: u32 = 170; |
2223 | pub const __NR_setdomainname: u32 = 171; |
2224 | pub const __NR_iopl: u32 = 172; |
2225 | pub const __NR_ioperm: u32 = 173; |
2226 | pub const __NR_create_module: u32 = 174; |
2227 | pub const __NR_init_module: u32 = 175; |
2228 | pub const __NR_delete_module: u32 = 176; |
2229 | pub const __NR_get_kernel_syms: u32 = 177; |
2230 | pub const __NR_query_module: u32 = 178; |
2231 | pub const __NR_quotactl: u32 = 179; |
2232 | pub const __NR_nfsservctl: u32 = 180; |
2233 | pub const __NR_getpmsg: u32 = 181; |
2234 | pub const __NR_putpmsg: u32 = 182; |
2235 | pub const __NR_afs_syscall: u32 = 183; |
2236 | pub const __NR_tuxcall: u32 = 184; |
2237 | pub const __NR_security: u32 = 185; |
2238 | pub const __NR_gettid: u32 = 186; |
2239 | pub const __NR_readahead: u32 = 187; |
2240 | pub const __NR_setxattr: u32 = 188; |
2241 | pub const __NR_lsetxattr: u32 = 189; |
2242 | pub const __NR_fsetxattr: u32 = 190; |
2243 | pub const __NR_getxattr: u32 = 191; |
2244 | pub const __NR_lgetxattr: u32 = 192; |
2245 | pub const __NR_fgetxattr: u32 = 193; |
2246 | pub const __NR_listxattr: u32 = 194; |
2247 | pub const __NR_llistxattr: u32 = 195; |
2248 | pub const __NR_flistxattr: u32 = 196; |
2249 | pub const __NR_removexattr: u32 = 197; |
2250 | pub const __NR_lremovexattr: u32 = 198; |
2251 | pub const __NR_fremovexattr: u32 = 199; |
2252 | pub const __NR_tkill: u32 = 200; |
2253 | pub const __NR_time: u32 = 201; |
2254 | pub const __NR_futex: u32 = 202; |
2255 | pub const __NR_sched_setaffinity: u32 = 203; |
2256 | pub const __NR_sched_getaffinity: u32 = 204; |
2257 | pub const __NR_set_thread_area: u32 = 205; |
2258 | pub const __NR_io_setup: u32 = 206; |
2259 | pub const __NR_io_destroy: u32 = 207; |
2260 | pub const __NR_io_getevents: u32 = 208; |
2261 | pub const __NR_io_submit: u32 = 209; |
2262 | pub const __NR_io_cancel: u32 = 210; |
2263 | pub const __NR_get_thread_area: u32 = 211; |
2264 | pub const __NR_lookup_dcookie: u32 = 212; |
2265 | pub const __NR_epoll_create: u32 = 213; |
2266 | pub const __NR_epoll_ctl_old: u32 = 214; |
2267 | pub const __NR_epoll_wait_old: u32 = 215; |
2268 | pub const __NR_remap_file_pages: u32 = 216; |
2269 | pub const __NR_getdents64: u32 = 217; |
2270 | pub const __NR_set_tid_address: u32 = 218; |
2271 | pub const __NR_restart_syscall: u32 = 219; |
2272 | pub const __NR_semtimedop: u32 = 220; |
2273 | pub const __NR_fadvise64: u32 = 221; |
2274 | pub const __NR_timer_create: u32 = 222; |
2275 | pub const __NR_timer_settime: u32 = 223; |
2276 | pub const __NR_timer_gettime: u32 = 224; |
2277 | pub const __NR_timer_getoverrun: u32 = 225; |
2278 | pub const __NR_timer_delete: u32 = 226; |
2279 | pub const __NR_clock_settime: u32 = 227; |
2280 | pub const __NR_clock_gettime: u32 = 228; |
2281 | pub const __NR_clock_getres: u32 = 229; |
2282 | pub const __NR_clock_nanosleep: u32 = 230; |
2283 | pub const __NR_exit_group: u32 = 231; |
2284 | pub const __NR_epoll_wait: u32 = 232; |
2285 | pub const __NR_epoll_ctl: u32 = 233; |
2286 | pub const __NR_tgkill: u32 = 234; |
2287 | pub const __NR_utimes: u32 = 235; |
2288 | pub const __NR_vserver: u32 = 236; |
2289 | pub const __NR_mbind: u32 = 237; |
2290 | pub const __NR_set_mempolicy: u32 = 238; |
2291 | pub const __NR_get_mempolicy: u32 = 239; |
2292 | pub const __NR_mq_open: u32 = 240; |
2293 | pub const __NR_mq_unlink: u32 = 241; |
2294 | pub const __NR_mq_timedsend: u32 = 242; |
2295 | pub const __NR_mq_timedreceive: u32 = 243; |
2296 | pub const __NR_mq_notify: u32 = 244; |
2297 | pub const __NR_mq_getsetattr: u32 = 245; |
2298 | pub const __NR_kexec_load: u32 = 246; |
2299 | pub const __NR_waitid: u32 = 247; |
2300 | pub const __NR_add_key: u32 = 248; |
2301 | pub const __NR_request_key: u32 = 249; |
2302 | pub const __NR_keyctl: u32 = 250; |
2303 | pub const __NR_ioprio_set: u32 = 251; |
2304 | pub const __NR_ioprio_get: u32 = 252; |
2305 | pub const __NR_inotify_init: u32 = 253; |
2306 | pub const __NR_inotify_add_watch: u32 = 254; |
2307 | pub const __NR_inotify_rm_watch: u32 = 255; |
2308 | pub const __NR_migrate_pages: u32 = 256; |
2309 | pub const __NR_openat: u32 = 257; |
2310 | pub const __NR_mkdirat: u32 = 258; |
2311 | pub const __NR_mknodat: u32 = 259; |
2312 | pub const __NR_fchownat: u32 = 260; |
2313 | pub const __NR_futimesat: u32 = 261; |
2314 | pub const __NR_newfstatat: u32 = 262; |
2315 | pub const __NR_unlinkat: u32 = 263; |
2316 | pub const __NR_renameat: u32 = 264; |
2317 | pub const __NR_linkat: u32 = 265; |
2318 | pub const __NR_symlinkat: u32 = 266; |
2319 | pub const __NR_readlinkat: u32 = 267; |
2320 | pub const __NR_fchmodat: u32 = 268; |
2321 | pub const __NR_faccessat: u32 = 269; |
2322 | pub const __NR_pselect6: u32 = 270; |
2323 | pub const __NR_ppoll: u32 = 271; |
2324 | pub const __NR_unshare: u32 = 272; |
2325 | pub const __NR_set_robust_list: u32 = 273; |
2326 | pub const __NR_get_robust_list: u32 = 274; |
2327 | pub const __NR_splice: u32 = 275; |
2328 | pub const __NR_tee: u32 = 276; |
2329 | pub const __NR_sync_file_range: u32 = 277; |
2330 | pub const __NR_vmsplice: u32 = 278; |
2331 | pub const __NR_move_pages: u32 = 279; |
2332 | pub const __NR_utimensat: u32 = 280; |
2333 | pub const __NR_epoll_pwait: u32 = 281; |
2334 | pub const __NR_signalfd: u32 = 282; |
2335 | pub const __NR_timerfd_create: u32 = 283; |
2336 | pub const __NR_eventfd: u32 = 284; |
2337 | pub const __NR_fallocate: u32 = 285; |
2338 | pub const __NR_timerfd_settime: u32 = 286; |
2339 | pub const __NR_timerfd_gettime: u32 = 287; |
2340 | pub const __NR_accept4: u32 = 288; |
2341 | pub const __NR_signalfd4: u32 = 289; |
2342 | pub const __NR_eventfd2: u32 = 290; |
2343 | pub const __NR_epoll_create1: u32 = 291; |
2344 | pub const __NR_dup3: u32 = 292; |
2345 | pub const __NR_pipe2: u32 = 293; |
2346 | pub const __NR_inotify_init1: u32 = 294; |
2347 | pub const __NR_preadv: u32 = 295; |
2348 | pub const __NR_pwritev: u32 = 296; |
2349 | pub const __NR_rt_tgsigqueueinfo: u32 = 297; |
2350 | pub const __NR_perf_event_open: u32 = 298; |
2351 | pub const __NR_recvmmsg: u32 = 299; |
2352 | pub const __NR_fanotify_init: u32 = 300; |
2353 | pub const __NR_fanotify_mark: u32 = 301; |
2354 | pub const __NR_prlimit64: u32 = 302; |
2355 | pub const __NR_name_to_handle_at: u32 = 303; |
2356 | pub const __NR_open_by_handle_at: u32 = 304; |
2357 | pub const __NR_clock_adjtime: u32 = 305; |
2358 | pub const __NR_syncfs: u32 = 306; |
2359 | pub const __NR_sendmmsg: u32 = 307; |
2360 | pub const __NR_setns: u32 = 308; |
2361 | pub const __NR_getcpu: u32 = 309; |
2362 | pub const __NR_process_vm_readv: u32 = 310; |
2363 | pub const __NR_process_vm_writev: u32 = 311; |
2364 | pub const __NR_kcmp: u32 = 312; |
2365 | pub const __NR_finit_module: u32 = 313; |
2366 | pub const __NR_sched_setattr: u32 = 314; |
2367 | pub const __NR_sched_getattr: u32 = 315; |
2368 | pub const __NR_renameat2: u32 = 316; |
2369 | pub const __NR_seccomp: u32 = 317; |
2370 | pub const __NR_getrandom: u32 = 318; |
2371 | pub const __NR_memfd_create: u32 = 319; |
2372 | pub const __NR_kexec_file_load: u32 = 320; |
2373 | pub const __NR_bpf: u32 = 321; |
2374 | pub const __NR_execveat: u32 = 322; |
2375 | pub const __NR_userfaultfd: u32 = 323; |
2376 | pub const __NR_membarrier: u32 = 324; |
2377 | pub const __NR_mlock2: u32 = 325; |
2378 | pub const __NR_copy_file_range: u32 = 326; |
2379 | pub const __NR_preadv2: u32 = 327; |
2380 | pub const __NR_pwritev2: u32 = 328; |
2381 | pub const __NR_pkey_mprotect: u32 = 329; |
2382 | pub const __NR_pkey_alloc: u32 = 330; |
2383 | pub const __NR_pkey_free: u32 = 331; |
2384 | pub const __NR_statx: u32 = 332; |
2385 | pub const __NR_io_pgetevents: u32 = 333; |
2386 | pub const __NR_rseq: u32 = 334; |
2387 | pub const __NR_pidfd_send_signal: u32 = 424; |
2388 | pub const __NR_io_uring_setup: u32 = 425; |
2389 | pub const __NR_io_uring_enter: u32 = 426; |
2390 | pub const __NR_io_uring_register: u32 = 427; |
2391 | pub const __NR_open_tree: u32 = 428; |
2392 | pub const __NR_move_mount: u32 = 429; |
2393 | pub const __NR_fsopen: u32 = 430; |
2394 | pub const __NR_fsconfig: u32 = 431; |
2395 | pub const __NR_fsmount: u32 = 432; |
2396 | pub const __NR_fspick: u32 = 433; |
2397 | pub const __NR_pidfd_open: u32 = 434; |
2398 | pub const __NR_clone3: u32 = 435; |
2399 | pub const __NR_close_range: u32 = 436; |
2400 | pub const __NR_openat2: u32 = 437; |
2401 | pub const __NR_pidfd_getfd: u32 = 438; |
2402 | pub const __NR_faccessat2: u32 = 439; |
2403 | pub const __NR_process_madvise: u32 = 440; |
2404 | pub const __NR_epoll_pwait2: u32 = 441; |
2405 | pub const __NR_mount_setattr: u32 = 442; |
2406 | pub const __NR_quotactl_fd: u32 = 443; |
2407 | pub const __NR_landlock_create_ruleset: u32 = 444; |
2408 | pub const __NR_landlock_add_rule: u32 = 445; |
2409 | pub const __NR_landlock_restrict_self: u32 = 446; |
2410 | pub const __NR_memfd_secret: u32 = 447; |
2411 | pub const __NR_process_mrelease: u32 = 448; |
2412 | pub const __NR_futex_waitv: u32 = 449; |
2413 | pub const __NR_set_mempolicy_home_node: u32 = 450; |
2414 | pub const WNOHANG: u32 = 1; |
2415 | pub const WUNTRACED: u32 = 2; |
2416 | pub const WSTOPPED: u32 = 2; |
2417 | pub const WEXITED: u32 = 4; |
2418 | pub const WCONTINUED: u32 = 8; |
2419 | pub const WNOWAIT: u32 = 16777216; |
2420 | pub const __WNOTHREAD: u32 = 536870912; |
2421 | pub const __WALL: u32 = 1073741824; |
2422 | pub const __WCLONE: u32 = 2147483648; |
2423 | pub const P_ALL: u32 = 0; |
2424 | pub const P_PID: u32 = 1; |
2425 | pub const P_PGID: u32 = 2; |
2426 | pub const P_PIDFD: u32 = 3; |
2427 | pub const XATTR_CREATE: u32 = 1; |
2428 | pub const XATTR_REPLACE: u32 = 2; |
2429 | pub const XATTR_OS2_PREFIX: &[u8; 5] = b"os2. \0" ; |
2430 | pub const XATTR_MAC_OSX_PREFIX: &[u8; 5] = b"osx. \0" ; |
2431 | pub const XATTR_BTRFS_PREFIX: &[u8; 7] = b"btrfs. \0" ; |
2432 | pub const XATTR_HURD_PREFIX: &[u8; 5] = b"gnu. \0" ; |
2433 | pub const XATTR_SECURITY_PREFIX: &[u8; 10] = b"security. \0" ; |
2434 | pub const XATTR_SYSTEM_PREFIX: &[u8; 8] = b"system. \0" ; |
2435 | pub const XATTR_TRUSTED_PREFIX: &[u8; 9] = b"trusted. \0" ; |
2436 | pub const XATTR_USER_PREFIX: &[u8; 6] = b"user. \0" ; |
2437 | pub const XATTR_EVM_SUFFIX: &[u8; 4] = b"evm \0" ; |
2438 | pub const XATTR_NAME_EVM: &[u8; 13] = b"security.evm \0" ; |
2439 | pub const XATTR_IMA_SUFFIX: &[u8; 4] = b"ima \0" ; |
2440 | pub const XATTR_NAME_IMA: &[u8; 13] = b"security.ima \0" ; |
2441 | pub const XATTR_SELINUX_SUFFIX: &[u8; 8] = b"selinux \0" ; |
2442 | pub const XATTR_NAME_SELINUX: &[u8; 17] = b"security.selinux \0" ; |
2443 | pub const XATTR_SMACK_SUFFIX: &[u8; 8] = b"SMACK64 \0" ; |
2444 | pub const XATTR_SMACK_IPIN: &[u8; 12] = b"SMACK64IPIN \0" ; |
2445 | pub const XATTR_SMACK_IPOUT: &[u8; 13] = b"SMACK64IPOUT \0" ; |
2446 | pub const XATTR_SMACK_EXEC: &[u8; 12] = b"SMACK64EXEC \0" ; |
2447 | pub const XATTR_SMACK_TRANSMUTE: &[u8; 17] = b"SMACK64TRANSMUTE \0" ; |
2448 | pub const XATTR_SMACK_MMAP: &[u8; 12] = b"SMACK64MMAP \0" ; |
2449 | pub const XATTR_NAME_SMACK: &[u8; 17] = b"security.SMACK64 \0" ; |
2450 | pub const XATTR_NAME_SMACKIPIN: &[u8; 21] = b"security.SMACK64IPIN \0" ; |
2451 | pub const XATTR_NAME_SMACKIPOUT: &[u8; 22] = b"security.SMACK64IPOUT \0" ; |
2452 | pub const XATTR_NAME_SMACKEXEC: &[u8; 21] = b"security.SMACK64EXEC \0" ; |
2453 | pub const XATTR_NAME_SMACKTRANSMUTE: &[u8; 26] = b"security.SMACK64TRANSMUTE \0" ; |
2454 | pub const XATTR_NAME_SMACKMMAP: &[u8; 21] = b"security.SMACK64MMAP \0" ; |
2455 | pub const XATTR_APPARMOR_SUFFIX: &[u8; 9] = b"apparmor \0" ; |
2456 | pub const XATTR_NAME_APPARMOR: &[u8; 18] = b"security.apparmor \0" ; |
2457 | pub const XATTR_CAPS_SUFFIX: &[u8; 11] = b"capability \0" ; |
2458 | pub const XATTR_NAME_CAPS: &[u8; 20] = b"security.capability \0" ; |
2459 | pub const XATTR_POSIX_ACL_ACCESS: &[u8; 17] = b"posix_acl_access \0" ; |
2460 | pub const XATTR_NAME_POSIX_ACL_ACCESS: &[u8; 24] = b"system.posix_acl_access \0" ; |
2461 | pub const XATTR_POSIX_ACL_DEFAULT: &[u8; 18] = b"posix_acl_default \0" ; |
2462 | pub const XATTR_NAME_POSIX_ACL_DEFAULT: &[u8; 25] = b"system.posix_acl_default \0" ; |
2463 | pub const MFD_CLOEXEC: u32 = 1; |
2464 | pub const MFD_ALLOW_SEALING: u32 = 2; |
2465 | pub const MFD_HUGETLB: u32 = 4; |
2466 | pub const MFD_NOEXEC_SEAL: u32 = 8; |
2467 | pub const MFD_EXEC: u32 = 16; |
2468 | pub const MFD_HUGE_SHIFT: u32 = 26; |
2469 | pub const MFD_HUGE_MASK: u32 = 63; |
2470 | pub const MFD_HUGE_64KB: u32 = 1073741824; |
2471 | pub const MFD_HUGE_512KB: u32 = 1275068416; |
2472 | pub const MFD_HUGE_1MB: u32 = 1342177280; |
2473 | pub const MFD_HUGE_2MB: u32 = 1409286144; |
2474 | pub const MFD_HUGE_8MB: u32 = 1543503872; |
2475 | pub const MFD_HUGE_16MB: u32 = 1610612736; |
2476 | pub const MFD_HUGE_32MB: u32 = 1677721600; |
2477 | pub const MFD_HUGE_256MB: u32 = 1879048192; |
2478 | pub const MFD_HUGE_512MB: u32 = 1946157056; |
2479 | pub const MFD_HUGE_1GB: u32 = 2013265920; |
2480 | pub const MFD_HUGE_2GB: u32 = 2080374784; |
2481 | pub const MFD_HUGE_16GB: u32 = 2281701376; |
2482 | pub const TFD_TIMER_ABSTIME: u32 = 1; |
2483 | pub const TFD_TIMER_CANCEL_ON_SET: u32 = 2; |
2484 | pub const TFD_CLOEXEC: u32 = 524288; |
2485 | pub const TFD_NONBLOCK: u32 = 2048; |
2486 | pub const USERFAULTFD_IOC: u32 = 170; |
2487 | pub const _UFFDIO_REGISTER: u32 = 0; |
2488 | pub const _UFFDIO_UNREGISTER: u32 = 1; |
2489 | pub const _UFFDIO_WAKE: u32 = 2; |
2490 | pub const _UFFDIO_COPY: u32 = 3; |
2491 | pub const _UFFDIO_ZEROPAGE: u32 = 4; |
2492 | pub const _UFFDIO_WRITEPROTECT: u32 = 6; |
2493 | pub const _UFFDIO_CONTINUE: u32 = 7; |
2494 | pub const _UFFDIO_API: u32 = 63; |
2495 | pub const UFFDIO: u32 = 170; |
2496 | pub const UFFD_EVENT_PAGEFAULT: u32 = 18; |
2497 | pub const UFFD_EVENT_FORK: u32 = 19; |
2498 | pub const UFFD_EVENT_REMAP: u32 = 20; |
2499 | pub const UFFD_EVENT_REMOVE: u32 = 21; |
2500 | pub const UFFD_EVENT_UNMAP: u32 = 22; |
2501 | pub const UFFD_PAGEFAULT_FLAG_WRITE: u32 = 1; |
2502 | pub const UFFD_PAGEFAULT_FLAG_WP: u32 = 2; |
2503 | pub const UFFD_PAGEFAULT_FLAG_MINOR: u32 = 4; |
2504 | pub const UFFD_FEATURE_PAGEFAULT_FLAG_WP: u32 = 1; |
2505 | pub const UFFD_FEATURE_EVENT_FORK: u32 = 2; |
2506 | pub const UFFD_FEATURE_EVENT_REMAP: u32 = 4; |
2507 | pub const UFFD_FEATURE_EVENT_REMOVE: u32 = 8; |
2508 | pub const UFFD_FEATURE_MISSING_HUGETLBFS: u32 = 16; |
2509 | pub const UFFD_FEATURE_MISSING_SHMEM: u32 = 32; |
2510 | pub const UFFD_FEATURE_EVENT_UNMAP: u32 = 64; |
2511 | pub const UFFD_FEATURE_SIGBUS: u32 = 128; |
2512 | pub const UFFD_FEATURE_THREAD_ID: u32 = 256; |
2513 | pub const UFFD_FEATURE_MINOR_HUGETLBFS: u32 = 512; |
2514 | pub const UFFD_FEATURE_MINOR_SHMEM: u32 = 1024; |
2515 | pub const UFFD_FEATURE_EXACT_ADDRESS: u32 = 2048; |
2516 | pub const UFFD_FEATURE_WP_HUGETLBFS_SHMEM: u32 = 4096; |
2517 | pub const UFFD_USER_MODE_ONLY: u32 = 1; |
2518 | pub const DT_UNKNOWN: u32 = 0; |
2519 | pub const DT_FIFO: u32 = 1; |
2520 | pub const DT_CHR: u32 = 2; |
2521 | pub const DT_DIR: u32 = 4; |
2522 | pub const DT_BLK: u32 = 6; |
2523 | pub const DT_REG: u32 = 8; |
2524 | pub const DT_LNK: u32 = 10; |
2525 | pub const DT_SOCK: u32 = 12; |
2526 | pub const STAT_HAVE_NSEC: u32 = 1; |
2527 | pub const F_OK: u32 = 0; |
2528 | pub const R_OK: u32 = 4; |
2529 | pub const W_OK: u32 = 2; |
2530 | pub const X_OK: u32 = 1; |
2531 | pub const UTIME_NOW: u32 = 1073741823; |
2532 | pub const UTIME_OMIT: u32 = 1073741822; |
2533 | pub const MNT_FORCE: u32 = 1; |
2534 | pub const MNT_DETACH: u32 = 2; |
2535 | pub const MNT_EXPIRE: u32 = 4; |
2536 | pub const UMOUNT_NOFOLLOW: u32 = 8; |
2537 | pub const UMOUNT_UNUSED: u32 = 2147483648; |
2538 | pub const STDIN_FILENO: u32 = 0; |
2539 | pub const STDOUT_FILENO: u32 = 1; |
2540 | pub const STDERR_FILENO: u32 = 2; |
2541 | pub const RWF_HIPRI: u32 = 1; |
2542 | pub const RWF_DSYNC: u32 = 2; |
2543 | pub const RWF_SYNC: u32 = 4; |
2544 | pub const RWF_NOWAIT: u32 = 8; |
2545 | pub const RWF_APPEND: u32 = 16; |
2546 | pub const EFD_SEMAPHORE: u32 = 1; |
2547 | pub const EFD_CLOEXEC: u32 = 524288; |
2548 | pub const EFD_NONBLOCK: u32 = 2048; |
2549 | pub const EPOLLIN: u32 = 1; |
2550 | pub const EPOLLPRI: u32 = 2; |
2551 | pub const EPOLLOUT: u32 = 4; |
2552 | pub const EPOLLERR: u32 = 8; |
2553 | pub const EPOLLHUP: u32 = 16; |
2554 | pub const EPOLLNVAL: u32 = 32; |
2555 | pub const EPOLLRDNORM: u32 = 64; |
2556 | pub const EPOLLRDBAND: u32 = 128; |
2557 | pub const EPOLLWRNORM: u32 = 256; |
2558 | pub const EPOLLWRBAND: u32 = 512; |
2559 | pub const EPOLLMSG: u32 = 1024; |
2560 | pub const EPOLLRDHUP: u32 = 8192; |
2561 | pub const EPOLLEXCLUSIVE: u32 = 268435456; |
2562 | pub const EPOLLWAKEUP: u32 = 536870912; |
2563 | pub const EPOLLONESHOT: u32 = 1073741824; |
2564 | pub const EPOLLET: u32 = 2147483648; |
2565 | pub const TFD_SHARED_FCNTL_FLAGS: u32 = 526336; |
2566 | pub const TFD_CREATE_FLAGS: u32 = 526336; |
2567 | pub const TFD_SETTIME_FLAGS: u32 = 1; |
2568 | pub const ARCH_SET_FS: u32 = 4098; |
2569 | pub const UFFD_API: u32 = 170; |
2570 | pub const UFFDIO_REGISTER_MODE_MISSING: u32 = 1; |
2571 | pub const UFFDIO_REGISTER_MODE_WP: u32 = 2; |
2572 | pub const UFFDIO_REGISTER_MODE_MINOR: u32 = 4; |
2573 | pub const UFFDIO_COPY_MODE_DONTWAKE: u32 = 1; |
2574 | pub const UFFDIO_COPY_MODE_WP: u32 = 2; |
2575 | pub const UFFDIO_ZEROPAGE_MODE_DONTWAKE: u32 = 1; |
2576 | pub const SPLICE_F_MOVE: u32 = 1; |
2577 | pub const SPLICE_F_NONBLOCK: u32 = 2; |
2578 | pub const SPLICE_F_MORE: u32 = 4; |
2579 | pub const SPLICE_F_GIFT: u32 = 8; |
2580 | pub const _NSIG: u32 = 64; |
2581 | #[repr (u32)] |
2582 | #[non_exhaustive ] |
2583 | #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] |
2584 | pub enum fsconfig_command { |
2585 | FSCONFIG_SET_FLAG = 0, |
2586 | FSCONFIG_SET_STRING = 1, |
2587 | FSCONFIG_SET_BINARY = 2, |
2588 | FSCONFIG_SET_PATH = 3, |
2589 | FSCONFIG_SET_PATH_EMPTY = 4, |
2590 | FSCONFIG_SET_FD = 5, |
2591 | FSCONFIG_CMD_CREATE = 6, |
2592 | FSCONFIG_CMD_RECONFIGURE = 7, |
2593 | } |
2594 | #[repr (u32)] |
2595 | #[non_exhaustive ] |
2596 | #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] |
2597 | pub enum membarrier_cmd { |
2598 | MEMBARRIER_CMD_QUERY = 0, |
2599 | MEMBARRIER_CMD_GLOBAL = 1, |
2600 | MEMBARRIER_CMD_GLOBAL_EXPEDITED = 2, |
2601 | MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED = 4, |
2602 | MEMBARRIER_CMD_PRIVATE_EXPEDITED = 8, |
2603 | MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED = 16, |
2604 | MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE = 32, |
2605 | MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE = 64, |
2606 | MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ = 128, |
2607 | MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_RSEQ = 256, |
2608 | MEMBARRIER_CMD_GET_REGISTRATIONS = 512, |
2609 | } |
2610 | #[repr (u32)] |
2611 | #[non_exhaustive ] |
2612 | #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] |
2613 | pub enum membarrier_cmd_flag { |
2614 | MEMBARRIER_CMD_FLAG_CPU = 1, |
2615 | } |
2616 | #[repr (C)] |
2617 | #[derive(Copy, Clone)] |
2618 | pub union fscrypt_get_policy_ex_arg__bindgen_ty_1 { |
2619 | pub version: __u8, |
2620 | pub v1: fscrypt_policy_v1, |
2621 | pub v2: fscrypt_policy_v2, |
2622 | } |
2623 | #[repr (C)] |
2624 | #[derive(Copy, Clone)] |
2625 | pub union fscrypt_key_specifier__bindgen_ty_1 { |
2626 | pub __reserved: [__u8; 32usize], |
2627 | pub descriptor: [__u8; 8usize], |
2628 | pub identifier: [__u8; 16usize], |
2629 | } |
2630 | #[repr (C)] |
2631 | #[derive(Copy, Clone)] |
2632 | pub union sigval { |
2633 | pub sival_int: crate::ctypes::c_int, |
2634 | pub sival_ptr: *mut crate::ctypes::c_void, |
2635 | } |
2636 | #[repr (C)] |
2637 | #[derive(Copy, Clone)] |
2638 | pub union __sifields { |
2639 | pub _kill: __sifields__bindgen_ty_1, |
2640 | pub _timer: __sifields__bindgen_ty_2, |
2641 | pub _rt: __sifields__bindgen_ty_3, |
2642 | pub _sigchld: __sifields__bindgen_ty_4, |
2643 | pub _sigfault: __sifields__bindgen_ty_5, |
2644 | pub _sigpoll: __sifields__bindgen_ty_6, |
2645 | pub _sigsys: __sifields__bindgen_ty_7, |
2646 | } |
2647 | #[repr (C)] |
2648 | #[derive(Copy, Clone)] |
2649 | pub union __sifields__bindgen_ty_5__bindgen_ty_1 { |
2650 | pub _trapno: crate::ctypes::c_int, |
2651 | pub _addr_lsb: crate::ctypes::c_short, |
2652 | pub _addr_bnd: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1, |
2653 | pub _addr_pkey: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2, |
2654 | pub _perf: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3, |
2655 | } |
2656 | #[repr (C)] |
2657 | #[derive(Copy, Clone)] |
2658 | pub union siginfo__bindgen_ty_1 { |
2659 | pub __bindgen_anon_1: siginfo__bindgen_ty_1__bindgen_ty_1, |
2660 | pub _si_pad: [crate::ctypes::c_int; 32usize], |
2661 | } |
2662 | #[repr (C)] |
2663 | #[derive(Copy, Clone)] |
2664 | pub union sigevent__bindgen_ty_1 { |
2665 | pub _pad: [crate::ctypes::c_int; 12usize], |
2666 | pub _tid: crate::ctypes::c_int, |
2667 | pub _sigev_thread: sigevent__bindgen_ty_1__bindgen_ty_1, |
2668 | } |
2669 | #[repr (C)] |
2670 | #[derive(Copy, Clone)] |
2671 | pub union uffd_msg__bindgen_ty_1 { |
2672 | pub pagefault: uffd_msg__bindgen_ty_1__bindgen_ty_1, |
2673 | pub fork: uffd_msg__bindgen_ty_1__bindgen_ty_2, |
2674 | pub remap: uffd_msg__bindgen_ty_1__bindgen_ty_3, |
2675 | pub remove: uffd_msg__bindgen_ty_1__bindgen_ty_4, |
2676 | pub reserved: uffd_msg__bindgen_ty_1__bindgen_ty_5, |
2677 | } |
2678 | #[repr (C)] |
2679 | #[derive(Copy, Clone)] |
2680 | pub union uffd_msg__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 { |
2681 | pub ptid: __u32, |
2682 | } |
2683 | impl<Storage> __BindgenBitfieldUnit<Storage> { |
2684 | #[inline ] |
2685 | pub const fn new(storage: Storage) -> Self { |
2686 | Self { storage } |
2687 | } |
2688 | } |
2689 | impl<Storage> __BindgenBitfieldUnit<Storage> |
2690 | where |
2691 | Storage: AsRef<[u8]> + AsMut<[u8]>, |
2692 | { |
2693 | #[inline ] |
2694 | pub fn get_bit(&self, index: usize) -> bool { |
2695 | debug_assert!(index / 8 < self.storage.as_ref().len()); |
2696 | let byte_index = index / 8; |
2697 | let byte = self.storage.as_ref()[byte_index]; |
2698 | let bit_index = if cfg!(target_endian = "big" ) { 7 - (index % 8) } else { index % 8 }; |
2699 | let mask = 1 << bit_index; |
2700 | byte & mask == mask |
2701 | } |
2702 | #[inline ] |
2703 | pub fn set_bit(&mut self, index: usize, val: bool) { |
2704 | debug_assert!(index / 8 < self.storage.as_ref().len()); |
2705 | let byte_index = index / 8; |
2706 | let byte = &mut self.storage.as_mut()[byte_index]; |
2707 | let bit_index = if cfg!(target_endian = "big" ) { 7 - (index % 8) } else { index % 8 }; |
2708 | let mask = 1 << bit_index; |
2709 | if val { |
2710 | *byte |= mask; |
2711 | } else { |
2712 | *byte &= !mask; |
2713 | } |
2714 | } |
2715 | #[inline ] |
2716 | pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { |
2717 | debug_assert!(bit_width <= 64); |
2718 | debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); |
2719 | debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); |
2720 | let mut val = 0; |
2721 | for i in 0..(bit_width as usize) { |
2722 | if self.get_bit(i + bit_offset) { |
2723 | let index = if cfg!(target_endian = "big" ) { bit_width as usize - 1 - i } else { i }; |
2724 | val |= 1 << index; |
2725 | } |
2726 | } |
2727 | val |
2728 | } |
2729 | #[inline ] |
2730 | pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { |
2731 | debug_assert!(bit_width <= 64); |
2732 | debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); |
2733 | debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); |
2734 | for i in 0..(bit_width as usize) { |
2735 | let mask = 1 << i; |
2736 | let val_bit_is_set = val & mask == mask; |
2737 | let index = if cfg!(target_endian = "big" ) { bit_width as usize - 1 - i } else { i }; |
2738 | self.set_bit(index + bit_offset, val_bit_is_set); |
2739 | } |
2740 | } |
2741 | } |
2742 | impl<T> __IncompleteArrayField<T> { |
2743 | #[inline ] |
2744 | pub const fn new() -> Self { |
2745 | __IncompleteArrayField(::core::marker::PhantomData, []) |
2746 | } |
2747 | #[inline ] |
2748 | pub fn as_ptr(&self) -> *const T { |
2749 | self as *const _ as *const T |
2750 | } |
2751 | #[inline ] |
2752 | pub fn as_mut_ptr(&mut self) -> *mut T { |
2753 | self as *mut _ as *mut T |
2754 | } |
2755 | #[inline ] |
2756 | pub unsafe fn as_slice(&self, len: usize) -> &[T] { |
2757 | ::core::slice::from_raw_parts(self.as_ptr(), len) |
2758 | } |
2759 | #[inline ] |
2760 | pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] { |
2761 | ::core::slice::from_raw_parts_mut(self.as_mut_ptr(), len) |
2762 | } |
2763 | } |
2764 | impl<T> ::core::fmt::Debug for __IncompleteArrayField<T> { |
2765 | fn fmt(&self, fmt: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
2766 | fmt.write_str("__IncompleteArrayField" ) |
2767 | } |
2768 | } |
2769 | impl membarrier_cmd { |
2770 | pub const MEMBARRIER_CMD_SHARED: membarrier_cmd = membarrier_cmd::MEMBARRIER_CMD_GLOBAL; |
2771 | } |
2772 | impl user_desc { |
2773 | #[inline ] |
2774 | pub fn seg_32bit(&self) -> crate::ctypes::c_uint { |
2775 | unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) } |
2776 | } |
2777 | #[inline ] |
2778 | pub fn set_seg_32bit(&mut self, val: crate::ctypes::c_uint) { |
2779 | unsafe { |
2780 | let val: u32 = ::core::mem::transmute(val); |
2781 | self._bitfield_1.set(0usize, 1u8, val as u64) |
2782 | } |
2783 | } |
2784 | #[inline ] |
2785 | pub fn contents(&self) -> crate::ctypes::c_uint { |
2786 | unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 2u8) as u32) } |
2787 | } |
2788 | #[inline ] |
2789 | pub fn set_contents(&mut self, val: crate::ctypes::c_uint) { |
2790 | unsafe { |
2791 | let val: u32 = ::core::mem::transmute(val); |
2792 | self._bitfield_1.set(1usize, 2u8, val as u64) |
2793 | } |
2794 | } |
2795 | #[inline ] |
2796 | pub fn read_exec_only(&self) -> crate::ctypes::c_uint { |
2797 | unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) } |
2798 | } |
2799 | #[inline ] |
2800 | pub fn set_read_exec_only(&mut self, val: crate::ctypes::c_uint) { |
2801 | unsafe { |
2802 | let val: u32 = ::core::mem::transmute(val); |
2803 | self._bitfield_1.set(3usize, 1u8, val as u64) |
2804 | } |
2805 | } |
2806 | #[inline ] |
2807 | pub fn limit_in_pages(&self) -> crate::ctypes::c_uint { |
2808 | unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u32) } |
2809 | } |
2810 | #[inline ] |
2811 | pub fn set_limit_in_pages(&mut self, val: crate::ctypes::c_uint) { |
2812 | unsafe { |
2813 | let val: u32 = ::core::mem::transmute(val); |
2814 | self._bitfield_1.set(4usize, 1u8, val as u64) |
2815 | } |
2816 | } |
2817 | #[inline ] |
2818 | pub fn seg_not_present(&self) -> crate::ctypes::c_uint { |
2819 | unsafe { ::core::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u32) } |
2820 | } |
2821 | #[inline ] |
2822 | pub fn set_seg_not_present(&mut self, val: crate::ctypes::c_uint) { |
2823 | unsafe { |
2824 | let val: u32 = ::core::mem::transmute(val); |
2825 | self._bitfield_1.set(5usize, 1u8, val as u64) |
2826 | } |
2827 | } |
2828 | #[inline ] |
2829 | pub fn useable(&self) -> crate::ctypes::c_uint { |
2830 | unsafe { ::core::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u32) } |
2831 | } |
2832 | #[inline ] |
2833 | pub fn set_useable(&mut self, val: crate::ctypes::c_uint) { |
2834 | unsafe { |
2835 | let val: u32 = ::core::mem::transmute(val); |
2836 | self._bitfield_1.set(6usize, 1u8, val as u64) |
2837 | } |
2838 | } |
2839 | #[inline ] |
2840 | pub fn lm(&self) -> crate::ctypes::c_uint { |
2841 | unsafe { ::core::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) } |
2842 | } |
2843 | #[inline ] |
2844 | pub fn set_lm(&mut self, val: crate::ctypes::c_uint) { |
2845 | unsafe { |
2846 | let val: u32 = ::core::mem::transmute(val); |
2847 | self._bitfield_1.set(7usize, 1u8, val as u64) |
2848 | } |
2849 | } |
2850 | #[inline ] |
2851 | pub fn new_bitfield_1(seg_32bit: crate::ctypes::c_uint, contents: crate::ctypes::c_uint, read_exec_only: crate::ctypes::c_uint, limit_in_pages: crate::ctypes::c_uint, seg_not_present: crate::ctypes::c_uint, useable: crate::ctypes::c_uint, lm: crate::ctypes::c_uint) -> __BindgenBitfieldUnit<[u8; 1usize]> { |
2852 | let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default(); |
2853 | __bindgen_bitfield_unit.set(0usize, 1u8, { |
2854 | let seg_32bit: u32 = unsafe { ::core::mem::transmute(seg_32bit) }; |
2855 | seg_32bit as u64 |
2856 | }); |
2857 | __bindgen_bitfield_unit.set(1usize, 2u8, { |
2858 | let contents: u32 = unsafe { ::core::mem::transmute(contents) }; |
2859 | contents as u64 |
2860 | }); |
2861 | __bindgen_bitfield_unit.set(3usize, 1u8, { |
2862 | let read_exec_only: u32 = unsafe { ::core::mem::transmute(read_exec_only) }; |
2863 | read_exec_only as u64 |
2864 | }); |
2865 | __bindgen_bitfield_unit.set(4usize, 1u8, { |
2866 | let limit_in_pages: u32 = unsafe { ::core::mem::transmute(limit_in_pages) }; |
2867 | limit_in_pages as u64 |
2868 | }); |
2869 | __bindgen_bitfield_unit.set(5usize, 1u8, { |
2870 | let seg_not_present: u32 = unsafe { ::core::mem::transmute(seg_not_present) }; |
2871 | seg_not_present as u64 |
2872 | }); |
2873 | __bindgen_bitfield_unit.set(6usize, 1u8, { |
2874 | let useable: u32 = unsafe { ::core::mem::transmute(useable) }; |
2875 | useable as u64 |
2876 | }); |
2877 | __bindgen_bitfield_unit.set(7usize, 1u8, { |
2878 | let lm: u32 = unsafe { ::core::mem::transmute(lm) }; |
2879 | lm as u64 |
2880 | }); |
2881 | __bindgen_bitfield_unit |
2882 | } |
2883 | } |
2884 | |