Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 May 2019 12:37:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 233578] Unprivileged local user can prevent other users logging in by locking utx.active
Message-ID:  <bug-233578-227-aDuGJvUr3T@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-233578-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-233578-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=3D233578

--- Comment #4 from Ed Schouten <ed@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.

--=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-233578-227-aDuGJvUr3T>