Thread (6 messages) flat view 6 messages, 4 authors, 2020-04-20

Re: [PATCH] fcntl: Add 32bit filesystem mode

From: Peter Maydell <hidden>
Date: 2020-04-20 15:29:45
Also in: linux-ext4, linux-fsdevel, qemu-devel

On Mon, 20 Apr 2020 at 16:24, Eric Blake [off-list ref] wrote:
It will be interesting to find how much code (wrongly) assumes it can
use a blind assignment of fcntl(fd, F_SETFD, 1) and thereby accidentally
wipes out other existing flags, when it should have instead been doing a
read-modify-write to protect flags other than FD_CLOEXEC.
For instance, a quick grep shows 4 instances of this in QEMU :-)

thanks
-- PMM
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help