• Home
  • Raw
  • Download

Lines Matching refs:name

85 	if (aad(sa)->name) {  in audit_cb()
87 audit_log_untrustedstring(ab, aad(sa)->name); in audit_cb()
105 const char *name, const char *info, struct aa_ext *e, in audit_iface() argument
114 aad(&sa)->name = new->base.hname; in audit_iface()
116 aad(&sa)->name = name; in audit_iface()
164 kzfree(d->name); in do_loaddata_free()
266 static bool unpack_nameX(struct aa_ext *e, enum aa_code code, const char *name) in unpack_nameX() argument
280 if (name && (!size || tag[size-1] != '\0' || strcmp(name, tag))) in unpack_nameX()
282 } else if (name) { in unpack_nameX()
296 static bool unpack_u8(struct aa_ext *e, u8 *data, const char *name) in unpack_u8() argument
300 if (unpack_nameX(e, AA_U8, name)) { in unpack_u8()
314 static bool unpack_u32(struct aa_ext *e, u32 *data, const char *name) in unpack_u32() argument
318 if (unpack_nameX(e, AA_U32, name)) { in unpack_u32()
332 static bool unpack_u64(struct aa_ext *e, u64 *data, const char *name) in unpack_u64() argument
336 if (unpack_nameX(e, AA_U64, name)) { in unpack_u64()
350 static size_t unpack_array(struct aa_ext *e, const char *name) in unpack_array() argument
354 if (unpack_nameX(e, AA_ARRAY, name)) { in unpack_array()
368 static size_t unpack_blob(struct aa_ext *e, char **blob, const char *name) in unpack_blob() argument
372 if (unpack_nameX(e, AA_BLOB, name)) { in unpack_blob()
390 static int unpack_str(struct aa_ext *e, const char **string, const char *name) in unpack_str() argument
396 if (unpack_nameX(e, AA_STRING, name)) { in unpack_str()
413 static int unpack_strdup(struct aa_ext *e, char **string, const char *name) in unpack_strdup() argument
417 int res = unpack_str(e, &tmp, name); in unpack_strdup()
674 const char *tmpname, *tmpns = NULL, *name = NULL; in unpack_profile() local
689 if (!unpack_str(e, &name, NULL)) in unpack_profile()
691 if (*name == '\0') in unpack_profile()
694 tmpname = aa_splitn_fqname(name, strlen(name), &tmpns, &ns_len); in unpack_profile()
701 name = tmpname; in unpack_profile()
704 profile = aa_alloc_profile(name, NULL, GFP_KERNEL); in unpack_profile()
922 name = NULL; in unpack_profile()
923 else if (!name) in unpack_profile()
924 name = "unknown"; in unpack_profile()
925 audit_iface(profile, NULL, name, info, e, error); in unpack_profile()
942 const char *name = NULL; in verify_header() local
965 if (unpack_str(e, &name, "namespace")) { in verify_header()
966 if (*name == '\0') { in verify_header()
971 if (*ns && strcmp(*ns, name)) in verify_header()
975 *ns = name; in verify_header()