]> git.ipfire.org Git - thirdparty/man-pages.git/commit
pkey_alloc.2, mprotect.2: _GNU_SOURCE is required for the pkey functions.
authorMark Wielaard <mark@klomp.org>
Wed, 29 May 2019 23:05:55 +0000 (01:05 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 14 Jun 2019 15:09:00 +0000 (17:09 +0200)
commitf92ea96babd20a4cdbe92c33871d7a19f190c2e5
tree9fd94d9b68a6b722d5cb1c84ee64658d057cd392
parenta4a0b742343cd2af476801b8ba3fe357c802e0ef
pkey_alloc.2, mprotect.2: _GNU_SOURCE is required for the pkey functions.

To get the pkey_alloc, pkey_free and pkey_mprotect functions
_GNU_SOURCE needs to be defined before including sys/mman.h.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Mark Wielaard <mark@klomp.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/mprotect.2
man2/pkey_alloc.2