mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
parser: cleanup capability_table generation by dropping cap sys_log
The static cap sys_log declaration is no longer needed as base_cap_names.h contains it and ensures that it will always be present. Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
270fb0a2b2
commit
fdba3a571c
1 changed files with 1 additions and 3 deletions
|
@ -176,9 +176,7 @@ static int get_table_token(const char *name unused, struct keyword_table *table,
|
|||
static struct keyword_table capability_table[] = {
|
||||
/* capabilities */
|
||||
#include "cap_names.h"
|
||||
#ifndef CAP_SYSLOG
|
||||
{"syslog", 34},
|
||||
#endif
|
||||
|
||||
/* terminate */
|
||||
{NULL, 0}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue