Date: Sat, 18 May 2019 18:48:21 +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-XLD09gfcde@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 Konstantin Belousov <kib@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #8 from Konstantin Belousov <kib@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. --=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-XLD09gfcde>