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:
Jeremy Soller
2026-05-04 13:40:22 -06:00
+1 -1
View File
@@ -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
}