]> granicus.if.org Git - sudo/commit
Always set the close-on-exec bit on the fd used to generate the
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 27 Jan 2017 16:26:51 +0000 (09:26 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 27 Jan 2017 16:26:51 +0000 (09:26 -0700)
commitba8f756695eea98b3d34186351700e253833b280
tree20b4322d27f90d0b12385d94b39692b60f39ae09
parent1a8957e30b3577b47c7a9c912add6bb4bc1d3afc
Always set the close-on-exec bit on the fd used to generate the
digest (i.e. the command to run) on systems that lack fexecve(2).
That way we don't need to explicitly close it using #ifdefs.
plugins/sudoers/match.c