Merge branch 'fix-chmod-regression' into 'master'
fix test regression caused by !1250 See merge request redox-os/relibc!1262
This commit is contained in:
@@ -488,7 +488,7 @@ pub(super) fn openat2_path(dirfd: c_int, path: &str, at_flags: c_int) -> Result<
|
||||
fn at_flags_to_open_flags(at_flags: c_int) -> c_int {
|
||||
let mut out: c_int = 0;
|
||||
if at_flags & fcntl::AT_SYMLINK_NOFOLLOW == fcntl::AT_SYMLINK_NOFOLLOW {
|
||||
out |= fcntl::O_NOFOLLOW;
|
||||
out |= fcntl::O_NOFOLLOW | fcntl::O_PATH;
|
||||
}
|
||||
out
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user