gentoo: use /var/run for new /run compatibility
[util-vserver.git] / lib / getinsecurebcaps.c
index ddb25d9..f04af2c 100644 (file)
@@ -31,11 +31,9 @@ vc_get_insecurebcaps()
           (1<<VC_CAP_SETGID) | (1<<VC_CAP_SETUID) |
           (1<<VC_CAP_NET_BIND_SERVICE) | (1<<VC_CAP_SYS_CHROOT) |
           (1<<VC_CAP_SYS_PTRACE) | (1<<VC_CAP_SYS_TTY_CONFIG) |
-          (1<<VC_CAP_LEASE)
+          (1<<VC_CAP_LEASE) | (1<<VC_CAP_SETFCAP)
 
-#if defined(VC_ENABLE_API_COMPAT)
           | (vc_isSupported(vcFEATURE_VSHELPER) ? (1<<VC_CAP_SYS_BOOT) : 0)
           | (vc_isSupported(vcFEATURE_MIGRATE)  ? (1<<VC_CAP_AUDIT_WRITE) : 0) // formerly QUOTACTL
-#endif
     );
 }