[Bug 251915] TOCTOU race between tty_signal_sessleader() and killjobc()

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 17 19:39:50 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251915

--- Comment #6 from Jakub Piecuch <j.piecuch96 at gmail.com> ---
(In reply to Konstantin Belousov from comment #5)
I mention t_session in the comment because it contains the mutex that we should
be holding in order to access t_session->s_leader. proctree_lock would also
suffice for reading, but we're not holding that lock either. 

Thanks for reviewing and improving my patch. I'm a kernel newbie, so all
feedback is appreciated :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list