[Bug 251915] TOCTOU race between tty_signal_sessleader() and killjobc()
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Dec 17 16:29:53 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251915
Konstantin Belousov <kib at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kib at FreeBSD.org
--- Comment #1 from Konstantin Belousov <kib at FreeBSD.org> ---
Our atomic_load_ptr() guarantees that access occurs at the point where it is
called. So you can do (p = atomic_load_ptr(&tp->t_session->s_leader)) != NULL
and it cannot be unrolled by the optimizing compiler.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list