mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 14:25:52 +00:00
parser: convert to dynamically allocated capability list
We need to be able to dynamically add capabilities to the capability list so switch to using a dynamically allocated table that we can extend. Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
@@ -398,6 +398,7 @@ extern char *processquoted(const char *string, int len);
|
||||
extern char *processunquoted(const char *string, int len);
|
||||
extern int get_keyword_token(const char *keyword);
|
||||
extern int name_to_capability(const char *keyword);
|
||||
extern void capabilities_init(void);
|
||||
extern int get_rlimit(const char *name);
|
||||
extern char *process_var(const char *var);
|
||||
extern int parse_mode(const char *mode);
|
||||
|
Reference in New Issue
Block a user