CVSROOT: /cvs Module name: src Changes by: [email protected] 2020/12/02 09:52:30
Modified files:
sys/kern : kern_fork.c kern_sig.c
Log message:
Prevent a TOCTOU race in single_thread_set() by extending the scope of the lock.
Make sure `ps_single' is set only once by checking then updating it without
releasing the lock.
Analyzed by and ok claudio@
