Home
last modified time | relevance | path

Searched refs:aa_ext (Results 1 – 3 of 3) sorted by relevance

/linux/security/apparmor/include/
H A Dpolicy_unpack.h83 struct aa_ext { struct
184 bool aa_inbounds(struct aa_ext *e, size_t size);
185 size_t aa_unpack_u16_chunk(struct aa_ext *e, char **chunk);
186 bool aa_unpack_X(struct aa_ext *e, enum aa_code code);
187 bool aa_unpack_nameX(struct aa_ext *e, enum aa_code code, const char *name);
188 bool aa_unpack_u32(struct aa_ext *e, u32 *data, const char *name);
189 bool aa_unpack_u64(struct aa_ext *e, u64 *data, const char *name);
190 bool aa_unpack_array(struct aa_ext *e, const char *name, u16 *size);
191 size_t aa_unpack_blob(struct aa_ext *e, char **blob, const char *name);
192 int aa_unpack_str(struct aa_ext *e, const char **string, const char *name);
[all …]
/linux/security/apparmor/
H A Dpolicy_unpack.c64 const char *name, const char *info, struct aa_ext *e, in audit_iface()
179 VISIBLE_IF_KUNIT bool aa_inbounds(struct aa_ext *e, size_t size) in aa_inbounds()
192 VISIBLE_IF_KUNIT size_t aa_unpack_u16_chunk(struct aa_ext *e, char **chunk) in aa_unpack_u16_chunk()
214 VISIBLE_IF_KUNIT bool aa_unpack_X(struct aa_ext *e, enum aa_code code) in aa_unpack_X()
241 VISIBLE_IF_KUNIT bool aa_unpack_nameX(struct aa_ext *e, enum aa_code code, const char *name) in aa_unpack_nameX()
272 static bool unpack_u8(struct aa_ext *e, u8 *data, const char *name) in unpack_u8()
290 VISIBLE_IF_KUNIT bool aa_unpack_u32(struct aa_ext *e, u32 *data, const char *name) in aa_unpack_u32()
309 VISIBLE_IF_KUNIT bool aa_unpack_u64(struct aa_ext *e, u64 *data, const char *name) in aa_unpack_u64()
328 static bool aa_unpack_cap_low(struct aa_ext *e, kernel_cap_t *data, const char *name) in aa_unpack_cap_low()
338 static bool aa_unpack_cap_high(struct aa_ext *e, kernel_cap_t *data, const char *name) in aa_unpack_cap_high()
[all …]
H A Dpolicy_unpack_test.c52 struct aa_ext *e;
56 static struct aa_ext *build_aa_ext_struct(struct policy_unpack_fixture *puf, in build_aa_ext_struct()
60 struct aa_ext *e; in build_aa_ext_struct()