File tree Expand file tree Collapse file tree 3 files changed +22
-1
lines changed
src/unix/linux_like/linux/gnu Expand file tree Collapse file tree 3 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -3862,6 +3862,9 @@ fn test_linux(target: &str) {
38623862 // FIXME: Requires more recent kernel headers
38633863 "HWTSTAMP_TX_ONESTEP_P2P" if musl => true , // linux v5.6+
38643864
3865+ // kernel 6.5 minimum
3866+ "MOVE_MOUNT_BENEATH" => true ,
3867+
38653868 _ => false ,
38663869 }
38673870 } ) ;
Original file line number Diff line number Diff line change @@ -140,6 +140,14 @@ MOD_OFFSET
140140MOD_STATUS
141141MOD_TAI
142142MOD_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
143151MPOL_BIND
144152MPOL_DEFAULT
145153MPOL_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;
10291029
10301030pub const SOMAXCONN : :: c_int = 4096 ;
10311031
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
10331043pub const ADJ_OFFSET : :: c_uint = 0x0001 ;
10341044pub const ADJ_FREQUENCY : :: c_uint = 0x0002 ;
10351045pub const ADJ_MAXERROR : :: c_uint = 0x0004 ;
You can’t perform that action at this time.
0 commit comments