Fix signal handler race condition.
This commit is contained in:
parent
41a5f91245
commit
3d55397795
@ -1644,6 +1644,11 @@ void
|
||||
dologout(status)
|
||||
int status;
|
||||
{
|
||||
/*
|
||||
* Prevent reception of SIGURG from resulting in a resumption
|
||||
* back to the main program loop.
|
||||
*/
|
||||
transflag = 0;
|
||||
|
||||
if (logged_in) {
|
||||
(void) seteuid((uid_t)0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user