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

 



From: Vinson Lee <vlee@xxxxxxxxxxx>

  CC    syscalls/prctl.o
syscalls/prctl.c:33:13: error: ‘PR_SET_CHILD_SUBREAPER’ undeclared here (not in a function)
syscalls/prctl.c:33:37: error: ‘PR_GET_CHILD_SUBREAPER’ undeclared here (not in a function)
syscalls/prctl.c:34:23: error: ‘PR_GET_TID_ADDRESS’ undeclared here (not in a function)

Signed-off-by: Vinson Lee <vlee@xxxxxxxxxxx>
---
 include/compat.h |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/compat.h b/include/compat.h
index 51f0936..30edc81 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -257,6 +257,9 @@ enum {
 
 #ifndef PR_SET_MM
 #define PR_SET_MM               35
+#endif
+
+#ifndef PR_SET_CHILD_SUBREAPER
 #define PR_SET_CHILD_SUBREAPER  36
 #define PR_GET_CHILD_SUBREAPER  37
 #define PR_SET_NO_NEW_PRIVS     38
-- 
1.7.9.5

--
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