caps: define CAP_AUDIT_READ if not defined
This commit is contained in:
parent
a85f5505d2
commit
7820553cb9
6
caps.c
6
caps.c
@ -36,6 +36,10 @@
|
||||
x, #x \
|
||||
}
|
||||
|
||||
#if !defined(CAP_AUDIT_READ)
|
||||
#define CAP_AUDIT_READ 37
|
||||
#endif /* !defined(CAP_AUDIT_READ) */
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
static struct {
|
||||
const int val;
|
||||
@ -78,9 +82,7 @@ static struct {
|
||||
VALSTR_STRUCT(CAP_SYSLOG),
|
||||
VALSTR_STRUCT(CAP_WAKE_ALARM),
|
||||
VALSTR_STRUCT(CAP_BLOCK_SUSPEND),
|
||||
#if defined(CAP_AUDIT_READ)
|
||||
VALSTR_STRUCT(CAP_AUDIT_READ),
|
||||
#endif /* defined(CAP_AUDIT_READ) */
|
||||
};
|
||||
/* *INDENT-ON* */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user