From: Todd C. Miller Date: Mon, 11 Jan 2016 23:36:40 +0000 (-0700) Subject: Add missing dfd argument to the version of sudo_edit_openat_nofollow() X-Git-Tag: SUDO_1_8_16^2~79 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=051fe2d4cfe103fec0944ee41759380de0ba15f3;p=sudo Add missing dfd argument to the version of sudo_edit_openat_nofollow() for systems without O_NOFOLLOW. --- diff --git a/src/sudo_edit.c b/src/sudo_edit.c index c09d79354..cc6476fa9 100644 --- a/src/sudo_edit.c +++ b/src/sudo_edit.c @@ -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;