Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2020 19:39:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 251915] TOCTOU race between tty_signal_sessleader() and killjobc()
Message-ID:  <bug-251915-227-wHpec2HUKD@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251915-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251915-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251915

--- Comment #6 from Jakub Piecuch <j.piecuch96@gmail.com> ---
(In reply to Konstantin Belousov from comment #5)
I mention t_session in the comment because it contains the mutex that we sh=
ould
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.=20

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251915-227-wHpec2HUKD>