mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix signal handler race condition.
This commit is contained in:
parent
5f9a0f6762
commit
0b4df2eec2
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Reference in a new issue