All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH] syscalls/pkeys/pkey01: build fail MAP_HUGETLB undefine
@ 2019-10-23  2:56 Ping Fang
  2019-10-23  3:36 ` Li Wang
  0 siblings, 1 reply; 2+ messages in thread
From: Ping Fang @ 2019-10-23  2:56 UTC (permalink / raw)
  To: ltp

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 <pifang@redhat.com>
---
 testcases/kernel/syscalls/pkeys/pkey.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testcases/kernel/syscalls/pkeys/pkey.h b/testcases/kernel/syscalls/pkeys/pkey.h
index 3c1204978..6e32326b6 100644
--- a/testcases/kernel/syscalls/pkeys/pkey.h
+++ b/testcases/kernel/syscalls/pkeys/pkey.h
@@ -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
-- 
2.21.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [LTP] [PATCH] syscalls/pkeys/pkey01: build fail MAP_HUGETLB undefine
  2019-10-23  2:56 [LTP] [PATCH] syscalls/pkeys/pkey01: build fail MAP_HUGETLB undefine Ping Fang
@ 2019-10-23  3:36 ` Li Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Li Wang @ 2019-10-23  3:36 UTC (permalink / raw)
  To: ltp

Merged.

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20191023/4da79ee9/attachment.htm>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-23  3:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-23  2:56 [LTP] [PATCH] syscalls/pkeys/pkey01: build fail MAP_HUGETLB undefine Ping Fang
2019-10-23  3:36 ` Li Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.