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 b96a88d commit 248fa95Copy full SHA for 248fa95
src/devices/src/virtio/fs/linux/overlayfs.rs
@@ -2008,11 +2008,13 @@ impl OverlayFs {
2008
}
2009
#[cfg(target_env = "musl")]
2010
{
2011
- libc::renameat(
+ libc::syscall(
2012
+ libc::SYS_renameat2,
2013
old_parent_data.file.as_raw_fd(),
2014
old_name.as_ptr(),
2015
new_parent_data.file.as_raw_fd(),
2016
new_name.as_ptr(),
2017
+ flags,
2018
)
2019
2020
};
0 commit comments