2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 14:25:52 +00:00

allow specifying link permissions as a pair

This commit is contained in:
John Johansen
2007-11-16 09:37:31 +00:00
parent 398102afa8
commit 4ce25448af
6 changed files with 65 additions and 12 deletions

View File

@@ -38,6 +38,7 @@ struct cod_pattern {
struct cod_entry {
char *namespace;
char *name;
char *link_name;
struct codomain *codomain; /* Special codomain defined
* just for this executable */
int mode; /* mode is 'or' of AA_* bits */
@@ -194,7 +195,8 @@ extern int get_keyword_token(const char *keyword);
extern int name_to_capability(const char *keyword);
extern char *process_var(const char *var);
extern int parse_mode(const char *mode);
extern struct cod_entry *new_entry(char *namespace, char *id, int mode);
extern struct cod_entry *new_entry(char *namespace, char *id, int mode,
char *link_id);
extern struct aa_network_entry *new_network_ent(unsigned int family,
unsigned int type,
unsigned int protocol);