Thread (44 messages) 44 messages, 12 authors, 2019-11-15

Re: [PATCH 3/7] Add a UFFD_SECURE flag to the userfaultfd API.

flat view

From: Andrea Arcangeli <hidden>
Date: 2019-10-23 23:27:15
Also in: lkml

On Wed, Oct 23, 2019 at 04:01:53PM -0700, Andy Lutomirski wrote:
Delivering events through read() is just fine. The problem is when
delivering an event does more than just returning bytes. As far as
I’ve noticed, uffd’s read() just returns bytes as long as FORK is
disabled.
Yes, fork is the only case where read doesn't return bytes.

Moving only the fd creation to a separate syscall would then avoid
involuntary creation of the fd.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help