mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-01 06:45:38 +00: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:
@@ -176,9 +176,7 @@ static int get_table_token(const char *name unused, struct keyword_table *table,
|
|||||||
static struct keyword_table capability_table[] = {
|
static struct keyword_table capability_table[] = {
|
||||||
/* capabilities */
|
/* capabilities */
|
||||||
#include "cap_names.h"
|
#include "cap_names.h"
|
||||||
#ifndef CAP_SYSLOG
|
|
||||||
{"syslog", 34},
|
|
||||||
#endif
|
|
||||||
/* terminate */
|
/* terminate */
|
||||||
{NULL, 0}
|
{NULL, 0}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user