[PATCH] Linux: Add memfd_create system call wrapper

Florian Weimer fweimer@redhat.com
Sun Nov 12 14:51:00 GMT 2017


On 11/12/2017 10:04 AM, Florian Weimer wrote:
> If that's not acceptable, we should probably not add <sys/memfd.h> at
> all, but replicate the UAPI constants in <sys/mman.h>.
> 
> I see that this also affects the test.  So we probably should go the
> <sys/mman.h> route.

I had already taken care of that, I forgot.  Anyway, the attached patch 
has the <sys/mman.h> variant of the system call wrapper.

Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memfd.patch
Type: text/x-patch
Size: 22522 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20171112/845cf68c/attachment.bin>


More information about the Libc-alpha mailing list