]> git.ipfire.org Git - thirdparty/man-pages.git/commit
memfd_create.2, mmap.2, shmget.2: Document the EPERM for huge page allocations
authorMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 17 May 2021 03:31:08 +0000 (15:31 +1200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 17 May 2021 03:42:04 +0000 (15:42 +1200)
commit090fdddb4342f92a1dbeba687462f4bcee816232
treed7777aad858671aad3d8c6e189eee4f2212c6861
parent6cee0ddeb4146fa3f67c57ef1e3b3fb7e6de892b
memfd_create.2, mmap.2, shmget.2: Document the EPERM for huge page allocations

This error can occur if the caller is does not have CAP_IPC_LOCK
and is not a member of the sysctl_hugetlb_shm_group.

Reported-by: Yang Xu <xuyang2018.jy@fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/memfd_create.2
man2/mmap.2
man2/shmget.2