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