Searched refs:hname (Results 1 – 8 of 8) sorted by relevance
/linux-4.4.14/security/apparmor/ |
D | policy.c | 108 static const char *hname_tail(const char *hname) in hname_tail() argument 111 hname = strim((char *)hname); in hname_tail() 112 for (split = strstr(hname, "//"); split; split = strstr(hname, "//")) in hname_tail() 113 hname = split + 2; in hname_tail() 115 return hname; in hname_tail() 133 policy->hname = kmalloc(strlen(prefix) + strlen(name) + 3, in policy_init() 135 if (policy->hname) in policy_init() 136 sprintf(policy->hname, "%s//%s", prefix, name); in policy_init() 138 policy->hname = kstrdup(name, GFP_KERNEL); in policy_init() 139 if (!policy->hname) in policy_init() [all …]
|
D | domain.c | 264 xname = profile->base.hname; in x_table_lookup() 450 target = new_profile->base.hname; in apparmor_bprm_set_creds() 497 name, new_profile->base.hname); in apparmor_bprm_set_creds() 501 target = new_profile->base.hname; in apparmor_bprm_set_creds() 667 name = new_compound_name(root->base.hname, hats[0]); in aa_change_hat() 679 target = hat->base.hname; in aa_change_hat() 707 target = previous_profile->base.hname; in aa_change_hat() 743 int aa_change_profile(const char *ns_name, const char *hname, bool onexec, in aa_change_profile() argument 754 if (!hname && !ns_name) in aa_change_profile() 795 if (!hname) { in aa_change_profile() [all …]
|
D | procattr.c | 60 name_len = strlen(profile->base.hname); in aa_getprocattr() 73 sprintf(s, "%s\n", profile->base.hname); in aa_getprocattr() 75 sprintf(s, "%s (%s)\n", profile->base.hname, mode_str); in aa_getprocattr()
|
D | audit.c | 136 audit_log_untrustedstring(ab, profile->ns->base.hname); in audit_pre() 139 audit_log_untrustedstring(ab, profile->base.hname); in audit_pre()
|
D | policy_unpack.c | 76 audit_log_untrustedstring(ab, name->base.hname); in audit_cb()
|
D | apparmorfs.c | 754 seq_printf(f, "%s (%s)\n", profile->base.hname, in seq_show_profile()
|
/linux-4.4.14/net/dsa/ |
D | dsa.c | 351 char hname[IFNAMSIZ + 1]; in dsa_switch_setup_one() local 357 hname[j++] = netname[i]; in dsa_switch_setup_one() 359 hname[j] = '\0'; in dsa_switch_setup_one() 361 hname, index); in dsa_switch_setup_one()
|
/linux-4.4.14/security/apparmor/include/ |
D | policy.h | 87 char *hname; member
|