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