summaryrefslogtreecommitdiff
path: root/usr.bin/su
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2017-06-12 18:38:58 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2017-06-12 18:38:58 +0000
commit800deae54849a3a5f9b07348e7cc69ac91de249d (patch)
treeab830b1c3c91caf936550175fe96fb49128cef09 /usr.bin/su
parentf31b5086ea9cba0372aee983c79263f4876d56d7 (diff)
Use openat() and unlinkat() instead of chdir()ing to the recovery dir.
Since we use flock() and not fcntl() locking we can open the recovery file read-only. OK martijn@
Diffstat (limited to 'usr.bin/su')
0 files changed, 0 insertions, 0 deletions