diff options
author | 2000-11-25 23:22:33 +0000 | |
---|---|---|
committer | 2000-11-25 23:22:33 +0000 | |
commit | 27250d795135a99e393f396c3b91cd966974fc29 (patch) | |
tree | 996c9d4122e7dcf2f3185eb84a73c9d32aac778b /lib/libutil/util.h | |
parent | Everyone seems to hit the wrong key first time. Change the abort banner (diff) | |
download | wireguard-openbsd-27250d795135a99e393f396c3b91cd966974fc29.tar.xz wireguard-openbsd-27250d795135a99e393f396c3b91cd966974fc29.zip |
Fix some warnings and take advantage of perl5 system defines
In adduser, use /etc/ptmp as a lock file like the other passwd programs.
Currently it is just kept empty which is not so great.
Use sysopen() with explicit file modes so there is no race whereby
a user could see the contents on the master.passwd temp file in rmuser.
Fix order of file opens in rmuser so we don't try and remove anything
unless we can lock all our files.
Diffstat (limited to 'lib/libutil/util.h')
0 files changed, 0 insertions, 0 deletions