diff options
author | kevlo <kevlo@FreeBSD.org> | 2012-06-20 02:21:53 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2012-06-20 02:21:53 +0000 |
commit | 592e847dfeee3afbd0174cd2a749345b1d68a951 (patch) | |
tree | 6bbf4ac92d1bfee774d598f2e638ffb95b10493e /lib/libc/gen/syslog.c | |
parent | 5c7e44656e584946db7a32059adb6ebc4ef211e2 (diff) | |
download | FreeBSD-src-592e847dfeee3afbd0174cd2a749345b1d68a951.zip FreeBSD-src-592e847dfeee3afbd0174cd2a749345b1d68a951.tar.gz |
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.
Obtained from: NetBSD via OpenBSD
Diffstat (limited to 'lib/libc/gen/syslog.c')
0 files changed, 0 insertions, 0 deletions