Searched refs:aa_ext (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/security/apparmor/include/ |
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 …]
|
/linux-6.12.1/security/apparmor/ |
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() 224 VISIBLE_IF_KUNIT bool aa_unpack_nameX(struct aa_ext *e, enum aa_code code, const char *name) in aa_unpack_nameX() 255 static bool unpack_u8(struct aa_ext *e, u8 *data, const char *name) in unpack_u8() 273 VISIBLE_IF_KUNIT bool aa_unpack_u32(struct aa_ext *e, u32 *data, const char *name) in aa_unpack_u32() 292 VISIBLE_IF_KUNIT bool aa_unpack_u64(struct aa_ext *e, u64 *data, const char *name) in aa_unpack_u64() 311 static bool aa_unpack_cap_low(struct aa_ext *e, kernel_cap_t *data, const char *name) in aa_unpack_cap_low() 321 static bool aa_unpack_cap_high(struct aa_ext *e, kernel_cap_t *data, const char *name) in aa_unpack_cap_high() [all …]
|
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()
|