* [LTP] [PATCH] cve/cve-2016-10044.c: Fix compilation without READ_IMPLIES_EXEC
@ 2017-09-14 0:45 Xiao Yang
2017-09-14 9:00 ` Cyril Hrubis
0 siblings, 1 reply; 2+ messages in thread
From: Xiao Yang @ 2017-09-14 0:45 UTC (permalink / raw)
To: ltp
Compilation failed on some older distributions(e.g. RHEL5.11) due to
undefined READ_IMPLIES_EXEC in <sys/personality.h>, so we fix it.
Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
---
include/lapi/personality.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/lapi/personality.h b/include/lapi/personality.h
index 5b55438..d85baa0 100644
--- a/include/lapi/personality.h
+++ b/include/lapi/personality.h
@@ -27,4 +27,8 @@
# define UNAME26 0x0020000
#endif
+#ifndef READ_IMPLIES_EXEC
+# define READ_IMPLIES_EXEC 0x0400000
+#endif
+
#endif /* PERSONALITY_H */
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [LTP] [PATCH] cve/cve-2016-10044.c: Fix compilation without READ_IMPLIES_EXEC
2017-09-14 0:45 [LTP] [PATCH] cve/cve-2016-10044.c: Fix compilation without READ_IMPLIES_EXEC Xiao Yang
@ 2017-09-14 9:00 ` Cyril Hrubis
0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2017-09-14 9:00 UTC (permalink / raw)
To: ltp
Hi!
> Compilation failed on some older distributions(e.g. RHEL5.11) due to
> undefined READ_IMPLIES_EXEC in <sys/personality.h>, so we fix it.
Pushed, thanks.
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-14 9:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-14 0:45 [LTP] [PATCH] cve/cve-2016-10044.c: Fix compilation without READ_IMPLIES_EXEC Xiao Yang
2017-09-14 9:00 ` Cyril Hrubis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox