Home
last modified time | relevance | path

Searched refs:aa_policydb (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/security/apparmor/include/
Dpolicy.h84 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;
Dpolicy_compat.h29 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);
Dfile.h20 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/
Dpolicy_compat.c296 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()
Dpolicy.c102 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()
Dfile.c180 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()
Dpolicy_unpack.c708 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()
Dmount.c226 static int do_match_mnt(struct aa_policydb *policy, aa_state_t start, in do_match_mnt()
Dlsm.c2156 struct aa_policydb *nullpdb;