Home
last modified time | relevance | path

Searched refs:aa_dfa (Results 1 – 11 of 11) sorted by relevance

/linux-5.19.10/security/apparmor/include/
Dmatch.h98 struct aa_dfa { struct
105 extern struct aa_dfa *nulldfa; argument
106 extern struct aa_dfa *stacksplitdfa;
128 struct aa_dfa *aa_dfa_unpack(void *blob, size_t size, int flags);
129 unsigned int aa_dfa_match_len(struct aa_dfa *dfa, unsigned int start,
131 unsigned int aa_dfa_match(struct aa_dfa *dfa, unsigned int start,
133 unsigned int aa_dfa_next(struct aa_dfa *dfa, unsigned int state,
135 unsigned int aa_dfa_outofband_transition(struct aa_dfa *dfa,
137 unsigned int aa_dfa_match_until(struct aa_dfa *dfa, unsigned int start,
139 unsigned int aa_dfa_matchn_until(struct aa_dfa *dfa, unsigned int start,
[all …]
Dfile.h177 struct aa_dfa *dfa;
183 struct aa_perms aa_compute_fperms(struct aa_dfa *dfa, unsigned int state,
185 unsigned int aa_str_perms(struct aa_dfa *dfa, unsigned int start,
Dpolicy.h75 struct aa_dfa *dfa;
137 struct aa_dfa *xmatch;
Dperms.h144 void aa_compute_perms(struct aa_dfa *dfa, unsigned int state,
Dlib.h90 static inline unsigned int aa_dfa_null_transition(struct aa_dfa *dfa, in aa_dfa_null_transition()
/linux-5.19.10/security/apparmor/
Dmatch.c27 struct aa_dfa *nulldfa;
32 struct aa_dfa *stacksplitdfa;
197 static int verify_dfa(struct aa_dfa *dfa) in verify_dfa()
271 static void dfa_free(struct aa_dfa *dfa) in dfa_free()
290 struct aa_dfa *dfa = container_of(kref, struct aa_dfa, count); in aa_dfa_free_kref()
306 struct aa_dfa *aa_dfa_unpack(void *blob, size_t size, int flags) in aa_dfa_unpack()
312 struct aa_dfa *dfa = kzalloc(sizeof(struct aa_dfa), GFP_KERNEL); in aa_dfa_unpack()
439 unsigned int aa_dfa_match_len(struct aa_dfa *dfa, unsigned int start, in aa_dfa_match_len()
479 unsigned int aa_dfa_match(struct aa_dfa *dfa, unsigned int start, in aa_dfa_match()
518 unsigned int aa_dfa_next(struct aa_dfa *dfa, unsigned int state, in aa_dfa_next()
[all …]
Dmount.c193 static unsigned int match_mnt_flags(struct aa_dfa *dfa, unsigned int state, in match_mnt_flags()
213 static struct aa_perms compute_mnt_perms(struct aa_dfa *dfa, in compute_mnt_perms()
240 static int do_match_mnt(struct aa_dfa *dfa, unsigned int start, in do_match_mnt()
Dfile.c215 struct aa_perms aa_compute_fperms(struct aa_dfa *dfa, unsigned int state, in aa_compute_fperms()
257 unsigned int aa_str_perms(struct aa_dfa *dfa, unsigned int start, in aa_str_perms()
Dpolicy_unpack.c442 static struct aa_dfa *unpack_dfa(struct aa_ext *e) in unpack_dfa()
446 struct aa_dfa *dfa = NULL; in unpack_dfa()
1004 static bool verify_dfa_xindex(struct aa_dfa *dfa, int table_size) in verify_dfa_xindex()
Dlib.c325 void aa_compute_perms(struct aa_dfa *dfa, unsigned int state, in aa_compute_perms()
Dapparmorfs.c612 struct aa_dfa *dfa; in profile_query_cb()