File tree 3 files changed +22
-1
lines changed
src/unix/linux_like/linux/gnu 3 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -3873,6 +3873,9 @@ fn test_linux(target: &str) {
3873
3873
// FIXME: Requires more recent kernel headers
3874
3874
"HWTSTAMP_TX_ONESTEP_P2P" if musl => true , // linux v5.6+
3875
3875
3876
+ // kernel 6.5 minimum
3877
+ "MOVE_MOUNT_BENEATH" => true ,
3878
+
3876
3879
_ => false ,
3877
3880
}
3878
3881
} ) ;
Original file line number Diff line number Diff line change @@ -140,6 +140,14 @@ MOD_OFFSET
140
140
MOD_STATUS
141
141
MOD_TAI
142
142
MOD_TIMECONST
143
+ MOVE_MOUNT_BENEATH
144
+ MOVE_MOUNT_F_AUTOMOUNTS
145
+ MOVE_MOUNT_F_EMPTY_PATH
146
+ MOVE_MOUNT_F_SYMLINKS
147
+ MOVE_MOUNT_SET_GROUP
148
+ MOVE_MOUNT_T_AUTOMOUNTS
149
+ MOVE_MOUNT_T_EMPTY_PATH
150
+ MOVE_MOUNT_T_SYMLINKS
143
151
MPOL_BIND
144
152
MPOL_DEFAULT
145
153
MPOL_F_NUMA_BALANCING
Original file line number Diff line number Diff line change @@ -1029,7 +1029,17 @@ pub const STATX_ATTR_DAX: ::c_int = 0x00200000;
1029
1029
1030
1030
pub const SOMAXCONN : :: c_int = 4096 ;
1031
1031
1032
- //sys/timex.h
1032
+ // linux/mount.h
1033
+ pub const MOVE_MOUNT_F_SYMLINKS : :: c_uint = 0x00000001 ;
1034
+ pub const MOVE_MOUNT_F_AUTOMOUNTS : :: c_uint = 0x00000002 ;
1035
+ pub const MOVE_MOUNT_F_EMPTY_PATH : :: c_uint = 0x00000004 ;
1036
+ pub const MOVE_MOUNT_T_SYMLINKS : :: c_uint = 0x00000010 ;
1037
+ pub const MOVE_MOUNT_T_AUTOMOUNTS : :: c_uint = 0x00000020 ;
1038
+ pub const MOVE_MOUNT_T_EMPTY_PATH : :: c_uint = 0x00000040 ;
1039
+ pub const MOVE_MOUNT_SET_GROUP : :: c_uint = 0x00000100 ;
1040
+ pub const MOVE_MOUNT_BENEATH : :: c_uint = 0x00000200 ;
1041
+
1042
+ // sys/timex.h
1033
1043
pub const ADJ_OFFSET : :: c_uint = 0x0001 ;
1034
1044
pub const ADJ_FREQUENCY : :: c_uint = 0x0002 ;
1035
1045
pub const ADJ_MAXERROR : :: c_uint = 0x0004 ;
You can’t perform that action at this time.
0 commit comments