mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 13:28:10 +00:00
Add missing dfd argument to the version of sudo_edit_openat_nofollow()
for systems without O_NOFOLLOW.
This commit is contained in:
parent
8ed9f6172a
commit
051fe2d4cf
@ -247,7 +247,7 @@ sudo_edit_is_symlink(int fd, char *path)
|
||||
}
|
||||
|
||||
static int
|
||||
sudo_edit_openat_nofollow(char *path, int oflags, mode_t mode)
|
||||
sudo_edit_openat_nofollow(int dfd, char *path, int oflags, mode_t mode)
|
||||
{
|
||||
struct stat sb1, sb2;
|
||||
int fd;
|
||||
|
Loading…
x
Reference in New Issue
Block a user