[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



latest RHEL6.7 kernel headers only defined PR_SET/GET_NO_NEW_PRIVS, which
lead to 'PR_GET_TID_ADDRESS' undeclared build error.

Signed-off-by: Hangbin Liu <liuhangbin@xxxxxxxxx>
---
 include/compat.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/compat.h b/include/compat.h
index 0e0f30e..1f1ad9c 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -280,6 +280,9 @@ enum {
 #ifndef PR_SET_NO_NEW_PRIVS
 #define PR_SET_NO_NEW_PRIVS     38
 #define PR_GET_NO_NEW_PRIVS     39
+#endif
+
+#ifndef PR_GET_TID_ADDRESS
 #define PR_GET_TID_ADDRESS      40
 #endif
 
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux