summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-06-22 23:57:22 +0000
committermillert <millert@openbsd.org>1997-06-22 23:57:22 +0000
commit0e2d523c3f333a898ce01a9fe2508a3f7bd8f046 (patch)
treec8a6e7f1f6945ea925b0ad268e289ed281aac0f8 /lib/libc/net
parentOnly call powerdown() if SUN4M is defined. (diff)
downloadwireguard-openbsd-0e2d523c3f333a898ce01a9fe2508a3f7bd8f046.tar.xz
wireguard-openbsd-0e2d523c3f333a898ce01a9fe2508a3f7bd8f046.zip
Use O_EXLOCK option of open(2) to open /etc/ptmp with an exclusive
lock. This fixes a DOS bug where a user could run passwd(1) and send it a SIGKILL, thus leaving /etc/ptmp in place.
Diffstat (limited to 'lib/libc/net')
0 files changed, 0 insertions, 0 deletions