Re: <sys/memfd.h> header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[CC += David Herrmann]

Hi Florian,

On 3 November 2017 at 20:22, Florian Weimer <fweimer@xxxxxxxxxx> wrote:
> memfd_create(2) mentions a <sys/memfd.h>.  Is this a typo for
> <linux/memfd.h>?

Offhand, I do not know. This header file was listed in the original
draft of the page that I received from David Herrmann. (I did much
reworking of the page, but overlooked this detail.) Perhaps it was a
typo, or perhaps it was David's estimation that there would eventually
be such a glibc header.

> I want to implement the system call wrapper, but we're probably going to put
> it into <sys/mman.h> and have it include <linux/memfd.h> for _GNU_SOURCE.

I'm agnostic about it. Maybe David will have some thoughts.

Cheers,

Michael

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux