]> granicus.if.org Git - sudo/commit
No need to check whether the fd we opened is really a directory in
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 11 Jan 2016 18:15:42 +0000 (11:15 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 11 Jan 2016 18:15:42 +0000 (11:15 -0700)
commitc7c80913ef5258bcc632bce370b88aa967b19e52
treeb4921508ece9cfb5edb1a7f89ab886906fc824fd
parent68c1073fe52680f31682d3381d8824f709e40ec7
No need to check whether the fd we opened is really a directory in
sudo_edit_open_nonwritable() since if not, the openat() will fail
with ENOTDIR anyway.
src/sudo_edit.c