]> granicus.if.org Git - sudo/commit
Instead of using stat(2) to see if the admin flag file exists and
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 6 May 2016 20:12:08 +0000 (14:12 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 6 May 2016 20:12:08 +0000 (14:12 -0600)
commit151e03fb5b51e3d4efd69c37d71bf62c91d3a7ba
tree6449534b466fb60eb11b86e52e4aa85330530e8d
parentbb12328064153a5cd77154b10c9e27a040562013
Instead of using stat(2) to see if the admin flag file exists and
creating it if not, just try to create the file and treat EEXIST
as a non-error.  Coverity CID 104121.
plugins/sudoers/sudoers.c