Searched refs:aa_policydb (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/security/apparmor/include/ |
D | policy.h | 84 struct aa_policydb { struct 95 extern struct aa_policydb *nullpdb; argument 97 struct aa_policydb *aa_alloc_pdb(gfp_t gfp); 107 static inline struct aa_policydb *aa_get_pdb(struct aa_policydb *pdb) in aa_get_pdb() 121 static inline void aa_put_pdb(struct aa_policydb *pdb) in aa_put_pdb() 127 static inline struct aa_perms *aa_lookup_perms(struct aa_policydb *policy, in aa_lookup_perms() 168 struct aa_policydb *policy; 169 struct aa_policydb *file; 188 struct aa_policydb *xmatch;
|
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);
|
D | file.h | 20 struct aa_policydb; 80 struct aa_perms *aa_lookup_fperms(struct aa_policydb *file_rules, 82 aa_state_t aa_str_perms(struct aa_policydb *file_rules, aa_state_t start,
|
/linux-6.12.1/security/apparmor/ |
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()
|
D | policy.c | 102 static void aa_free_pdb(struct aa_policydb *pdb) in aa_free_pdb() 119 struct aa_policydb *pdb = container_of(kref, struct aa_policydb, count); in aa_pdb_free_kref() 125 struct aa_policydb *aa_alloc_pdb(gfp_t gfp) in aa_alloc_pdb() 127 struct aa_policydb *pdb = kzalloc(sizeof(struct aa_policydb), gfp); in aa_alloc_pdb()
|
D | file.c | 180 struct aa_perms *aa_lookup_fperms(struct aa_policydb *file_rules, in aa_lookup_fperms() 204 aa_state_t aa_str_perms(struct aa_policydb *file_rules, aa_state_t start, in aa_str_perms()
|
D | policy_unpack.c | 708 static int unpack_pdb(struct aa_ext *e, struct aa_policydb **policy, in unpack_pdb() 712 struct aa_policydb *pdb; in unpack_pdb() 1212 static bool verify_perms(struct aa_policydb *pdb) in verify_perms()
|
D | mount.c | 226 static int do_match_mnt(struct aa_policydb *policy, aa_state_t start, in do_match_mnt()
|
D | lsm.c | 2156 struct aa_policydb *nullpdb;
|