Searched refs:aa_ext (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/security/apparmor/include/ |
H A D | policy_unpack.h | 83 struct aa_ext { struct 169 bool aa_inbounds(struct aa_ext *e, size_t size); 170 size_t aa_unpack_u16_chunk(struct aa_ext *e, char **chunk); 171 bool aa_unpack_X(struct aa_ext *e, enum aa_code code); 172 bool aa_unpack_nameX(struct aa_ext *e, enum aa_code code, const char *name); 173 bool aa_unpack_u32(struct aa_ext *e, u32 *data, const char *name); 174 bool aa_unpack_u64(struct aa_ext *e, u64 *data, const char *name); 175 bool aa_unpack_array(struct aa_ext *e, const char *name, u16 *size); 176 size_t aa_unpack_blob(struct aa_ext *e, char **blob, const char *name); 177 int aa_unpack_str(struct aa_ext *e, const char **string, const char *name); [all …]
|
/openbmc/linux/security/apparmor/ |
H A D | policy_unpack.c | 63 const char *name, const char *info, struct aa_ext *e, in audit_iface() 162 VISIBLE_IF_KUNIT bool aa_inbounds(struct aa_ext *e, size_t size) in aa_inbounds() 175 VISIBLE_IF_KUNIT size_t aa_unpack_u16_chunk(struct aa_ext *e, char **chunk) in aa_unpack_u16_chunk() 197 VISIBLE_IF_KUNIT bool aa_unpack_X(struct aa_ext *e, enum aa_code code) in aa_unpack_X() 255 static bool unpack_u8(struct aa_ext *e, u8 *data, const char *name) in unpack_u8() 424 static struct aa_dfa *unpack_dfa(struct aa_ext *e, int flags) in unpack_dfa() 534 static bool unpack_xattrs(struct aa_ext *e, struct aa_profile *profile) in unpack_xattrs() 565 static bool unpack_secmark(struct aa_ext *e, struct aa_ruleset *rules) in unpack_secmark() 611 static bool unpack_rlimits(struct aa_ext *e, struct aa_ruleset *rules) in unpack_rlimits() 708 static int unpack_pdb(struct aa_ext *e, struct aa_policydb *policy, in unpack_pdb() [all …]
|
H A D | policy_unpack_test.c | 50 struct aa_ext *e; 54 static struct aa_ext *build_aa_ext_struct(struct policy_unpack_fixture *puf, in build_aa_ext_struct() 58 struct aa_ext *e; in build_aa_ext_struct()
|