diff options
author | 1997-06-22 23:57:22 +0000 | |
---|---|---|
committer | 1997-06-22 23:57:22 +0000 | |
commit | 0e2d523c3f333a898ce01a9fe2508a3f7bd8f046 (patch) | |
tree | c8a6e7f1f6945ea925b0ad268e289ed281aac0f8 /lib/libc/net | |
parent | Only call powerdown() if SUN4M is defined. (diff) | |
download | wireguard-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