File tree 3 files changed +4
-2
lines changed
src/unix/bsd/freebsdlike/freebsd
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2074,8 +2074,8 @@ fn test_freebsd(target: &str) {
2074
2074
// These constants were introduced in FreeBSD 13:
2075
2075
"EFD_CLOEXEC" | "EFD_NONBLOCK" | "EFD_SEMAPHORE" if Some ( 13 ) > freebsd_ver => true ,
2076
2076
2077
- // This constant was introduced in FreeBSD 12:
2078
- "O_RESOLVE_BENEATH" if Some ( 12 ) > freebsd_ver => true ,
2077
+ // These constants were introduced in FreeBSD 12:
2078
+ "AT_RESOLVE_BENEATH" | " O_RESOLVE_BENEATH" if Some ( 12 ) > freebsd_ver => true ,
2079
2079
2080
2080
// These constants were introduced in FreeBSD 13:
2081
2081
"O_DSYNC" | "O_PATH" | "O_EMPTY_PATH" | "AT_EMPTY_PATH" if Some ( 13 ) > freebsd_ver => {
Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ AT_PHDR
100
100
AT_PHENT
101
101
AT_PHNUM
102
102
AT_REMOVEDIR
103
+ AT_RESOLVE_BENEATH
103
104
AT_SYMLINK_FOLLOW
104
105
AT_SYMLINK_NOFOLLOW
105
106
AT_UID
Original file line number Diff line number Diff line change @@ -3737,6 +3737,7 @@ pub const AT_EACCESS: ::c_int = 0x100;
3737
3737
pub const AT_SYMLINK_NOFOLLOW : :: c_int = 0x200 ;
3738
3738
pub const AT_SYMLINK_FOLLOW : :: c_int = 0x400 ;
3739
3739
pub const AT_REMOVEDIR : :: c_int = 0x800 ;
3740
+ pub const AT_RESOLVE_BENEATH : :: c_int = 0x2000 ;
3740
3741
pub const AT_EMPTY_PATH : :: c_int = 0x4000 ;
3741
3742
3742
3743
pub const AT_NULL : :: c_int = 0 ;
You can’t perform that action at this time.
0 commit comments