File tree Expand file tree Collapse file tree 4 files changed +31
-11
lines changed Expand file tree Collapse file tree 4 files changed +31
-11
lines changed Original file line number Diff line number Diff line change @@ -3358,18 +3358,10 @@ pub const DLT_LOOP: ::c_uint = 108;
3358
3358
pub const BPF_ALIGNMENT : :: c_int = 4 ;
3359
3359
3360
3360
// sys/mount.h
3361
- pub const MNT_RDONLY : :: c_int = 0x00000001 ;
3362
- pub const MNT_SYNCHRONOUS : :: c_int = 0x00000002 ;
3363
- pub const MNT_NOEXEC : :: c_int = 0x00000004 ;
3364
- pub const MNT_NOSUID : :: c_int = 0x00000008 ;
3365
3361
pub const MNT_NODEV : :: c_int = 0x00000010 ;
3366
3362
pub const MNT_UNION : :: c_int = 0x00000020 ;
3367
- pub const MNT_ASYNC : :: c_int = 0x00000040 ;
3368
3363
pub const MNT_CPROTECT : :: c_int = 0x00000080 ;
3369
3364
3370
- // NFS export related mount flags.
3371
- pub const MNT_EXPORTED : :: c_int = 0x00000100 ;
3372
-
3373
3365
// MAC labeled / "quarantined" flag
3374
3366
pub const MNT_QUARANTINE : :: c_int = 0x00000400 ;
3375
3367
@@ -3390,9 +3382,7 @@ pub const MNT_NOATIME: ::c_int = 0x10000000;
3390
3382
pub const MNT_SNAPSHOT : :: c_int = 0x40000000 ;
3391
3383
3392
3384
// External filesystem command modifier flags.
3393
- pub const MNT_UPDATE : :: c_int = 0x00010000 ;
3394
3385
pub const MNT_NOBLOCK : :: c_int = 0x00020000 ;
3395
- pub const MNT_RELOAD : :: c_int = 0x00040000 ;
3396
3386
3397
3387
// sys/spawn.h:
3398
3388
pub const POSIX_SPAWN_RESETIDS : :: c_int = 0x01 ;
Original file line number Diff line number Diff line change @@ -712,6 +712,16 @@ pub const JAIL_SYS_DISABLE: ::c_int = 0;
712
712
pub const JAIL_SYS_NEW : :: c_int = 1 ;
713
713
pub const JAIL_SYS_INHERIT : :: c_int = 2 ;
714
714
715
+ pub const MNT_ACLS : :: c_int = 0x08000000 ;
716
+ pub const MNT_BYFSID : :: c_int = 0x08000000 ;
717
+ pub const MNT_GJOURNAL : :: c_int = 0x02000000 ;
718
+ pub const MNT_MULTILABEL : :: c_int = 0x04000000 ;
719
+ pub const MNT_NFS4ACLS : :: c_int = 0x00000010 ;
720
+ pub const MNT_SNAPSHOT : :: c_int = 0x01000000 ;
721
+ pub const MNT_UNION : :: c_int = 0x00000020 ;
722
+ pub const MNT_EXPUBLIC : :: c_int = 0x20000000 ;
723
+ pub const MNT_NONBUSY : :: c_int = 0x04000000 ;
724
+
715
725
pub const SO_BINTIME : :: c_int = 0x2000 ;
716
726
pub const SO_NO_OFFLOAD : :: c_int = 0x4000 ;
717
727
pub const SO_NO_DDP : :: c_int = 0x8000 ;
Original file line number Diff line number Diff line change @@ -592,6 +592,18 @@ pub const MAP_FAILED: *mut ::c_void = !0 as *mut ::c_void;
592
592
pub const MCL_CURRENT : :: c_int = 0x0001 ;
593
593
pub const MCL_FUTURE : :: c_int = 0x0002 ;
594
594
595
+ pub const MNT_NOATIME : :: c_int = 0x10000000 ;
596
+ pub const MNT_NOCLUSTERR : :: c_int = 0x40000000 ;
597
+ pub const MNT_NOCLUSTERW : :: c_int = 0x80000000 ;
598
+ pub const MNT_NOSYMFOLLOW : :: c_int = 0x00400000 ;
599
+ pub const MNT_SOFTDEP : :: c_int = 0x00200000 ;
600
+ pub const MNT_SUIDDIR : :: c_int = 0x00100000 ;
601
+ pub const MNT_EXRDONLY : :: c_int = 0x00000080 ;
602
+ pub const MNT_DEFEXPORTED : :: c_int = 0x00000200 ;
603
+ pub const MNT_EXPORTANON : :: c_int = 0x00000400 ;
604
+ pub const MNT_EXKERB : :: c_int = 0x00000800 ;
605
+ pub const MNT_DELEXPORT : :: c_int = 0x00020000 ;
606
+
595
607
pub const MS_SYNC : :: c_int = 0x0000 ;
596
608
pub const MS_ASYNC : :: c_int = 0x0001 ;
597
609
pub const MS_INVALIDATE : :: c_int = 0x0002 ;
Original file line number Diff line number Diff line change @@ -337,7 +337,15 @@ pub const F_RDLCK: ::c_short = 1;
337
337
pub const F_UNLCK : :: c_short = 2 ;
338
338
pub const F_WRLCK : :: c_short = 3 ;
339
339
340
- pub const MNT_FORCE : :: c_int = 0x80000 ;
340
+ pub const MNT_RDONLY : :: c_int = 0x00000001 ;
341
+ pub const MNT_SYNCHRONOUS : :: c_int = 0x00000002 ;
342
+ pub const MNT_NOEXEC : :: c_int = 0x00000004 ;
343
+ pub const MNT_NOSUID : :: c_int = 0x00000008 ;
344
+ pub const MNT_ASYNC : :: c_int = 0x00000040 ;
345
+ pub const MNT_EXPORTED : :: c_int = 0x00000100 ;
346
+ pub const MNT_UPDATE : :: c_int = 0x00010000 ;
347
+ pub const MNT_RELOAD : :: c_int = 0x00040000 ;
348
+ pub const MNT_FORCE : :: c_int = 0x00080000 ;
341
349
342
350
pub const Q_SYNC : :: c_int = 0x600 ;
343
351
pub const Q_QUOTAON : :: c_int = 0x100 ;
You can’t perform that action at this time.
0 commit comments