]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/start.c
attach, start: declare PR_{S,G}PR_GET_NO_NEW_PRIVS
[mirror_lxc.git] / src / lxc / start.c
index bcc2e5ee99b91f7399348d40faf52a7410251aa4..ecc7b08f69d9a8357ce11a49304af6d8d06762ce 100644 (file)
 #include <sys/capability.h>
 #endif
 
-#if !HAVE_DECL_PR_CAPBSET_DROP
+#ifndef HAVE_DECL_PR_CAPBSET_DROP
 #define PR_CAPBSET_DROP 24
 #endif
 
+#ifndef HAVE_DECL_PR_SET_NO_NEW_PRIVS
+#define PR_SET_NO_NEW_PRIVS 38
+#endif
+
+#ifndef HAVE_DECL_PR_GET_NO_NEW_PRIVS
+#define PR_GET_NO_NEW_PRIVS 39
+#endif
+
 #include "af_unix.h"
 #include "bdev.h"
 #include "caps.h"