summaryrefslogtreecommitdiff
path: root/bin/systrace/openbsd-syscalls.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2012-06-18 00:33:48 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2012-06-18 00:33:48 +0000
commita7e024bf8cce2ccb754d7ecef9c9bebf4a8e7c5b (patch)
tree3c767f3c9ce5e9646cec713670d6cfe55d664b20 /bin/systrace/openbsd-syscalls.c
parente3572ee10b9c76e407a985734e97e791fce50ba5 (diff)
Fix potential symlink race condition in "rm -P" by adding a check
that the file we have opened is the one we expected. Also open in non-blocking mode to avoid a potential hang with FIFOs. Reported by Radoslaw A. Zarzynski. Fix adapted from NetBSD. OK guenther@
Diffstat (limited to 'bin/systrace/openbsd-syscalls.c')
0 files changed, 0 insertions, 0 deletions