mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 13:58:05 +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
|
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;
|
struct stat sb1, sb2;
|
||||||
int fd;
|
int fd;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user