Home
last modified time | relevance | path

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

/Linux-v4.19/security/apparmor/include/
Dmatch.h98 struct aa_dfa { struct
104 extern struct aa_dfa *nulldfa; argument
105 extern struct aa_dfa *stacksplitdfa;
127 struct aa_dfa *aa_dfa_unpack(void *blob, size_t size, int flags);
128 unsigned int aa_dfa_match_len(struct aa_dfa *dfa, unsigned int start,
130 unsigned int aa_dfa_match(struct aa_dfa *dfa, unsigned int start,
132 unsigned int aa_dfa_next(struct aa_dfa *dfa, unsigned int state,
134 unsigned int aa_dfa_match_until(struct aa_dfa *dfa, unsigned int start,
136 unsigned int aa_dfa_matchn_until(struct aa_dfa *dfa, unsigned int start,
157 unsigned int aa_dfa_leftmatch(struct aa_dfa *dfa, unsigned int start,
[all …]
Dfile.h178 struct aa_dfa *dfa;
184 struct aa_perms aa_compute_fperms(struct aa_dfa *dfa, unsigned int state,
186 unsigned int aa_str_perms(struct aa_dfa *dfa, unsigned int start,
Dpolicy.h79 struct aa_dfa *dfa;
141 struct aa_dfa *xmatch;
Dperms.h148 void aa_compute_perms(struct aa_dfa *dfa, unsigned int state,
Dlib.h80 static inline unsigned int aa_dfa_null_transition(struct aa_dfa *dfa, in aa_dfa_null_transition()
/Linux-v4.19/security/apparmor/
Dmatch.c31 struct aa_dfa *nulldfa;
36 struct aa_dfa *stacksplitdfa;
198 static int verify_dfa(struct aa_dfa *dfa) in verify_dfa()
250 static void dfa_free(struct aa_dfa *dfa) in dfa_free()
269 struct aa_dfa *dfa = container_of(kref, struct aa_dfa, count); in aa_dfa_free_kref()
285 struct aa_dfa *aa_dfa_unpack(void *blob, size_t size, int flags) in aa_dfa_unpack()
291 struct aa_dfa *dfa = kzalloc(sizeof(struct aa_dfa), GFP_KERNEL); in aa_dfa_unpack()
404 unsigned int aa_dfa_match_len(struct aa_dfa *dfa, unsigned int start, in aa_dfa_match_len()
444 unsigned int aa_dfa_match(struct aa_dfa *dfa, unsigned int start, in aa_dfa_match()
483 unsigned int aa_dfa_next(struct aa_dfa *dfa, unsigned int state, in aa_dfa_next()
[all …]
Dmount.c196 static unsigned int match_mnt_flags(struct aa_dfa *dfa, unsigned int state, in match_mnt_flags()
216 static struct aa_perms compute_mnt_perms(struct aa_dfa *dfa, in compute_mnt_perms()
242 static int do_match_mnt(struct aa_dfa *dfa, unsigned int start, in do_match_mnt()
Dpolicy_unpack.c399 static struct aa_dfa *unpack_dfa(struct aa_ext *e) in unpack_dfa()
403 struct aa_dfa *dfa = NULL; in unpack_dfa()
903 static bool verify_dfa_xindex(struct aa_dfa *dfa, int table_size) in verify_dfa_xindex()
Dfile.c228 struct aa_perms aa_compute_fperms(struct aa_dfa *dfa, unsigned int state, in aa_compute_fperms()
270 unsigned int aa_str_perms(struct aa_dfa *dfa, unsigned int start, in aa_str_perms()
Dlib.c327 void aa_compute_perms(struct aa_dfa *dfa, unsigned int state, in aa_compute_perms()
Dapparmorfs.c607 struct aa_dfa *dfa; in profile_query_cb()