Searched refs:aa_policydb (Results 1 – 12 of 12) sorted by relevance
| /linux/security/apparmor/include/ |
| H A D | policy.h | 111 struct aa_policydb { struct 123 extern struct aa_policydb *nullpdb; argument 126 struct aa_policydb *aa_alloc_pdb(gfp_t gfp); 136 static inline struct aa_policydb *aa_get_pdb(struct aa_policydb *pdb) in aa_get_pdb() 150 static inline void aa_put_pdb(struct aa_policydb *pdb) in aa_put_pdb() 157 static inline struct aa_perms *aa_lookup_perms(struct aa_policydb *policy, in aa_lookup_perms() 195 struct aa_policydb *policy; 196 struct aa_policydb *file; 216 struct aa_policydb *xmatch;
|
| H 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);
|
| H 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,
|
| H 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,
|
| /linux/security/apparmor/ |
| H A D | policy_compat.c | 302 int aa_compat_map_xmatch(struct aa_policydb *policy) in aa_compat_map_xmatch() 313 int aa_compat_map_policy(struct aa_policydb *policy, u32 version) in aa_compat_map_policy() 324 int aa_compat_map_file(struct aa_policydb *policy) in aa_compat_map_file()
|
| H 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()
|
| H A D | policy.c | 109 static void aa_free_pdb(struct aa_policydb *pdb) in aa_free_pdb() 126 struct aa_policydb *pdb = container_of(kref, struct aa_policydb, count); in aa_pdb_free_kref() 132 struct aa_policydb *aa_alloc_pdb(gfp_t gfp) in aa_alloc_pdb() 134 struct aa_policydb *pdb = kzalloc_obj(struct aa_policydb, gfp); in aa_alloc_pdb()
|
| H 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()
|
| H A D | file.c | 187 struct aa_perms *aa_lookup_condperms(kuid_t subj_uid, struct aa_policydb *rules, in aa_lookup_condperms() 214 aa_state_t aa_str_perms(struct aa_policydb *file_rules, aa_state_t start, in aa_str_perms()
|
| H A D | policy_unpack.c | 965 static int unpack_pdb(struct aa_ext *e, struct aa_policydb **policy, in unpack_pdb() 969 struct aa_policydb *pdb; in unpack_pdb() 1516 static bool verify_perms(struct aa_policydb *pdb) in verify_perms()
|
| H A D | mount.c | 226 static int do_match_mnt(struct aa_policydb *policy, aa_state_t start, in do_match_mnt()
|
| H A D | lsm.c | 2453 struct aa_policydb *nullpdb;
|