Date: Thu, 17 Dec 2020 16:29:52 +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-acPxIlWZhI@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 Konstantin Belousov <kib@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> --- Our atomic_load_ptr() guarantees that access occurs at the point where it is called. So you can do (p =3D atomic_load_ptr(&tp->t_session->s_leader)) != =3D NULL and it cannot be unrolled by the optimizing compiler. --=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-acPxIlWZhI>