2
0
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:
Todd C. Miller 2016-01-11 16:36:40 -07:00
parent 8ed9f6172a
commit 051fe2d4cf

View File

@ -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;