Searched refs:aa_dfa (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/security/apparmor/include/ |
H A D | match.h | 98 struct aa_dfa { struct 105 extern struct aa_dfa *nulldfa; argument 106 extern struct aa_dfa *stacksplitdfa; 130 struct aa_dfa *aa_dfa_unpack(void *blob, size_t size, int flags); 131 aa_state_t aa_dfa_match_len(struct aa_dfa *dfa, aa_state_t start, 133 aa_state_t aa_dfa_match(struct aa_dfa *dfa, aa_state_t start, 135 aa_state_t aa_dfa_next(struct aa_dfa *dfa, aa_state_t state, const char c); 136 aa_state_t aa_dfa_outofband_transition(struct aa_dfa *dfa, aa_state_t state); 137 aa_state_t aa_dfa_match_until(struct aa_dfa *dfa, aa_state_t start, 139 aa_state_t aa_dfa_matchn_until(struct aa_dfa *dfa, aa_state_t start, [all …]
|
H A D | lib.h | 90 static inline aa_state_t aa_dfa_null_transition(struct aa_dfa *dfa, in aa_dfa_null_transition()
|
H A D | policy.h | 83 struct aa_dfa *dfa;
|
/openbmc/linux/security/apparmor/ |
H A D | match.c | 27 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 aa_state_t aa_dfa_match_len(struct aa_dfa *dfa, aa_state_t start, in aa_dfa_match_len() 479 aa_state_t aa_dfa_match(struct aa_dfa *dfa, aa_state_t start, const char *str) in aa_dfa_match() 517 aa_state_t aa_dfa_next(struct aa_dfa *dfa, aa_state_t state, const char c) in aa_dfa_next() [all …]
|
H A D | policy_compat.c | 100 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() 149 static struct aa_perms *compute_fperms(struct aa_dfa *dfa, in compute_fperms() 173 static struct aa_perms *compute_xmatch_perms(struct aa_dfa *xmatch, in compute_xmatch_perms() 209 static struct aa_perms compute_perms_entry(struct aa_dfa *dfa, in compute_perms_entry() 248 static struct aa_perms *compute_perms(struct aa_dfa *dfa, u32 version, in compute_perms() 281 static void remap_dfa_accept(struct aa_dfa *dfa, unsigned int factor) in remap_dfa_accept()
|
H A D | policy_unpack.c | 424 static struct aa_dfa *unpack_dfa(struct aa_ext *e, int flags) in unpack_dfa() 428 struct aa_dfa *dfa = NULL; in unpack_dfa() 1181 static bool verify_dfa_accept_index(struct aa_dfa *dfa, int table_size) in verify_dfa_accept_index()
|
H A D | mount.c | 197 static aa_state_t match_mnt_flags(struct aa_dfa *dfa, aa_state_t state, in match_mnt_flags()
|