@@ -3037,6 +3037,43 @@ pub const DLT_LOOP: ::c_uint = 108;
30373037// sizeof(i32)
30383038pub const BPF_ALIGNMENT : :: c_int = 4 ;
30393039
3040+ // sys/mount.h
3041+ pub const MNT_RDONLY : :: c_int = 0x00000001 ;
3042+ pub const MNT_SYNCHRONOUS : :: c_int = 0x00000002 ;
3043+ pub const MNT_NOEXEC : :: c_int = 0x00000004 ;
3044+ pub const MNT_NOSUID : :: c_int = 0x00000008 ;
3045+ pub const MNT_NODEV : :: c_int = 0x00000010 ;
3046+ pub const MNT_UNION : :: c_int = 0x00000020 ;
3047+ pub const MNT_ASYNC : :: c_int = 0x00000040 ;
3048+ pub const MNT_CPROTECT : :: c_int = 0x00000080 ;
3049+
3050+ // NFS export related mount flags.
3051+ pub const MNT_EXPORTED : :: c_int = 0x00000100 ;
3052+
3053+ // MAC labeled / "quarantined" flag
3054+ pub const MNT_QUARANTINE : :: c_int = 0x00000400 ;
3055+
3056+ // Flags set by internal operations.
3057+ pub const MNT_LOCAL : :: c_int = 0x00001000 ;
3058+ pub const MNT_QUOTA : :: c_int = 0x00002000 ;
3059+ pub const MNT_ROOTFS : :: c_int = 0x00004000 ;
3060+ pub const MNT_DOVOLFS : :: c_int = 0x00008000 ;
3061+
3062+ pub const MNT_DONTBROWSE : :: c_int = 0x00100000 ;
3063+ pub const MNT_IGNORE_OWNERSHIP : :: c_int = 0x00200000 ;
3064+ pub const MNT_AUTOMOUNTED : :: c_int = 0x00400000 ;
3065+ pub const MNT_JOURNALED : :: c_int = 0x00800000 ;
3066+ pub const MNT_NOUSERXATTR : :: c_int = 0x01000000 ;
3067+ pub const MNT_DEFWRITE : :: c_int = 0x02000000 ;
3068+ pub const MNT_MULTILABEL : :: c_int = 0x04000000 ;
3069+ pub const MNT_NOATIME : :: c_int = 0x10000000 ;
3070+ pub const MNT_SNAPSHOT : :: c_int = 0x40000000 ;
3071+
3072+ // External filesystem command modifier flags.
3073+ pub const MNT_UPDATE : :: c_int = 0x00010000 ;
3074+ pub const MNT_NOBLOCK : :: c_int = 0x00020000 ;
3075+ pub const MNT_RELOAD : :: c_int = 0x00040000 ;
3076+
30403077// sys/spawn.h:
30413078pub const POSIX_SPAWN_RESETIDS : :: c_int = 0x01 ;
30423079pub const POSIX_SPAWN_SETPGROUP : :: c_int = 0x02 ;
0 commit comments