[Bug 233578] Unprivileged local user can prevent other users logging in by locking utx.active

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat May 18 18:48:25 UTC 2019


Konstantin Belousov <kib at FreeBSD.org> changed:

           What    |Removed                     |Added
                 CC|                            |kib at FreeBSD.org

--- Comment #8 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to Ed Schouten from comment #7)
On FreeBSD, we guarantee that reader never see torn writes, assuming writer
always write single record using one atomic write(2) syscall, and similarly
reader uses single atomic read(2) syscall to get the record.

My guess is that if you get rid of stdio(3) use with its buffers, then you can
drop O_EXCLOCK and the issue disappears.

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

More information about the freebsd-bugs mailing list