Commit 9527e566 by Ferenc Wagner Committed by Daniel Lezcano

conditional use of new capabilities

parent 91e7929d
...@@ -170,8 +170,12 @@ static struct caps_opt caps_opt[] = { ...@@ -170,8 +170,12 @@ static struct caps_opt caps_opt[] = {
{ "sys_tty_config", CAP_SYS_TTY_CONFIG }, { "sys_tty_config", CAP_SYS_TTY_CONFIG },
{ "mknod", CAP_MKNOD }, { "mknod", CAP_MKNOD },
{ "lease", CAP_LEASE }, { "lease", CAP_LEASE },
#ifdef CAP_AUDIT_WRITE
{ "audit_write", CAP_AUDIT_WRITE }, { "audit_write", CAP_AUDIT_WRITE },
#endif
#ifdef CAP_AUDIT_CONTROL
{ "audit_control", CAP_AUDIT_CONTROL }, { "audit_control", CAP_AUDIT_CONTROL },
#endif
{ "setfcap", CAP_SETFCAP }, { "setfcap", CAP_SETFCAP },
{ "mac_override", CAP_MAC_OVERRIDE }, { "mac_override", CAP_MAC_OVERRIDE },
{ "mac_admin", CAP_MAC_ADMIN }, { "mac_admin", CAP_MAC_ADMIN },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment