mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Clear some KSE fields after kse mode was turned off.
This commit is contained in:
parent
6398b9c017
commit
45f603e21c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108869
|
@ -211,6 +211,9 @@ kern_execve(td, fname, argv, envv, mac_p)
|
|||
*/
|
||||
p->p_flag &= ~P_KSES;
|
||||
td->td_flags &= ~TDF_UNBOUND;
|
||||
td->td_mailbox = NULL;
|
||||
td->td_kse->ke_mailbox = NULL;
|
||||
td->td_kse->ke_flags &= ~KEF_DOUPCALL;
|
||||
thread_single_end();
|
||||
}
|
||||
p->p_flag |= P_INEXEC;
|
||||
|
|
Loading…
Reference in a new issue