linux_raw_sys/
lib.rs

1#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
2#![cfg_attr(not(feature = "std"), no_std)]
3/*
4Unsafe functions no longer implicitly create unsafe blocks (RFC 2585).
5While newer bindgen versions follow this convention, we support Rust 1.63 which warns about
6this behavior. We can simply silence these warnings.
7*/
8#![allow(unused_unsafe)]
9
10#[cfg(feature = "std")]
11pub use std::os::raw as ctypes;
12
13#[cfg(all(not(feature = "std"), feature = "no_std"))]
14pub mod ctypes {
15    // The signedness of `char` is platform-specific, and we have to match
16    // what Rust's `CStr` uses.
17    #[cfg(any(
18        target_arch = "aarch64",
19        target_arch = "arm",
20        target_arch = "msp430",
21        target_arch = "powerpc",
22        target_arch = "powerpc64",
23        target_arch = "riscv32",
24        target_arch = "riscv64",
25        target_arch = "s390x",
26    ))]
27    pub type c_char = c_uchar;
28    #[cfg(any(
29        target_arch = "loongarch64",
30        target_arch = "mips",
31        target_arch = "mips64",
32        target_arch = "mips32r6",
33        target_arch = "mips64r6",
34        target_arch = "sparc",
35        target_arch = "sparc64",
36        target_arch = "x86",
37        target_arch = "x86_64",
38        target_arch = "xtensa",
39    ))]
40    pub type c_char = c_schar;
41
42    // The following assumes that Linux is always either ILP32 or LP64,
43    // and char is always 8-bit.
44    //
45    // In theory, `c_long` and `c_ulong` could be `isize` and `usize`
46    // respectively, however in practice Linux doesn't use them in that way
47    // consistently. So stick with the convention followed by `libc` and
48    // others and use the fixed-width types.
49    pub type c_schar = i8;
50    pub type c_uchar = u8;
51    pub type c_short = i16;
52    pub type c_ushort = u16;
53    pub type c_int = i32;
54    pub type c_uint = u32;
55    #[cfg(target_pointer_width = "32")]
56    pub type c_long = i32;
57    #[cfg(target_pointer_width = "32")]
58    pub type c_ulong = u32;
59    #[cfg(target_pointer_width = "64")]
60    pub type c_long = i64;
61    #[cfg(target_pointer_width = "64")]
62    pub type c_ulong = u64;
63    pub type c_longlong = i64;
64    pub type c_ulonglong = u64;
65    pub type c_float = f32;
66    pub type c_double = f64;
67
68    pub use core::ffi::c_void;
69}
70
71// Confirm that our type definitions above match the actual type definitions.
72#[cfg(test)]
73mod assertions {
74    use super::ctypes;
75    static_assertions::assert_eq_size!(ctypes::c_char, libc::c_char);
76    static_assertions::assert_type_eq_all!(ctypes::c_schar, libc::c_schar);
77    static_assertions::assert_type_eq_all!(ctypes::c_uchar, libc::c_uchar);
78    static_assertions::assert_type_eq_all!(ctypes::c_short, libc::c_short);
79    static_assertions::assert_type_eq_all!(ctypes::c_ushort, libc::c_ushort);
80    static_assertions::assert_type_eq_all!(ctypes::c_int, libc::c_int);
81    static_assertions::assert_type_eq_all!(ctypes::c_uint, libc::c_uint);
82    static_assertions::assert_type_eq_all!(ctypes::c_long, libc::c_long);
83    static_assertions::assert_type_eq_all!(ctypes::c_ulong, libc::c_ulong);
84    static_assertions::assert_type_eq_all!(ctypes::c_longlong, libc::c_longlong);
85    static_assertions::assert_type_eq_all!(ctypes::c_ulonglong, libc::c_ulonglong);
86    static_assertions::assert_type_eq_all!(ctypes::c_float, libc::c_float);
87    static_assertions::assert_type_eq_all!(ctypes::c_double, libc::c_double);
88}
89
90// We don't enable `derive_eq` in bindgen because adding `PartialEq`/`Eq` to
91// *all* structs noticeably increases compile times. But we can add a few
92// manual impls where they're especially useful.
93#[cfg(feature = "general")]
94impl PartialEq for general::__kernel_timespec {
95    fn eq(&self, other: &Self) -> bool {
96        ({
97            let Self { tv_sec, tv_nsec } = self;
98            (tv_sec, tv_nsec)
99        }) == ({
100            let Self { tv_sec, tv_nsec } = other;
101            (tv_sec, tv_nsec)
102        })
103    }
104}
105#[cfg(feature = "general")]
106impl Eq for general::__kernel_timespec {}
107
108#[cfg(feature = "net")]
109pub mod cmsg_macros {
110    use crate::ctypes::{c_long, c_uchar, c_uint};
111    use crate::net::{cmsghdr, msghdr};
112    use core::mem::size_of;
113    use core::ptr;
114
115    pub const unsafe fn CMSG_ALIGN(len: c_uint) -> c_uint {
116        let c_long_size = size_of::<c_long>() as c_uint;
117        (len + c_long_size - 1) & !(c_long_size - 1)
118    }
119
120    pub const unsafe fn CMSG_DATA(cmsg: *const cmsghdr) -> *mut c_uchar {
121        (cmsg as *mut c_uchar).add(size_of::<cmsghdr>())
122    }
123
124    pub const unsafe fn CMSG_SPACE(len: c_uint) -> c_uint {
125        size_of::<cmsghdr>() as c_uint + CMSG_ALIGN(len)
126    }
127
128    pub const unsafe fn CMSG_LEN(len: c_uint) -> c_uint {
129        size_of::<cmsghdr>() as c_uint + len
130    }
131
132    pub const unsafe fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr {
133        if (*mhdr).msg_controllen < size_of::<cmsghdr>() as _ {
134            return ptr::null_mut();
135        }
136
137        (*mhdr).msg_control as *mut cmsghdr
138    }
139
140    pub unsafe fn CMSG_NXTHDR(mhdr: *const msghdr, cmsg: *const cmsghdr) -> *mut cmsghdr {
141        // We convert from raw pointers to usize here, which may not be sound in a
142        // future version of Rust. Once the provenance rules are set in stone,
143        // it will be a good idea to give this function a once-over.
144
145        let cmsg_len = (*cmsg).cmsg_len;
146        let next_cmsg = (cmsg as *mut u8).add(CMSG_ALIGN(cmsg_len as _) as usize) as *mut cmsghdr;
147        let max = ((*mhdr).msg_control as usize) + ((*mhdr).msg_controllen as usize);
148
149        if cmsg_len < size_of::<cmsghdr>() as _ {
150            return ptr::null_mut();
151        }
152
153        if next_cmsg.add(1) as usize > max
154            || next_cmsg as usize + CMSG_ALIGN((*next_cmsg).cmsg_len as _) as usize > max
155        {
156            return ptr::null_mut();
157        }
158
159        next_cmsg
160    }
161}
162
163#[cfg(feature = "general")]
164pub mod select_macros {
165    use crate::ctypes::c_int;
166    use crate::general::__kernel_fd_set;
167    use core::mem::size_of;
168
169    pub unsafe fn FD_CLR(fd: c_int, set: *mut __kernel_fd_set) {
170        let bytes = set as *mut u8;
171        if fd >= 0 {
172            *bytes.add((fd / 8) as usize) &= !(1 << (fd % 8));
173        }
174    }
175
176    pub unsafe fn FD_SET(fd: c_int, set: *mut __kernel_fd_set) {
177        let bytes = set as *mut u8;
178        if fd >= 0 {
179            *bytes.add((fd / 8) as usize) |= 1 << (fd % 8);
180        }
181    }
182
183    pub unsafe fn FD_ISSET(fd: c_int, set: *const __kernel_fd_set) -> bool {
184        let bytes = set as *const u8;
185        if fd >= 0 {
186            *bytes.add((fd / 8) as usize) & (1 << (fd % 8)) != 0
187        } else {
188            false
189        }
190    }
191
192    pub unsafe fn FD_ZERO(set: *mut __kernel_fd_set) {
193        let bytes = set as *mut u8;
194        core::ptr::write_bytes(bytes, 0, size_of::<__kernel_fd_set>());
195    }
196}
197
198#[cfg(feature = "general")]
199pub mod signal_macros {
200    pub const SIG_DFL: super::general::__kernel_sighandler_t = None;
201
202    /// Rust doesn't currently permit us to use `transmute` to convert the
203    /// `SIG_IGN` value into a function pointer in a `const` initializer, so
204    /// we make it a function instead.
205    ///
206    #[inline]
207    pub const fn sig_ign() -> super::general::__kernel_sighandler_t {
208        // Safety: This creates an invalid pointer, but the pointer type
209        // includes `unsafe`, which covers the safety of calling it.
210        Some(unsafe {
211            core::mem::transmute::<usize, unsafe extern "C" fn(crate::ctypes::c_int)>(1)
212        })
213    }
214}
215
216#[cfg(feature = "elf")]
217pub mod elf;
218
219// The rest of this file is auto-generated!
220#[cfg(feature = "auxvec")]
221#[cfg(target_arch = "arm")]
222#[path = "arm/auxvec.rs"]
223pub mod auxvec;
224#[cfg(feature = "bootparam")]
225#[cfg(target_arch = "arm")]
226#[path = "arm/bootparam.rs"]
227pub mod bootparam;
228#[cfg(feature = "btrfs")]
229#[cfg(target_arch = "arm")]
230#[path = "arm/btrfs.rs"]
231pub mod btrfs;
232#[cfg(feature = "elf_uapi")]
233#[cfg(target_arch = "arm")]
234#[path = "arm/elf_uapi.rs"]
235pub mod elf_uapi;
236#[cfg(feature = "errno")]
237#[cfg(target_arch = "arm")]
238#[path = "arm/errno.rs"]
239pub mod errno;
240#[cfg(feature = "general")]
241#[cfg(target_arch = "arm")]
242#[path = "arm/general.rs"]
243pub mod general;
244#[cfg(feature = "if_arp")]
245#[cfg(target_arch = "arm")]
246#[path = "arm/if_arp.rs"]
247pub mod if_arp;
248#[cfg(feature = "if_ether")]
249#[cfg(target_arch = "arm")]
250#[path = "arm/if_ether.rs"]
251pub mod if_ether;
252#[cfg(feature = "if_packet")]
253#[cfg(target_arch = "arm")]
254#[path = "arm/if_packet.rs"]
255pub mod if_packet;
256#[cfg(feature = "if_tun")]
257#[cfg(target_arch = "arm")]
258#[path = "arm/if_tun.rs"]
259pub mod if_tun;
260#[cfg(feature = "image")]
261#[cfg(target_arch = "arm")]
262#[path = "arm/image.rs"]
263pub mod image;
264#[cfg(feature = "io_uring")]
265#[cfg(target_arch = "arm")]
266#[path = "arm/io_uring.rs"]
267pub mod io_uring;
268#[cfg(feature = "ioctl")]
269#[cfg(target_arch = "arm")]
270#[path = "arm/ioctl.rs"]
271pub mod ioctl;
272#[cfg(feature = "landlock")]
273#[cfg(target_arch = "arm")]
274#[path = "arm/landlock.rs"]
275pub mod landlock;
276#[cfg(feature = "loop_device")]
277#[cfg(target_arch = "arm")]
278#[path = "arm/loop_device.rs"]
279pub mod loop_device;
280#[cfg(feature = "mempolicy")]
281#[cfg(target_arch = "arm")]
282#[path = "arm/mempolicy.rs"]
283pub mod mempolicy;
284#[cfg(feature = "net")]
285#[cfg(target_arch = "arm")]
286#[path = "arm/net.rs"]
287pub mod net;
288#[cfg(feature = "netlink")]
289#[cfg(target_arch = "arm")]
290#[path = "arm/netlink.rs"]
291pub mod netlink;
292#[cfg(feature = "prctl")]
293#[cfg(target_arch = "arm")]
294#[path = "arm/prctl.rs"]
295pub mod prctl;
296#[cfg(feature = "ptrace")]
297#[cfg(target_arch = "arm")]
298#[path = "arm/ptrace.rs"]
299pub mod ptrace;
300#[cfg(feature = "system")]
301#[cfg(target_arch = "arm")]
302#[path = "arm/system.rs"]
303pub mod system;
304#[cfg(feature = "xdp")]
305#[cfg(target_arch = "arm")]
306#[path = "arm/xdp.rs"]
307pub mod xdp;
308#[cfg(feature = "auxvec")]
309#[cfg(target_arch = "aarch64")]
310#[path = "aarch64/auxvec.rs"]
311pub mod auxvec;
312#[cfg(feature = "bootparam")]
313#[cfg(target_arch = "aarch64")]
314#[path = "aarch64/bootparam.rs"]
315pub mod bootparam;
316#[cfg(feature = "btrfs")]
317#[cfg(target_arch = "aarch64")]
318#[path = "aarch64/btrfs.rs"]
319pub mod btrfs;
320#[cfg(feature = "elf_uapi")]
321#[cfg(target_arch = "aarch64")]
322#[path = "aarch64/elf_uapi.rs"]
323pub mod elf_uapi;
324#[cfg(feature = "errno")]
325#[cfg(target_arch = "aarch64")]
326#[path = "aarch64/errno.rs"]
327pub mod errno;
328#[cfg(feature = "general")]
329#[cfg(target_arch = "aarch64")]
330#[path = "aarch64/general.rs"]
331pub mod general;
332#[cfg(feature = "if_arp")]
333#[cfg(target_arch = "aarch64")]
334#[path = "aarch64/if_arp.rs"]
335pub mod if_arp;
336#[cfg(feature = "if_ether")]
337#[cfg(target_arch = "aarch64")]
338#[path = "aarch64/if_ether.rs"]
339pub mod if_ether;
340#[cfg(feature = "if_packet")]
341#[cfg(target_arch = "aarch64")]
342#[path = "aarch64/if_packet.rs"]
343pub mod if_packet;
344#[cfg(feature = "if_tun")]
345#[cfg(target_arch = "aarch64")]
346#[path = "aarch64/if_tun.rs"]
347pub mod if_tun;
348#[cfg(feature = "image")]
349#[cfg(target_arch = "aarch64")]
350#[path = "aarch64/image.rs"]
351pub mod image;
352#[cfg(feature = "io_uring")]
353#[cfg(target_arch = "aarch64")]
354#[path = "aarch64/io_uring.rs"]
355pub mod io_uring;
356#[cfg(feature = "ioctl")]
357#[cfg(target_arch = "aarch64")]
358#[path = "aarch64/ioctl.rs"]
359pub mod ioctl;
360#[cfg(feature = "landlock")]
361#[cfg(target_arch = "aarch64")]
362#[path = "aarch64/landlock.rs"]
363pub mod landlock;
364#[cfg(feature = "loop_device")]
365#[cfg(target_arch = "aarch64")]
366#[path = "aarch64/loop_device.rs"]
367pub mod loop_device;
368#[cfg(feature = "mempolicy")]
369#[cfg(target_arch = "aarch64")]
370#[path = "aarch64/mempolicy.rs"]
371pub mod mempolicy;
372#[cfg(feature = "net")]
373#[cfg(target_arch = "aarch64")]
374#[path = "aarch64/net.rs"]
375pub mod net;
376#[cfg(feature = "netlink")]
377#[cfg(target_arch = "aarch64")]
378#[path = "aarch64/netlink.rs"]
379pub mod netlink;
380#[cfg(feature = "prctl")]
381#[cfg(target_arch = "aarch64")]
382#[path = "aarch64/prctl.rs"]
383pub mod prctl;
384#[cfg(feature = "ptrace")]
385#[cfg(target_arch = "aarch64")]
386#[path = "aarch64/ptrace.rs"]
387pub mod ptrace;
388#[cfg(feature = "system")]
389#[cfg(target_arch = "aarch64")]
390#[path = "aarch64/system.rs"]
391pub mod system;
392#[cfg(feature = "xdp")]
393#[cfg(target_arch = "aarch64")]
394#[path = "aarch64/xdp.rs"]
395pub mod xdp;
396#[cfg(feature = "auxvec")]
397#[cfg(target_arch = "csky")]
398#[path = "csky/auxvec.rs"]
399pub mod auxvec;
400#[cfg(feature = "bootparam")]
401#[cfg(target_arch = "csky")]
402#[path = "csky/bootparam.rs"]
403pub mod bootparam;
404#[cfg(feature = "btrfs")]
405#[cfg(target_arch = "csky")]
406#[path = "csky/btrfs.rs"]
407pub mod btrfs;
408#[cfg(feature = "elf_uapi")]
409#[cfg(target_arch = "csky")]
410#[path = "csky/elf_uapi.rs"]
411pub mod elf_uapi;
412#[cfg(feature = "errno")]
413#[cfg(target_arch = "csky")]
414#[path = "csky/errno.rs"]
415pub mod errno;
416#[cfg(feature = "general")]
417#[cfg(target_arch = "csky")]
418#[path = "csky/general.rs"]
419pub mod general;
420#[cfg(feature = "if_arp")]
421#[cfg(target_arch = "csky")]
422#[path = "csky/if_arp.rs"]
423pub mod if_arp;
424#[cfg(feature = "if_ether")]
425#[cfg(target_arch = "csky")]
426#[path = "csky/if_ether.rs"]
427pub mod if_ether;
428#[cfg(feature = "if_packet")]
429#[cfg(target_arch = "csky")]
430#[path = "csky/if_packet.rs"]
431pub mod if_packet;
432#[cfg(feature = "if_tun")]
433#[cfg(target_arch = "csky")]
434#[path = "csky/if_tun.rs"]
435pub mod if_tun;
436#[cfg(feature = "image")]
437#[cfg(target_arch = "csky")]
438#[path = "csky/image.rs"]
439pub mod image;
440#[cfg(feature = "io_uring")]
441#[cfg(target_arch = "csky")]
442#[path = "csky/io_uring.rs"]
443pub mod io_uring;
444#[cfg(feature = "ioctl")]
445#[cfg(target_arch = "csky")]
446#[path = "csky/ioctl.rs"]
447pub mod ioctl;
448#[cfg(feature = "landlock")]
449#[cfg(target_arch = "csky")]
450#[path = "csky/landlock.rs"]
451pub mod landlock;
452#[cfg(feature = "loop_device")]
453#[cfg(target_arch = "csky")]
454#[path = "csky/loop_device.rs"]
455pub mod loop_device;
456#[cfg(feature = "mempolicy")]
457#[cfg(target_arch = "csky")]
458#[path = "csky/mempolicy.rs"]
459pub mod mempolicy;
460#[cfg(feature = "net")]
461#[cfg(target_arch = "csky")]
462#[path = "csky/net.rs"]
463pub mod net;
464#[cfg(feature = "netlink")]
465#[cfg(target_arch = "csky")]
466#[path = "csky/netlink.rs"]
467pub mod netlink;
468#[cfg(feature = "prctl")]
469#[cfg(target_arch = "csky")]
470#[path = "csky/prctl.rs"]
471pub mod prctl;
472#[cfg(feature = "ptrace")]
473#[cfg(target_arch = "csky")]
474#[path = "csky/ptrace.rs"]
475pub mod ptrace;
476#[cfg(feature = "system")]
477#[cfg(target_arch = "csky")]
478#[path = "csky/system.rs"]
479pub mod system;
480#[cfg(feature = "xdp")]
481#[cfg(target_arch = "csky")]
482#[path = "csky/xdp.rs"]
483pub mod xdp;
484#[cfg(feature = "auxvec")]
485#[cfg(target_arch = "loongarch64")]
486#[path = "loongarch64/auxvec.rs"]
487pub mod auxvec;
488#[cfg(feature = "bootparam")]
489#[cfg(target_arch = "loongarch64")]
490#[path = "loongarch64/bootparam.rs"]
491pub mod bootparam;
492#[cfg(feature = "btrfs")]
493#[cfg(target_arch = "loongarch64")]
494#[path = "loongarch64/btrfs.rs"]
495pub mod btrfs;
496#[cfg(feature = "elf_uapi")]
497#[cfg(target_arch = "loongarch64")]
498#[path = "loongarch64/elf_uapi.rs"]
499pub mod elf_uapi;
500#[cfg(feature = "errno")]
501#[cfg(target_arch = "loongarch64")]
502#[path = "loongarch64/errno.rs"]
503pub mod errno;
504#[cfg(feature = "general")]
505#[cfg(target_arch = "loongarch64")]
506#[path = "loongarch64/general.rs"]
507pub mod general;
508#[cfg(feature = "if_arp")]
509#[cfg(target_arch = "loongarch64")]
510#[path = "loongarch64/if_arp.rs"]
511pub mod if_arp;
512#[cfg(feature = "if_ether")]
513#[cfg(target_arch = "loongarch64")]
514#[path = "loongarch64/if_ether.rs"]
515pub mod if_ether;
516#[cfg(feature = "if_packet")]
517#[cfg(target_arch = "loongarch64")]
518#[path = "loongarch64/if_packet.rs"]
519pub mod if_packet;
520#[cfg(feature = "if_tun")]
521#[cfg(target_arch = "loongarch64")]
522#[path = "loongarch64/if_tun.rs"]
523pub mod if_tun;
524#[cfg(feature = "image")]
525#[cfg(target_arch = "loongarch64")]
526#[path = "loongarch64/image.rs"]
527pub mod image;
528#[cfg(feature = "io_uring")]
529#[cfg(target_arch = "loongarch64")]
530#[path = "loongarch64/io_uring.rs"]
531pub mod io_uring;
532#[cfg(feature = "ioctl")]
533#[cfg(target_arch = "loongarch64")]
534#[path = "loongarch64/ioctl.rs"]
535pub mod ioctl;
536#[cfg(feature = "landlock")]
537#[cfg(target_arch = "loongarch64")]
538#[path = "loongarch64/landlock.rs"]
539pub mod landlock;
540#[cfg(feature = "loop_device")]
541#[cfg(target_arch = "loongarch64")]
542#[path = "loongarch64/loop_device.rs"]
543pub mod loop_device;
544#[cfg(feature = "mempolicy")]
545#[cfg(target_arch = "loongarch64")]
546#[path = "loongarch64/mempolicy.rs"]
547pub mod mempolicy;
548#[cfg(feature = "net")]
549#[cfg(target_arch = "loongarch64")]
550#[path = "loongarch64/net.rs"]
551pub mod net;
552#[cfg(feature = "netlink")]
553#[cfg(target_arch = "loongarch64")]
554#[path = "loongarch64/netlink.rs"]
555pub mod netlink;
556#[cfg(feature = "prctl")]
557#[cfg(target_arch = "loongarch64")]
558#[path = "loongarch64/prctl.rs"]
559pub mod prctl;
560#[cfg(feature = "ptrace")]
561#[cfg(target_arch = "loongarch64")]
562#[path = "loongarch64/ptrace.rs"]
563pub mod ptrace;
564#[cfg(feature = "system")]
565#[cfg(target_arch = "loongarch64")]
566#[path = "loongarch64/system.rs"]
567pub mod system;
568#[cfg(feature = "xdp")]
569#[cfg(target_arch = "loongarch64")]
570#[path = "loongarch64/xdp.rs"]
571pub mod xdp;
572#[cfg(feature = "auxvec")]
573#[cfg(target_arch = "mips")]
574#[path = "mips/auxvec.rs"]
575pub mod auxvec;
576#[cfg(feature = "bootparam")]
577#[cfg(target_arch = "mips")]
578#[path = "mips/bootparam.rs"]
579pub mod bootparam;
580#[cfg(feature = "btrfs")]
581#[cfg(target_arch = "mips")]
582#[path = "mips/btrfs.rs"]
583pub mod btrfs;
584#[cfg(feature = "elf_uapi")]
585#[cfg(target_arch = "mips")]
586#[path = "mips/elf_uapi.rs"]
587pub mod elf_uapi;
588#[cfg(feature = "errno")]
589#[cfg(target_arch = "mips")]
590#[path = "mips/errno.rs"]
591pub mod errno;
592#[cfg(feature = "general")]
593#[cfg(target_arch = "mips")]
594#[path = "mips/general.rs"]
595pub mod general;
596#[cfg(feature = "if_arp")]
597#[cfg(target_arch = "mips")]
598#[path = "mips/if_arp.rs"]
599pub mod if_arp;
600#[cfg(feature = "if_ether")]
601#[cfg(target_arch = "mips")]
602#[path = "mips/if_ether.rs"]
603pub mod if_ether;
604#[cfg(feature = "if_packet")]
605#[cfg(target_arch = "mips")]
606#[path = "mips/if_packet.rs"]
607pub mod if_packet;
608#[cfg(feature = "if_tun")]
609#[cfg(target_arch = "mips")]
610#[path = "mips/if_tun.rs"]
611pub mod if_tun;
612#[cfg(feature = "image")]
613#[cfg(target_arch = "mips")]
614#[path = "mips/image.rs"]
615pub mod image;
616#[cfg(feature = "io_uring")]
617#[cfg(target_arch = "mips")]
618#[path = "mips/io_uring.rs"]
619pub mod io_uring;
620#[cfg(feature = "ioctl")]
621#[cfg(target_arch = "mips")]
622#[path = "mips/ioctl.rs"]
623pub mod ioctl;
624#[cfg(feature = "landlock")]
625#[cfg(target_arch = "mips")]
626#[path = "mips/landlock.rs"]
627pub mod landlock;
628#[cfg(feature = "loop_device")]
629#[cfg(target_arch = "mips")]
630#[path = "mips/loop_device.rs"]
631pub mod loop_device;
632#[cfg(feature = "mempolicy")]
633#[cfg(target_arch = "mips")]
634#[path = "mips/mempolicy.rs"]
635pub mod mempolicy;
636#[cfg(feature = "net")]
637#[cfg(target_arch = "mips")]
638#[path = "mips/net.rs"]
639pub mod net;
640#[cfg(feature = "netlink")]
641#[cfg(target_arch = "mips")]
642#[path = "mips/netlink.rs"]
643pub mod netlink;
644#[cfg(feature = "prctl")]
645#[cfg(target_arch = "mips")]
646#[path = "mips/prctl.rs"]
647pub mod prctl;
648#[cfg(feature = "ptrace")]
649#[cfg(target_arch = "mips")]
650#[path = "mips/ptrace.rs"]
651pub mod ptrace;
652#[cfg(feature = "system")]
653#[cfg(target_arch = "mips")]
654#[path = "mips/system.rs"]
655pub mod system;
656#[cfg(feature = "xdp")]
657#[cfg(target_arch = "mips")]
658#[path = "mips/xdp.rs"]
659pub mod xdp;
660#[cfg(feature = "auxvec")]
661#[cfg(target_arch = "mips64")]
662#[path = "mips64/auxvec.rs"]
663pub mod auxvec;
664#[cfg(feature = "bootparam")]
665#[cfg(target_arch = "mips64")]
666#[path = "mips64/bootparam.rs"]
667pub mod bootparam;
668#[cfg(feature = "btrfs")]
669#[cfg(target_arch = "mips64")]
670#[path = "mips64/btrfs.rs"]
671pub mod btrfs;
672#[cfg(feature = "elf_uapi")]
673#[cfg(target_arch = "mips64")]
674#[path = "mips64/elf_uapi.rs"]
675pub mod elf_uapi;
676#[cfg(feature = "errno")]
677#[cfg(target_arch = "mips64")]
678#[path = "mips64/errno.rs"]
679pub mod errno;
680#[cfg(feature = "general")]
681#[cfg(target_arch = "mips64")]
682#[path = "mips64/general.rs"]
683pub mod general;
684#[cfg(feature = "if_arp")]
685#[cfg(target_arch = "mips64")]
686#[path = "mips64/if_arp.rs"]
687pub mod if_arp;
688#[cfg(feature = "if_ether")]
689#[cfg(target_arch = "mips64")]
690#[path = "mips64/if_ether.rs"]
691pub mod if_ether;
692#[cfg(feature = "if_packet")]
693#[cfg(target_arch = "mips64")]
694#[path = "mips64/if_packet.rs"]
695pub mod if_packet;
696#[cfg(feature = "if_tun")]
697#[cfg(target_arch = "mips64")]
698#[path = "mips64/if_tun.rs"]
699pub mod if_tun;
700#[cfg(feature = "image")]
701#[cfg(target_arch = "mips64")]
702#[path = "mips64/image.rs"]
703pub mod image;
704#[cfg(feature = "io_uring")]
705#[cfg(target_arch = "mips64")]
706#[path = "mips64/io_uring.rs"]
707pub mod io_uring;
708#[cfg(feature = "ioctl")]
709#[cfg(target_arch = "mips64")]
710#[path = "mips64/ioctl.rs"]
711pub mod ioctl;
712#[cfg(feature = "landlock")]
713#[cfg(target_arch = "mips64")]
714#[path = "mips64/landlock.rs"]
715pub mod landlock;
716#[cfg(feature = "loop_device")]
717#[cfg(target_arch = "mips64")]
718#[path = "mips64/loop_device.rs"]
719pub mod loop_device;
720#[cfg(feature = "mempolicy")]
721#[cfg(target_arch = "mips64")]
722#[path = "mips64/mempolicy.rs"]
723pub mod mempolicy;
724#[cfg(feature = "net")]
725#[cfg(target_arch = "mips64")]
726#[path = "mips64/net.rs"]
727pub mod net;
728#[cfg(feature = "netlink")]
729#[cfg(target_arch = "mips64")]
730#[path = "mips64/netlink.rs"]
731pub mod netlink;
732#[cfg(feature = "prctl")]
733#[cfg(target_arch = "mips64")]
734#[path = "mips64/prctl.rs"]
735pub mod prctl;
736#[cfg(feature = "ptrace")]
737#[cfg(target_arch = "mips64")]
738#[path = "mips64/ptrace.rs"]
739pub mod ptrace;
740#[cfg(feature = "system")]
741#[cfg(target_arch = "mips64")]
742#[path = "mips64/system.rs"]
743pub mod system;
744#[cfg(feature = "xdp")]
745#[cfg(target_arch = "mips64")]
746#[path = "mips64/xdp.rs"]
747pub mod xdp;
748#[cfg(feature = "auxvec")]
749#[cfg(target_arch = "mips32r6")]
750#[path = "mips32r6/auxvec.rs"]
751pub mod auxvec;
752#[cfg(feature = "bootparam")]
753#[cfg(target_arch = "mips32r6")]
754#[path = "mips32r6/bootparam.rs"]
755pub mod bootparam;
756#[cfg(feature = "btrfs")]
757#[cfg(target_arch = "mips32r6")]
758#[path = "mips32r6/btrfs.rs"]
759pub mod btrfs;
760#[cfg(feature = "elf_uapi")]
761#[cfg(target_arch = "mips32r6")]
762#[path = "mips32r6/elf_uapi.rs"]
763pub mod elf_uapi;
764#[cfg(feature = "errno")]
765#[cfg(target_arch = "mips32r6")]
766#[path = "mips32r6/errno.rs"]
767pub mod errno;
768#[cfg(feature = "general")]
769#[cfg(target_arch = "mips32r6")]
770#[path = "mips32r6/general.rs"]
771pub mod general;
772#[cfg(feature = "if_arp")]
773#[cfg(target_arch = "mips32r6")]
774#[path = "mips32r6/if_arp.rs"]
775pub mod if_arp;
776#[cfg(feature = "if_ether")]
777#[cfg(target_arch = "mips32r6")]
778#[path = "mips32r6/if_ether.rs"]
779pub mod if_ether;
780#[cfg(feature = "if_packet")]
781#[cfg(target_arch = "mips32r6")]
782#[path = "mips32r6/if_packet.rs"]
783pub mod if_packet;
784#[cfg(feature = "if_tun")]
785#[cfg(target_arch = "mips32r6")]
786#[path = "mips32r6/if_tun.rs"]
787pub mod if_tun;
788#[cfg(feature = "image")]
789#[cfg(target_arch = "mips32r6")]
790#[path = "mips32r6/image.rs"]
791pub mod image;
792#[cfg(feature = "io_uring")]
793#[cfg(target_arch = "mips32r6")]
794#[path = "mips32r6/io_uring.rs"]
795pub mod io_uring;
796#[cfg(feature = "ioctl")]
797#[cfg(target_arch = "mips32r6")]
798#[path = "mips32r6/ioctl.rs"]
799pub mod ioctl;
800#[cfg(feature = "landlock")]
801#[cfg(target_arch = "mips32r6")]
802#[path = "mips32r6/landlock.rs"]
803pub mod landlock;
804#[cfg(feature = "loop_device")]
805#[cfg(target_arch = "mips32r6")]
806#[path = "mips32r6/loop_device.rs"]
807pub mod loop_device;
808#[cfg(feature = "mempolicy")]
809#[cfg(target_arch = "mips32r6")]
810#[path = "mips32r6/mempolicy.rs"]
811pub mod mempolicy;
812#[cfg(feature = "net")]
813#[cfg(target_arch = "mips32r6")]
814#[path = "mips32r6/net.rs"]
815pub mod net;
816#[cfg(feature = "netlink")]
817#[cfg(target_arch = "mips32r6")]
818#[path = "mips32r6/netlink.rs"]
819pub mod netlink;
820#[cfg(feature = "prctl")]
821#[cfg(target_arch = "mips32r6")]
822#[path = "mips32r6/prctl.rs"]
823pub mod prctl;
824#[cfg(feature = "ptrace")]
825#[cfg(target_arch = "mips32r6")]
826#[path = "mips32r6/ptrace.rs"]
827pub mod ptrace;
828#[cfg(feature = "system")]
829#[cfg(target_arch = "mips32r6")]
830#[path = "mips32r6/system.rs"]
831pub mod system;
832#[cfg(feature = "xdp")]
833#[cfg(target_arch = "mips32r6")]
834#[path = "mips32r6/xdp.rs"]
835pub mod xdp;
836#[cfg(feature = "auxvec")]
837#[cfg(target_arch = "mips64r6")]
838#[path = "mips64r6/auxvec.rs"]
839pub mod auxvec;
840#[cfg(feature = "bootparam")]
841#[cfg(target_arch = "mips64r6")]
842#[path = "mips64r6/bootparam.rs"]
843pub mod bootparam;
844#[cfg(feature = "btrfs")]
845#[cfg(target_arch = "mips64r6")]
846#[path = "mips64r6/btrfs.rs"]
847pub mod btrfs;
848#[cfg(feature = "elf_uapi")]
849#[cfg(target_arch = "mips64r6")]
850#[path = "mips64r6/elf_uapi.rs"]
851pub mod elf_uapi;
852#[cfg(feature = "errno")]
853#[cfg(target_arch = "mips64r6")]
854#[path = "mips64r6/errno.rs"]
855pub mod errno;
856#[cfg(feature = "general")]
857#[cfg(target_arch = "mips64r6")]
858#[path = "mips64r6/general.rs"]
859pub mod general;
860#[cfg(feature = "if_arp")]
861#[cfg(target_arch = "mips64r6")]
862#[path = "mips64r6/if_arp.rs"]
863pub mod if_arp;
864#[cfg(feature = "if_ether")]
865#[cfg(target_arch = "mips64r6")]
866#[path = "mips64r6/if_ether.rs"]
867pub mod if_ether;
868#[cfg(feature = "if_packet")]
869#[cfg(target_arch = "mips64r6")]
870#[path = "mips64r6/if_packet.rs"]
871pub mod if_packet;
872#[cfg(feature = "if_tun")]
873#[cfg(target_arch = "mips64r6")]
874#[path = "mips64r6/if_tun.rs"]
875pub mod if_tun;
876#[cfg(feature = "image")]
877#[cfg(target_arch = "mips64r6")]
878#[path = "mips64r6/image.rs"]
879pub mod image;
880#[cfg(feature = "io_uring")]
881#[cfg(target_arch = "mips64r6")]
882#[path = "mips64r6/io_uring.rs"]
883pub mod io_uring;
884#[cfg(feature = "ioctl")]
885#[cfg(target_arch = "mips64r6")]
886#[path = "mips64r6/ioctl.rs"]
887pub mod ioctl;
888#[cfg(feature = "landlock")]
889#[cfg(target_arch = "mips64r6")]
890#[path = "mips64r6/landlock.rs"]
891pub mod landlock;
892#[cfg(feature = "loop_device")]
893#[cfg(target_arch = "mips64r6")]
894#[path = "mips64r6/loop_device.rs"]
895pub mod loop_device;
896#[cfg(feature = "mempolicy")]
897#[cfg(target_arch = "mips64r6")]
898#[path = "mips64r6/mempolicy.rs"]
899pub mod mempolicy;
900#[cfg(feature = "net")]
901#[cfg(target_arch = "mips64r6")]
902#[path = "mips64r6/net.rs"]
903pub mod net;
904#[cfg(feature = "netlink")]
905#[cfg(target_arch = "mips64r6")]
906#[path = "mips64r6/netlink.rs"]
907pub mod netlink;
908#[cfg(feature = "prctl")]
909#[cfg(target_arch = "mips64r6")]
910#[path = "mips64r6/prctl.rs"]
911pub mod prctl;
912#[cfg(feature = "ptrace")]
913#[cfg(target_arch = "mips64r6")]
914#[path = "mips64r6/ptrace.rs"]
915pub mod ptrace;
916#[cfg(feature = "system")]
917#[cfg(target_arch = "mips64r6")]
918#[path = "mips64r6/system.rs"]
919pub mod system;
920#[cfg(feature = "xdp")]
921#[cfg(target_arch = "mips64r6")]
922#[path = "mips64r6/xdp.rs"]
923pub mod xdp;
924#[cfg(feature = "auxvec")]
925#[cfg(target_arch = "powerpc")]
926#[path = "powerpc/auxvec.rs"]
927pub mod auxvec;
928#[cfg(feature = "bootparam")]
929#[cfg(target_arch = "powerpc")]
930#[path = "powerpc/bootparam.rs"]
931pub mod bootparam;
932#[cfg(feature = "btrfs")]
933#[cfg(target_arch = "powerpc")]
934#[path = "powerpc/btrfs.rs"]
935pub mod btrfs;
936#[cfg(feature = "elf_uapi")]
937#[cfg(target_arch = "powerpc")]
938#[path = "powerpc/elf_uapi.rs"]
939pub mod elf_uapi;
940#[cfg(feature = "errno")]
941#[cfg(target_arch = "powerpc")]
942#[path = "powerpc/errno.rs"]
943pub mod errno;
944#[cfg(feature = "general")]
945#[cfg(target_arch = "powerpc")]
946#[path = "powerpc/general.rs"]
947pub mod general;
948#[cfg(feature = "if_arp")]
949#[cfg(target_arch = "powerpc")]
950#[path = "powerpc/if_arp.rs"]
951pub mod if_arp;
952#[cfg(feature = "if_ether")]
953#[cfg(target_arch = "powerpc")]
954#[path = "powerpc/if_ether.rs"]
955pub mod if_ether;
956#[cfg(feature = "if_packet")]
957#[cfg(target_arch = "powerpc")]
958#[path = "powerpc/if_packet.rs"]
959pub mod if_packet;
960#[cfg(feature = "if_tun")]
961#[cfg(target_arch = "powerpc")]
962#[path = "powerpc/if_tun.rs"]
963pub mod if_tun;
964#[cfg(feature = "image")]
965#[cfg(target_arch = "powerpc")]
966#[path = "powerpc/image.rs"]
967pub mod image;
968#[cfg(feature = "io_uring")]
969#[cfg(target_arch = "powerpc")]
970#[path = "powerpc/io_uring.rs"]
971pub mod io_uring;
972#[cfg(feature = "ioctl")]
973#[cfg(target_arch = "powerpc")]
974#[path = "powerpc/ioctl.rs"]
975pub mod ioctl;
976#[cfg(feature = "landlock")]
977#[cfg(target_arch = "powerpc")]
978#[path = "powerpc/landlock.rs"]
979pub mod landlock;
980#[cfg(feature = "loop_device")]
981#[cfg(target_arch = "powerpc")]
982#[path = "powerpc/loop_device.rs"]
983pub mod loop_device;
984#[cfg(feature = "mempolicy")]
985#[cfg(target_arch = "powerpc")]
986#[path = "powerpc/mempolicy.rs"]
987pub mod mempolicy;
988#[cfg(feature = "net")]
989#[cfg(target_arch = "powerpc")]
990#[path = "powerpc/net.rs"]
991pub mod net;
992#[cfg(feature = "netlink")]
993#[cfg(target_arch = "powerpc")]
994#[path = "powerpc/netlink.rs"]
995pub mod netlink;
996#[cfg(feature = "prctl")]
997#[cfg(target_arch = "powerpc")]
998#[path = "powerpc/prctl.rs"]
999pub mod prctl;
1000#[cfg(feature = "ptrace")]
1001#[cfg(target_arch = "powerpc")]
1002#[path = "powerpc/ptrace.rs"]
1003pub mod ptrace;
1004#[cfg(feature = "system")]
1005#[cfg(target_arch = "powerpc")]
1006#[path = "powerpc/system.rs"]
1007pub mod system;
1008#[cfg(feature = "xdp")]
1009#[cfg(target_arch = "powerpc")]
1010#[path = "powerpc/xdp.rs"]
1011pub mod xdp;
1012#[cfg(feature = "auxvec")]
1013#[cfg(target_arch = "powerpc64")]
1014#[path = "powerpc64/auxvec.rs"]
1015pub mod auxvec;
1016#[cfg(feature = "bootparam")]
1017#[cfg(target_arch = "powerpc64")]
1018#[path = "powerpc64/bootparam.rs"]
1019pub mod bootparam;
1020#[cfg(feature = "btrfs")]
1021#[cfg(target_arch = "powerpc64")]
1022#[path = "powerpc64/btrfs.rs"]
1023pub mod btrfs;
1024#[cfg(feature = "elf_uapi")]
1025#[cfg(target_arch = "powerpc64")]
1026#[path = "powerpc64/elf_uapi.rs"]
1027pub mod elf_uapi;
1028#[cfg(feature = "errno")]
1029#[cfg(target_arch = "powerpc64")]
1030#[path = "powerpc64/errno.rs"]
1031pub mod errno;
1032#[cfg(feature = "general")]
1033#[cfg(target_arch = "powerpc64")]
1034#[path = "powerpc64/general.rs"]
1035pub mod general;
1036#[cfg(feature = "if_arp")]
1037#[cfg(target_arch = "powerpc64")]
1038#[path = "powerpc64/if_arp.rs"]
1039pub mod if_arp;
1040#[cfg(feature = "if_ether")]
1041#[cfg(target_arch = "powerpc64")]
1042#[path = "powerpc64/if_ether.rs"]
1043pub mod if_ether;
1044#[cfg(feature = "if_packet")]
1045#[cfg(target_arch = "powerpc64")]
1046#[path = "powerpc64/if_packet.rs"]
1047pub mod if_packet;
1048#[cfg(feature = "if_tun")]
1049#[cfg(target_arch = "powerpc64")]
1050#[path = "powerpc64/if_tun.rs"]
1051pub mod if_tun;
1052#[cfg(feature = "image")]
1053#[cfg(target_arch = "powerpc64")]
1054#[path = "powerpc64/image.rs"]
1055pub mod image;
1056#[cfg(feature = "io_uring")]
1057#[cfg(target_arch = "powerpc64")]
1058#[path = "powerpc64/io_uring.rs"]
1059pub mod io_uring;
1060#[cfg(feature = "ioctl")]
1061#[cfg(target_arch = "powerpc64")]
1062#[path = "powerpc64/ioctl.rs"]
1063pub mod ioctl;
1064#[cfg(feature = "landlock")]
1065#[cfg(target_arch = "powerpc64")]
1066#[path = "powerpc64/landlock.rs"]
1067pub mod landlock;
1068#[cfg(feature = "loop_device")]
1069#[cfg(target_arch = "powerpc64")]
1070#[path = "powerpc64/loop_device.rs"]
1071pub mod loop_device;
1072#[cfg(feature = "mempolicy")]
1073#[cfg(target_arch = "powerpc64")]
1074#[path = "powerpc64/mempolicy.rs"]
1075pub mod mempolicy;
1076#[cfg(feature = "net")]
1077#[cfg(target_arch = "powerpc64")]
1078#[path = "powerpc64/net.rs"]
1079pub mod net;
1080#[cfg(feature = "netlink")]
1081#[cfg(target_arch = "powerpc64")]
1082#[path = "powerpc64/netlink.rs"]
1083pub mod netlink;
1084#[cfg(feature = "prctl")]
1085#[cfg(target_arch = "powerpc64")]
1086#[path = "powerpc64/prctl.rs"]
1087pub mod prctl;
1088#[cfg(feature = "ptrace")]
1089#[cfg(target_arch = "powerpc64")]
1090#[path = "powerpc64/ptrace.rs"]
1091pub mod ptrace;
1092#[cfg(feature = "system")]
1093#[cfg(target_arch = "powerpc64")]
1094#[path = "powerpc64/system.rs"]
1095pub mod system;
1096#[cfg(feature = "xdp")]
1097#[cfg(target_arch = "powerpc64")]
1098#[path = "powerpc64/xdp.rs"]
1099pub mod xdp;
1100#[cfg(feature = "auxvec")]
1101#[cfg(target_arch = "riscv32")]
1102#[path = "riscv32/auxvec.rs"]
1103pub mod auxvec;
1104#[cfg(feature = "bootparam")]
1105#[cfg(target_arch = "riscv32")]
1106#[path = "riscv32/bootparam.rs"]
1107pub mod bootparam;
1108#[cfg(feature = "btrfs")]
1109#[cfg(target_arch = "riscv32")]
1110#[path = "riscv32/btrfs.rs"]
1111pub mod btrfs;
1112#[cfg(feature = "elf_uapi")]
1113#[cfg(target_arch = "riscv32")]
1114#[path = "riscv32/elf_uapi.rs"]
1115pub mod elf_uapi;
1116#[cfg(feature = "errno")]
1117#[cfg(target_arch = "riscv32")]
1118#[path = "riscv32/errno.rs"]
1119pub mod errno;
1120#[cfg(feature = "general")]
1121#[cfg(target_arch = "riscv32")]
1122#[path = "riscv32/general.rs"]
1123pub mod general;
1124#[cfg(feature = "if_arp")]
1125#[cfg(target_arch = "riscv32")]
1126#[path = "riscv32/if_arp.rs"]
1127pub mod if_arp;
1128#[cfg(feature = "if_ether")]
1129#[cfg(target_arch = "riscv32")]
1130#[path = "riscv32/if_ether.rs"]
1131pub mod if_ether;
1132#[cfg(feature = "if_packet")]
1133#[cfg(target_arch = "riscv32")]
1134#[path = "riscv32/if_packet.rs"]
1135pub mod if_packet;
1136#[cfg(feature = "if_tun")]
1137#[cfg(target_arch = "riscv32")]
1138#[path = "riscv32/if_tun.rs"]
1139pub mod if_tun;
1140#[cfg(feature = "image")]
1141#[cfg(target_arch = "riscv32")]
1142#[path = "riscv32/image.rs"]
1143pub mod image;
1144#[cfg(feature = "io_uring")]
1145#[cfg(target_arch = "riscv32")]
1146#[path = "riscv32/io_uring.rs"]
1147pub mod io_uring;
1148#[cfg(feature = "ioctl")]
1149#[cfg(target_arch = "riscv32")]
1150#[path = "riscv32/ioctl.rs"]
1151pub mod ioctl;
1152#[cfg(feature = "landlock")]
1153#[cfg(target_arch = "riscv32")]
1154#[path = "riscv32/landlock.rs"]
1155pub mod landlock;
1156#[cfg(feature = "loop_device")]
1157#[cfg(target_arch = "riscv32")]
1158#[path = "riscv32/loop_device.rs"]
1159pub mod loop_device;
1160#[cfg(feature = "mempolicy")]
1161#[cfg(target_arch = "riscv32")]
1162#[path = "riscv32/mempolicy.rs"]
1163pub mod mempolicy;
1164#[cfg(feature = "net")]
1165#[cfg(target_arch = "riscv32")]
1166#[path = "riscv32/net.rs"]
1167pub mod net;
1168#[cfg(feature = "netlink")]
1169#[cfg(target_arch = "riscv32")]
1170#[path = "riscv32/netlink.rs"]
1171pub mod netlink;
1172#[cfg(feature = "prctl")]
1173#[cfg(target_arch = "riscv32")]
1174#[path = "riscv32/prctl.rs"]
1175pub mod prctl;
1176#[cfg(feature = "ptrace")]
1177#[cfg(target_arch = "riscv32")]
1178#[path = "riscv32/ptrace.rs"]
1179pub mod ptrace;
1180#[cfg(feature = "system")]
1181#[cfg(target_arch = "riscv32")]
1182#[path = "riscv32/system.rs"]
1183pub mod system;
1184#[cfg(feature = "xdp")]
1185#[cfg(target_arch = "riscv32")]
1186#[path = "riscv32/xdp.rs"]
1187pub mod xdp;
1188#[cfg(feature = "auxvec")]
1189#[cfg(target_arch = "riscv64")]
1190#[path = "riscv64/auxvec.rs"]
1191pub mod auxvec;
1192#[cfg(feature = "bootparam")]
1193#[cfg(target_arch = "riscv64")]
1194#[path = "riscv64/bootparam.rs"]
1195pub mod bootparam;
1196#[cfg(feature = "btrfs")]
1197#[cfg(target_arch = "riscv64")]
1198#[path = "riscv64/btrfs.rs"]
1199pub mod btrfs;
1200#[cfg(feature = "elf_uapi")]
1201#[cfg(target_arch = "riscv64")]
1202#[path = "riscv64/elf_uapi.rs"]
1203pub mod elf_uapi;
1204#[cfg(feature = "errno")]
1205#[cfg(target_arch = "riscv64")]
1206#[path = "riscv64/errno.rs"]
1207pub mod errno;
1208#[cfg(feature = "general")]
1209#[cfg(target_arch = "riscv64")]
1210#[path = "riscv64/general.rs"]
1211pub mod general;
1212#[cfg(feature = "if_arp")]
1213#[cfg(target_arch = "riscv64")]
1214#[path = "riscv64/if_arp.rs"]
1215pub mod if_arp;
1216#[cfg(feature = "if_ether")]
1217#[cfg(target_arch = "riscv64")]
1218#[path = "riscv64/if_ether.rs"]
1219pub mod if_ether;
1220#[cfg(feature = "if_packet")]
1221#[cfg(target_arch = "riscv64")]
1222#[path = "riscv64/if_packet.rs"]
1223pub mod if_packet;
1224#[cfg(feature = "if_tun")]
1225#[cfg(target_arch = "riscv64")]
1226#[path = "riscv64/if_tun.rs"]
1227pub mod if_tun;
1228#[cfg(feature = "image")]
1229#[cfg(target_arch = "riscv64")]
1230#[path = "riscv64/image.rs"]
1231pub mod image;
1232#[cfg(feature = "io_uring")]
1233#[cfg(target_arch = "riscv64")]
1234#[path = "riscv64/io_uring.rs"]
1235pub mod io_uring;
1236#[cfg(feature = "ioctl")]
1237#[cfg(target_arch = "riscv64")]
1238#[path = "riscv64/ioctl.rs"]
1239pub mod ioctl;
1240#[cfg(feature = "landlock")]
1241#[cfg(target_arch = "riscv64")]
1242#[path = "riscv64/landlock.rs"]
1243pub mod landlock;
1244#[cfg(feature = "loop_device")]
1245#[cfg(target_arch = "riscv64")]
1246#[path = "riscv64/loop_device.rs"]
1247pub mod loop_device;
1248#[cfg(feature = "mempolicy")]
1249#[cfg(target_arch = "riscv64")]
1250#[path = "riscv64/mempolicy.rs"]
1251pub mod mempolicy;
1252#[cfg(feature = "net")]
1253#[cfg(target_arch = "riscv64")]
1254#[path = "riscv64/net.rs"]
1255pub mod net;
1256#[cfg(feature = "netlink")]
1257#[cfg(target_arch = "riscv64")]
1258#[path = "riscv64/netlink.rs"]
1259pub mod netlink;
1260#[cfg(feature = "prctl")]
1261#[cfg(target_arch = "riscv64")]
1262#[path = "riscv64/prctl.rs"]
1263pub mod prctl;
1264#[cfg(feature = "ptrace")]
1265#[cfg(target_arch = "riscv64")]
1266#[path = "riscv64/ptrace.rs"]
1267pub mod ptrace;
1268#[cfg(feature = "system")]
1269#[cfg(target_arch = "riscv64")]
1270#[path = "riscv64/system.rs"]
1271pub mod system;
1272#[cfg(feature = "xdp")]
1273#[cfg(target_arch = "riscv64")]
1274#[path = "riscv64/xdp.rs"]
1275pub mod xdp;
1276#[cfg(feature = "auxvec")]
1277#[cfg(target_arch = "s390x")]
1278#[path = "s390x/auxvec.rs"]
1279pub mod auxvec;
1280#[cfg(feature = "bootparam")]
1281#[cfg(target_arch = "s390x")]
1282#[path = "s390x/bootparam.rs"]
1283pub mod bootparam;
1284#[cfg(feature = "btrfs")]
1285#[cfg(target_arch = "s390x")]
1286#[path = "s390x/btrfs.rs"]
1287pub mod btrfs;
1288#[cfg(feature = "elf_uapi")]
1289#[cfg(target_arch = "s390x")]
1290#[path = "s390x/elf_uapi.rs"]
1291pub mod elf_uapi;
1292#[cfg(feature = "errno")]
1293#[cfg(target_arch = "s390x")]
1294#[path = "s390x/errno.rs"]
1295pub mod errno;
1296#[cfg(feature = "general")]
1297#[cfg(target_arch = "s390x")]
1298#[path = "s390x/general.rs"]
1299pub mod general;
1300#[cfg(feature = "if_arp")]
1301#[cfg(target_arch = "s390x")]
1302#[path = "s390x/if_arp.rs"]
1303pub mod if_arp;
1304#[cfg(feature = "if_ether")]
1305#[cfg(target_arch = "s390x")]
1306#[path = "s390x/if_ether.rs"]
1307pub mod if_ether;
1308#[cfg(feature = "if_packet")]
1309#[cfg(target_arch = "s390x")]
1310#[path = "s390x/if_packet.rs"]
1311pub mod if_packet;
1312#[cfg(feature = "if_tun")]
1313#[cfg(target_arch = "s390x")]
1314#[path = "s390x/if_tun.rs"]
1315pub mod if_tun;
1316#[cfg(feature = "image")]
1317#[cfg(target_arch = "s390x")]
1318#[path = "s390x/image.rs"]
1319pub mod image;
1320#[cfg(feature = "io_uring")]
1321#[cfg(target_arch = "s390x")]
1322#[path = "s390x/io_uring.rs"]
1323pub mod io_uring;
1324#[cfg(feature = "ioctl")]
1325#[cfg(target_arch = "s390x")]
1326#[path = "s390x/ioctl.rs"]
1327pub mod ioctl;
1328#[cfg(feature = "landlock")]
1329#[cfg(target_arch = "s390x")]
1330#[path = "s390x/landlock.rs"]
1331pub mod landlock;
1332#[cfg(feature = "loop_device")]
1333#[cfg(target_arch = "s390x")]
1334#[path = "s390x/loop_device.rs"]
1335pub mod loop_device;
1336#[cfg(feature = "mempolicy")]
1337#[cfg(target_arch = "s390x")]
1338#[path = "s390x/mempolicy.rs"]
1339pub mod mempolicy;
1340#[cfg(feature = "net")]
1341#[cfg(target_arch = "s390x")]
1342#[path = "s390x/net.rs"]
1343pub mod net;
1344#[cfg(feature = "netlink")]
1345#[cfg(target_arch = "s390x")]
1346#[path = "s390x/netlink.rs"]
1347pub mod netlink;
1348#[cfg(feature = "prctl")]
1349#[cfg(target_arch = "s390x")]
1350#[path = "s390x/prctl.rs"]
1351pub mod prctl;
1352#[cfg(feature = "ptrace")]
1353#[cfg(target_arch = "s390x")]
1354#[path = "s390x/ptrace.rs"]
1355pub mod ptrace;
1356#[cfg(feature = "system")]
1357#[cfg(target_arch = "s390x")]
1358#[path = "s390x/system.rs"]
1359pub mod system;
1360#[cfg(feature = "xdp")]
1361#[cfg(target_arch = "s390x")]
1362#[path = "s390x/xdp.rs"]
1363pub mod xdp;
1364#[cfg(feature = "auxvec")]
1365#[cfg(target_arch = "sparc")]
1366#[path = "sparc/auxvec.rs"]
1367pub mod auxvec;
1368#[cfg(feature = "bootparam")]
1369#[cfg(target_arch = "sparc")]
1370#[path = "sparc/bootparam.rs"]
1371pub mod bootparam;
1372#[cfg(feature = "btrfs")]
1373#[cfg(target_arch = "sparc")]
1374#[path = "sparc/btrfs.rs"]
1375pub mod btrfs;
1376#[cfg(feature = "elf_uapi")]
1377#[cfg(target_arch = "sparc")]
1378#[path = "sparc/elf_uapi.rs"]
1379pub mod elf_uapi;
1380#[cfg(feature = "errno")]
1381#[cfg(target_arch = "sparc")]
1382#[path = "sparc/errno.rs"]
1383pub mod errno;
1384#[cfg(feature = "general")]
1385#[cfg(target_arch = "sparc")]
1386#[path = "sparc/general.rs"]
1387pub mod general;
1388#[cfg(feature = "if_arp")]
1389#[cfg(target_arch = "sparc")]
1390#[path = "sparc/if_arp.rs"]
1391pub mod if_arp;
1392#[cfg(feature = "if_ether")]
1393#[cfg(target_arch = "sparc")]
1394#[path = "sparc/if_ether.rs"]
1395pub mod if_ether;
1396#[cfg(feature = "if_packet")]
1397#[cfg(target_arch = "sparc")]
1398#[path = "sparc/if_packet.rs"]
1399pub mod if_packet;
1400#[cfg(feature = "if_tun")]
1401#[cfg(target_arch = "sparc")]
1402#[path = "sparc/if_tun.rs"]
1403pub mod if_tun;
1404#[cfg(feature = "image")]
1405#[cfg(target_arch = "sparc")]
1406#[path = "sparc/image.rs"]
1407pub mod image;
1408#[cfg(feature = "io_uring")]
1409#[cfg(target_arch = "sparc")]
1410#[path = "sparc/io_uring.rs"]
1411pub mod io_uring;
1412#[cfg(feature = "ioctl")]
1413#[cfg(target_arch = "sparc")]
1414#[path = "sparc/ioctl.rs"]
1415pub mod ioctl;
1416#[cfg(feature = "landlock")]
1417#[cfg(target_arch = "sparc")]
1418#[path = "sparc/landlock.rs"]
1419pub mod landlock;
1420#[cfg(feature = "loop_device")]
1421#[cfg(target_arch = "sparc")]
1422#[path = "sparc/loop_device.rs"]
1423pub mod loop_device;
1424#[cfg(feature = "mempolicy")]
1425#[cfg(target_arch = "sparc")]
1426#[path = "sparc/mempolicy.rs"]
1427pub mod mempolicy;
1428#[cfg(feature = "net")]
1429#[cfg(target_arch = "sparc")]
1430#[path = "sparc/net.rs"]
1431pub mod net;
1432#[cfg(feature = "netlink")]
1433#[cfg(target_arch = "sparc")]
1434#[path = "sparc/netlink.rs"]
1435pub mod netlink;
1436#[cfg(feature = "prctl")]
1437#[cfg(target_arch = "sparc")]
1438#[path = "sparc/prctl.rs"]
1439pub mod prctl;
1440#[cfg(feature = "ptrace")]
1441#[cfg(target_arch = "sparc")]
1442#[path = "sparc/ptrace.rs"]
1443pub mod ptrace;
1444#[cfg(feature = "system")]
1445#[cfg(target_arch = "sparc")]
1446#[path = "sparc/system.rs"]
1447pub mod system;
1448#[cfg(feature = "xdp")]
1449#[cfg(target_arch = "sparc")]
1450#[path = "sparc/xdp.rs"]
1451pub mod xdp;
1452#[cfg(feature = "auxvec")]
1453#[cfg(target_arch = "sparc64")]
1454#[path = "sparc64/auxvec.rs"]
1455pub mod auxvec;
1456#[cfg(feature = "bootparam")]
1457#[cfg(target_arch = "sparc64")]
1458#[path = "sparc64/bootparam.rs"]
1459pub mod bootparam;
1460#[cfg(feature = "btrfs")]
1461#[cfg(target_arch = "sparc64")]
1462#[path = "sparc64/btrfs.rs"]
1463pub mod btrfs;
1464#[cfg(feature = "elf_uapi")]
1465#[cfg(target_arch = "sparc64")]
1466#[path = "sparc64/elf_uapi.rs"]
1467pub mod elf_uapi;
1468#[cfg(feature = "errno")]
1469#[cfg(target_arch = "sparc64")]
1470#[path = "sparc64/errno.rs"]
1471pub mod errno;
1472#[cfg(feature = "general")]
1473#[cfg(target_arch = "sparc64")]
1474#[path = "sparc64/general.rs"]
1475pub mod general;
1476#[cfg(feature = "if_arp")]
1477#[cfg(target_arch = "sparc64")]
1478#[path = "sparc64/if_arp.rs"]
1479pub mod if_arp;
1480#[cfg(feature = "if_ether")]
1481#[cfg(target_arch = "sparc64")]
1482#[path = "sparc64/if_ether.rs"]
1483pub mod if_ether;
1484#[cfg(feature = "if_packet")]
1485#[cfg(target_arch = "sparc64")]
1486#[path = "sparc64/if_packet.rs"]
1487pub mod if_packet;
1488#[cfg(feature = "if_tun")]
1489#[cfg(target_arch = "sparc64")]
1490#[path = "sparc64/if_tun.rs"]
1491pub mod if_tun;
1492#[cfg(feature = "image")]
1493#[cfg(target_arch = "sparc64")]
1494#[path = "sparc64/image.rs"]
1495pub mod image;
1496#[cfg(feature = "io_uring")]
1497#[cfg(target_arch = "sparc64")]
1498#[path = "sparc64/io_uring.rs"]
1499pub mod io_uring;
1500#[cfg(feature = "ioctl")]
1501#[cfg(target_arch = "sparc64")]
1502#[path = "sparc64/ioctl.rs"]
1503pub mod ioctl;
1504#[cfg(feature = "landlock")]
1505#[cfg(target_arch = "sparc64")]
1506#[path = "sparc64/landlock.rs"]
1507pub mod landlock;
1508#[cfg(feature = "loop_device")]
1509#[cfg(target_arch = "sparc64")]
1510#[path = "sparc64/loop_device.rs"]
1511pub mod loop_device;
1512#[cfg(feature = "mempolicy")]
1513#[cfg(target_arch = "sparc64")]
1514#[path = "sparc64/mempolicy.rs"]
1515pub mod mempolicy;
1516#[cfg(feature = "net")]
1517#[cfg(target_arch = "sparc64")]
1518#[path = "sparc64/net.rs"]
1519pub mod net;
1520#[cfg(feature = "netlink")]
1521#[cfg(target_arch = "sparc64")]
1522#[path = "sparc64/netlink.rs"]
1523pub mod netlink;
1524#[cfg(feature = "prctl")]
1525#[cfg(target_arch = "sparc64")]
1526#[path = "sparc64/prctl.rs"]
1527pub mod prctl;
1528#[cfg(feature = "ptrace")]
1529#[cfg(target_arch = "sparc64")]
1530#[path = "sparc64/ptrace.rs"]
1531pub mod ptrace;
1532#[cfg(feature = "system")]
1533#[cfg(target_arch = "sparc64")]
1534#[path = "sparc64/system.rs"]
1535pub mod system;
1536#[cfg(feature = "xdp")]
1537#[cfg(target_arch = "sparc64")]
1538#[path = "sparc64/xdp.rs"]
1539pub mod xdp;
1540#[cfg(feature = "auxvec")]
1541#[cfg(target_arch = "x86")]
1542#[path = "x86/auxvec.rs"]
1543pub mod auxvec;
1544#[cfg(feature = "bootparam")]
1545#[cfg(target_arch = "x86")]
1546#[path = "x86/bootparam.rs"]
1547pub mod bootparam;
1548#[cfg(feature = "btrfs")]
1549#[cfg(target_arch = "x86")]
1550#[path = "x86/btrfs.rs"]
1551pub mod btrfs;
1552#[cfg(feature = "elf_uapi")]
1553#[cfg(target_arch = "x86")]
1554#[path = "x86/elf_uapi.rs"]
1555pub mod elf_uapi;
1556#[cfg(feature = "errno")]
1557#[cfg(target_arch = "x86")]
1558#[path = "x86/errno.rs"]
1559pub mod errno;
1560#[cfg(feature = "general")]
1561#[cfg(target_arch = "x86")]
1562#[path = "x86/general.rs"]
1563pub mod general;
1564#[cfg(feature = "if_arp")]
1565#[cfg(target_arch = "x86")]
1566#[path = "x86/if_arp.rs"]
1567pub mod if_arp;
1568#[cfg(feature = "if_ether")]
1569#[cfg(target_arch = "x86")]
1570#[path = "x86/if_ether.rs"]
1571pub mod if_ether;
1572#[cfg(feature = "if_packet")]
1573#[cfg(target_arch = "x86")]
1574#[path = "x86/if_packet.rs"]
1575pub mod if_packet;
1576#[cfg(feature = "if_tun")]
1577#[cfg(target_arch = "x86")]
1578#[path = "x86/if_tun.rs"]
1579pub mod if_tun;
1580#[cfg(feature = "image")]
1581#[cfg(target_arch = "x86")]
1582#[path = "x86/image.rs"]
1583pub mod image;
1584#[cfg(feature = "io_uring")]
1585#[cfg(target_arch = "x86")]
1586#[path = "x86/io_uring.rs"]
1587pub mod io_uring;
1588#[cfg(feature = "ioctl")]
1589#[cfg(target_arch = "x86")]
1590#[path = "x86/ioctl.rs"]
1591pub mod ioctl;
1592#[cfg(feature = "landlock")]
1593#[cfg(target_arch = "x86")]
1594#[path = "x86/landlock.rs"]
1595pub mod landlock;
1596#[cfg(feature = "loop_device")]
1597#[cfg(target_arch = "x86")]
1598#[path = "x86/loop_device.rs"]
1599pub mod loop_device;
1600#[cfg(feature = "mempolicy")]
1601#[cfg(target_arch = "x86")]
1602#[path = "x86/mempolicy.rs"]
1603pub mod mempolicy;
1604#[cfg(feature = "net")]
1605#[cfg(target_arch = "x86")]
1606#[path = "x86/net.rs"]
1607pub mod net;
1608#[cfg(feature = "netlink")]
1609#[cfg(target_arch = "x86")]
1610#[path = "x86/netlink.rs"]
1611pub mod netlink;
1612#[cfg(feature = "prctl")]
1613#[cfg(target_arch = "x86")]
1614#[path = "x86/prctl.rs"]
1615pub mod prctl;
1616#[cfg(feature = "ptrace")]
1617#[cfg(target_arch = "x86")]
1618#[path = "x86/ptrace.rs"]
1619pub mod ptrace;
1620#[cfg(feature = "system")]
1621#[cfg(target_arch = "x86")]
1622#[path = "x86/system.rs"]
1623pub mod system;
1624#[cfg(feature = "xdp")]
1625#[cfg(target_arch = "x86")]
1626#[path = "x86/xdp.rs"]
1627pub mod xdp;
1628#[cfg(feature = "auxvec")]
1629#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1630#[path = "x86_64/auxvec.rs"]
1631pub mod auxvec;
1632#[cfg(feature = "bootparam")]
1633#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1634#[path = "x86_64/bootparam.rs"]
1635pub mod bootparam;
1636#[cfg(feature = "btrfs")]
1637#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1638#[path = "x86_64/btrfs.rs"]
1639pub mod btrfs;
1640#[cfg(feature = "elf_uapi")]
1641#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1642#[path = "x86_64/elf_uapi.rs"]
1643pub mod elf_uapi;
1644#[cfg(feature = "errno")]
1645#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1646#[path = "x86_64/errno.rs"]
1647pub mod errno;
1648#[cfg(feature = "general")]
1649#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1650#[path = "x86_64/general.rs"]
1651pub mod general;
1652#[cfg(feature = "if_arp")]
1653#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1654#[path = "x86_64/if_arp.rs"]
1655pub mod if_arp;
1656#[cfg(feature = "if_ether")]
1657#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1658#[path = "x86_64/if_ether.rs"]
1659pub mod if_ether;
1660#[cfg(feature = "if_packet")]
1661#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1662#[path = "x86_64/if_packet.rs"]
1663pub mod if_packet;
1664#[cfg(feature = "if_tun")]
1665#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1666#[path = "x86_64/if_tun.rs"]
1667pub mod if_tun;
1668#[cfg(feature = "image")]
1669#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1670#[path = "x86_64/image.rs"]
1671pub mod image;
1672#[cfg(feature = "io_uring")]
1673#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1674#[path = "x86_64/io_uring.rs"]
1675pub mod io_uring;
1676#[cfg(feature = "ioctl")]
1677#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1678#[path = "x86_64/ioctl.rs"]
1679pub mod ioctl;
1680#[cfg(feature = "landlock")]
1681#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1682#[path = "x86_64/landlock.rs"]
1683pub mod landlock;
1684#[cfg(feature = "loop_device")]
1685#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1686#[path = "x86_64/loop_device.rs"]
1687pub mod loop_device;
1688#[cfg(feature = "mempolicy")]
1689#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1690#[path = "x86_64/mempolicy.rs"]
1691pub mod mempolicy;
1692#[cfg(feature = "net")]
1693#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1694#[path = "x86_64/net.rs"]
1695pub mod net;
1696#[cfg(feature = "netlink")]
1697#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1698#[path = "x86_64/netlink.rs"]
1699pub mod netlink;
1700#[cfg(feature = "prctl")]
1701#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1702#[path = "x86_64/prctl.rs"]
1703pub mod prctl;
1704#[cfg(feature = "ptrace")]
1705#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1706#[path = "x86_64/ptrace.rs"]
1707pub mod ptrace;
1708#[cfg(feature = "system")]
1709#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1710#[path = "x86_64/system.rs"]
1711pub mod system;
1712#[cfg(feature = "xdp")]
1713#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1714#[path = "x86_64/xdp.rs"]
1715pub mod xdp;
1716#[cfg(feature = "auxvec")]
1717#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1718#[path = "x32/auxvec.rs"]
1719pub mod auxvec;
1720#[cfg(feature = "bootparam")]
1721#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1722#[path = "x32/bootparam.rs"]
1723pub mod bootparam;
1724#[cfg(feature = "btrfs")]
1725#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1726#[path = "x32/btrfs.rs"]
1727pub mod btrfs;
1728#[cfg(feature = "elf_uapi")]
1729#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1730#[path = "x32/elf_uapi.rs"]
1731pub mod elf_uapi;
1732#[cfg(feature = "errno")]
1733#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1734#[path = "x32/errno.rs"]
1735pub mod errno;
1736#[cfg(feature = "general")]
1737#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1738#[path = "x32/general.rs"]
1739pub mod general;
1740#[cfg(feature = "if_arp")]
1741#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1742#[path = "x32/if_arp.rs"]
1743pub mod if_arp;
1744#[cfg(feature = "if_ether")]
1745#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1746#[path = "x32/if_ether.rs"]
1747pub mod if_ether;
1748#[cfg(feature = "if_packet")]
1749#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1750#[path = "x32/if_packet.rs"]
1751pub mod if_packet;
1752#[cfg(feature = "if_tun")]
1753#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1754#[path = "x32/if_tun.rs"]
1755pub mod if_tun;
1756#[cfg(feature = "image")]
1757#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1758#[path = "x32/image.rs"]
1759pub mod image;
1760#[cfg(feature = "io_uring")]
1761#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1762#[path = "x32/io_uring.rs"]
1763pub mod io_uring;
1764#[cfg(feature = "ioctl")]
1765#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1766#[path = "x32/ioctl.rs"]
1767pub mod ioctl;
1768#[cfg(feature = "landlock")]
1769#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1770#[path = "x32/landlock.rs"]
1771pub mod landlock;
1772#[cfg(feature = "loop_device")]
1773#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1774#[path = "x32/loop_device.rs"]
1775pub mod loop_device;
1776#[cfg(feature = "mempolicy")]
1777#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1778#[path = "x32/mempolicy.rs"]
1779pub mod mempolicy;
1780#[cfg(feature = "net")]
1781#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1782#[path = "x32/net.rs"]
1783pub mod net;
1784#[cfg(feature = "netlink")]
1785#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1786#[path = "x32/netlink.rs"]
1787pub mod netlink;
1788#[cfg(feature = "prctl")]
1789#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1790#[path = "x32/prctl.rs"]
1791pub mod prctl;
1792#[cfg(feature = "ptrace")]
1793#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1794#[path = "x32/ptrace.rs"]
1795pub mod ptrace;
1796#[cfg(feature = "system")]
1797#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1798#[path = "x32/system.rs"]
1799pub mod system;
1800#[cfg(feature = "xdp")]
1801#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1802#[path = "x32/xdp.rs"]
1803pub mod xdp;