Home
last modified time | relevance | path

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

/linux-6.12.1/security/apparmor/include/
Dmatch.h98 struct aa_dfa { struct
124 struct aa_dfa *aa_dfa_unpack(void *blob, size_t size, int flags); argument
125 aa_state_t aa_dfa_match_len(struct aa_dfa *dfa, aa_state_t start,
127 aa_state_t aa_dfa_match(struct aa_dfa *dfa, aa_state_t start,
129 aa_state_t aa_dfa_next(struct aa_dfa *dfa, aa_state_t state, const char c);
130 aa_state_t aa_dfa_outofband_transition(struct aa_dfa *dfa, aa_state_t state);
131 aa_state_t aa_dfa_match_until(struct aa_dfa *dfa, aa_state_t start,
133 aa_state_t aa_dfa_matchn_until(struct aa_dfa *dfa, aa_state_t start,
153 aa_state_t aa_dfa_leftmatch(struct aa_dfa *dfa, aa_state_t start,
163 static inline struct aa_dfa *aa_get_dfa(struct aa_dfa *dfa) in aa_get_dfa()
[all …]
Dlib.h19 extern struct aa_dfa *stacksplitdfa;
92 static inline aa_state_t aa_dfa_null_transition(struct aa_dfa *dfa, in aa_dfa_null_transition()
Dpolicy.h86 struct aa_dfa *dfa;
/linux-6.12.1/security/apparmor/
Dmatch.c153 static int verify_dfa(struct aa_dfa *dfa) in verify_dfa()
227 static void dfa_free(struct aa_dfa *dfa) in dfa_free()
246 struct aa_dfa *dfa = container_of(kref, struct aa_dfa, count); in aa_dfa_free_kref()
262 struct aa_dfa *aa_dfa_unpack(void *blob, size_t size, int flags) in aa_dfa_unpack()
268 struct aa_dfa *dfa = kzalloc(sizeof(struct aa_dfa), GFP_KERNEL); in aa_dfa_unpack()
395 aa_state_t aa_dfa_match_len(struct aa_dfa *dfa, aa_state_t start, in aa_dfa_match_len()
435 aa_state_t aa_dfa_match(struct aa_dfa *dfa, aa_state_t start, const char *str) in aa_dfa_match()
473 aa_state_t aa_dfa_next(struct aa_dfa *dfa, aa_state_t state, const char c) in aa_dfa_next()
491 aa_state_t aa_dfa_outofband_transition(struct aa_dfa *dfa, aa_state_t state) in aa_dfa_outofband_transition()
521 aa_state_t aa_dfa_match_until(struct aa_dfa *dfa, aa_state_t start, in aa_dfa_match_until()
[all …]
Dpolicy_compat.c100 static void compute_fperms_allow(struct aa_perms *perms, struct aa_dfa *dfa, in compute_fperms_allow()
112 static struct aa_perms compute_fperms_user(struct aa_dfa *dfa, in compute_fperms_user()
127 static struct aa_perms compute_fperms_other(struct aa_dfa *dfa, in compute_fperms_other()
150 static struct aa_perms *compute_fperms(struct aa_dfa *dfa, in compute_fperms()
174 static struct aa_perms *compute_xmatch_perms(struct aa_dfa *xmatch, in compute_xmatch_perms()
210 static struct aa_perms compute_perms_entry(struct aa_dfa *dfa, in compute_perms_entry()
249 static struct aa_perms *compute_perms(struct aa_dfa *dfa, u32 version, in compute_perms()
282 static void remap_dfa_accept(struct aa_dfa *dfa, unsigned int factor) in remap_dfa_accept()
Dpolicy_unpack.c424 static struct aa_dfa *unpack_dfa(struct aa_ext *e, int flags) in unpack_dfa()
428 struct aa_dfa *dfa = NULL; in unpack_dfa()
1179 static bool verify_dfa_accept_index(struct aa_dfa *dfa, int table_size) in verify_dfa_accept_index()
Dmount.c199 static aa_state_t match_mnt_flags(struct aa_dfa *dfa, aa_state_t state, in match_mnt_flags()
Dlsm.c2150 static struct aa_dfa *nulldfa;
2155 struct aa_dfa *stacksplitdfa;