diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-12-07 05:15:59 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-12-07 05:15:59 +0000 |
commit | 1759f3f7346ef1dda87d5f3dd4ac6e91032d3488 (patch) | |
tree | b22aff8b371036411e9827e0e1cbbfa3fc7a025d /usr.bin/systat/vmstat.c | |
parent | c340e2449016627bc5ea9cadfc0277799f45a4cf (diff) |
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/vmstat.c')
0 files changed, 0 insertions, 0 deletions