We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce69b39 commit bf8303dCopy full SHA for bf8303d
1 file changed
src/uucore/src/lib/features/safe_traversal.rs
@@ -390,7 +390,6 @@ impl DirFd {
390
/// symlinks, then chmods via /proc/self/fd/{fd}. This avoids the TOCTOU
391
/// race because the fd pins the inode.
392
///
393
- /// Uses rustix safe wrappers to avoid raw `unsafe` FFI calls.
394
#[cfg(target_os = "linux")]
395
fn chmod_at_via_opath(&self, name: &std::ffi::CStr, mode: u32) -> io::Result<()> {
396
use rustix::fs::{Mode, OFlags, chmod, openat};
0 commit comments