syscalls/pkeys/pkey01: build fail MAP_HUGETLB undefine
PATCH 1/1 syscalls/pkeys/pkey01: build fail MAP_HUGETLB undefine
build fail on old distro(based glibc-2.12.1 2010-08-03) MAP_HUGELTB introduced in glibc-2.11.3 2010-11-30. include lapi/mmap.h to fix it.
Signed-off-by Ping Fang <[email protected]>
--- testcases/kernel/syscalls/pkeys/pkey.h | 1 + 1 file changed, 1 insertion(+)
testcases/kernel/syscalls/pkeys/pkey.h +1 -0
@@ -9,6 +9,7 @@#include "tst_test.h" #include "lapi/syscalls.h" +#include "lapi/mmap.h" #ifndef PKEY_DISABLE_ACCESS # define PKEY_DISABLE_ACCESS 0x1
Signature · 1 line
2.21.0
PATCH 1/1 syscalls/pkeys/pkey01: build fail MAP_HUGETLB undefine
Merged.
Signature · 5 lines
Regards, Li Wang -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linux.it/pipermail/ltp/attachments/20191023/4da79ee9/attachment.htm>