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