[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
Sun May 5 12:37:04 UTC 2019


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

--- Comment #4 from Ed Schouten <ed at FreeBSD.org> ---
Hi there,

Instead of going down this road, what are your thoughts on the following?

- Tossing out the use of O_EXLOCK entirely and leave the file writing as it is
now,
- Using a single lock file acquisition in pututxline() to serialise write
access all data files in one go.

This likely makes the code a bit simpler/lighter, while also improving the
sequential consistency guarantees between the data files.

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


More information about the freebsd-bugs mailing list