]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/start.c
lxc/start.c: Fix legacy PR_{G,S}ET_NO_NEW_PRIVS handling
[mirror_lxc.git] / src / lxc / start.c
index 2632a9b1c9c11273fb733d5ddfb465a20e93fb47..fe76b2357f1f870d2116b864f88483bacbb4385e 100644 (file)
 #include <sys/capability.h>
 #endif
 
-#ifndef HAVE_DECL_PR_CAPBSET_DROP
+#if !HAVE_DECL_PR_CAPBSET_DROP
 #define PR_CAPBSET_DROP 24
 #endif
 
-#ifndef HAVE_DECL_PR_SET_NO_NEW_PRIVS
+#if !HAVE_DECL_PR_SET_NO_NEW_PRIVS
 #define PR_SET_NO_NEW_PRIVS 38
 #endif
 
-#ifndef HAVE_DECL_PR_GET_NO_NEW_PRIVS
+#if !HAVE_DECL_PR_GET_NO_NEW_PRIVS
 #define PR_GET_NO_NEW_PRIVS 39
 #endif