summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-12-07 05:15:58 +0000
committermillert <millert@openbsd.org>2001-12-07 05:15:58 +0000
commitf14e630af81779cd913f9c8be5feed5fcedd93b8 (patch)
tree879fbf04dbd9d0ed2eaa92cd56b9c5df01e75f16 /usr.bin/systat
parentethernet -> dc (Netra X1 finds its root dev correctly now) (diff)
downloadwireguard-openbsd-f14e630af81779cd913f9c8be5feed5fcedd93b8.tar.xz
wireguard-openbsd-f14e630af81779cd913f9c8be5feed5fcedd93b8.zip
Catch SIGINT, SIGQUIT and SIGTSTP but ignore during the database
update. We have to be careful and drop our lock if we are suspended and then regain the lock on resume. This is necessary because the user must not be allowed to keep a record locked for a long period of time to avoid a DoS. We must be sure to re-lock when we resume because otherwise an attacker could suspend us until a user starts to login and then resume and then race the user for login using the challenge response from the user.
Diffstat (limited to 'usr.bin/systat')
0 files changed, 0 insertions, 0 deletions