Searched refs:aa_policydb (Results 1 – 12 of 12) sorted by relevance
| /security/apparmor/include/ |
| A D | policy.h | 89 struct aa_policydb { struct 100 extern struct aa_policydb *nullpdb; argument 102 struct aa_policydb *aa_alloc_pdb(gfp_t gfp); 112 static inline struct aa_policydb *aa_get_pdb(struct aa_policydb *pdb) in aa_get_pdb() 126 static inline void aa_put_pdb(struct aa_policydb *pdb) in aa_put_pdb() 133 static inline struct aa_perms *aa_lookup_perms(struct aa_policydb *policy, in aa_lookup_perms() 171 struct aa_policydb *policy; 172 struct aa_policydb *file; 192 struct aa_policydb *xmatch;
|
| A D | policy_compat.h | 29 int aa_compat_map_xmatch(struct aa_policydb *policy); 30 int aa_compat_map_policy(struct aa_policydb *policy, u32 version); 31 int aa_compat_map_file(struct aa_policydb *policy);
|
| A D | file.h | 20 struct aa_policydb; 81 struct aa_policydb *file_rules, 83 aa_state_t aa_str_perms(struct aa_policydb *file_rules, aa_state_t start,
|
| A D | net.h | 88 int aa_do_perms(struct aa_profile *profile, struct aa_policydb *policy, 92 aa_state_t aa_match_to_prot(struct aa_policydb *policy, aa_state_t state,
|
| /security/apparmor/ |
| A D | policy_compat.c | 296 int aa_compat_map_xmatch(struct aa_policydb *policy) in aa_compat_map_xmatch() 307 int aa_compat_map_policy(struct aa_policydb *policy, u32 version) in aa_compat_map_policy() 318 int aa_compat_map_file(struct aa_policydb *policy) in aa_compat_map_file()
|
| A D | net.c | 165 int aa_do_perms(struct aa_profile *profile, struct aa_policydb *policy, in aa_do_perms() 188 static struct aa_perms *early_match(struct aa_policydb *policy, in early_match() 224 aa_state_t aa_match_to_prot(struct aa_policydb *policy, aa_state_t state, in aa_match_to_prot()
|
| A D | policy.c | 102 static void aa_free_pdb(struct aa_policydb *pdb) in aa_free_pdb() 118 struct aa_policydb *pdb = container_of(kref, struct aa_policydb, count); in aa_pdb_free_kref() 124 struct aa_policydb *aa_alloc_pdb(gfp_t gfp) in aa_alloc_pdb() 126 struct aa_policydb *pdb = kzalloc(sizeof(struct aa_policydb), gfp); in aa_alloc_pdb()
|
| A D | af_unix.c | 84 static aa_state_t match_to_local(struct aa_policydb *policy, in match_to_local() 122 static aa_state_t match_to_sk(struct aa_policydb *policy, in match_to_sk() 138 static aa_state_t match_to_cmd(struct aa_policydb *policy, aa_state_t state, in match_to_cmd() 155 static aa_state_t match_to_peer(struct aa_policydb *policy, aa_state_t state, in match_to_peer()
|
| A D | file.c | 182 struct aa_perms *aa_lookup_condperms(kuid_t subj_uid, struct aa_policydb *rules, in aa_lookup_condperms() 209 aa_state_t aa_str_perms(struct aa_policydb *file_rules, aa_state_t start, in aa_str_perms()
|
| A D | policy_unpack.c | 712 static int unpack_pdb(struct aa_ext *e, struct aa_policydb **policy, in unpack_pdb() 716 struct aa_policydb *pdb; in unpack_pdb() 1247 static bool verify_perms(struct aa_policydb *pdb) in verify_perms()
|
| A D | mount.c | 226 static int do_match_mnt(struct aa_policydb *policy, aa_state_t start, in do_match_mnt()
|
| A D | lsm.c | 2441 struct aa_policydb *nullpdb;
|
Completed in 37 milliseconds