Searched refs:ns_name (Results 1 – 6 of 6) sorted by relevance
/linux-3.4.99/security/apparmor/ |
D | procattr.c | 41 const char *ns_name = NULL; in aa_getprocattr() local 49 ns_name = aa_ns_name(current_ns, ns); in aa_getprocattr() 50 ns_len = strlen(ns_name); in aa_getprocattr() 68 sprintf(s, ":%s://", ns_name); in aa_getprocattr() 161 char *name, *ns_name; in aa_setprocattr_changeprofile() local 163 name = aa_split_fqname(fqname, &ns_name); in aa_setprocattr_changeprofile() 164 return aa_change_profile(ns_name, name, onexec, test); in aa_setprocattr_changeprofile()
|
D | domain.c | 212 static const char *separate_fqname(const char *fqname, const char **ns_name) in separate_fqname() argument 221 *ns_name = fqname + 1; /* skip : */ in separate_fqname() 222 name = *ns_name + strlen(*ns_name) + 1; in separate_fqname() 226 *ns_name = NULL; in separate_fqname() 266 const char *ns_name; in x_table_lookup() local 267 xname = name = separate_fqname(name, &ns_name); in x_table_lookup() 271 if (*ns_name == '@') { in x_table_lookup() 276 new_ns = aa_find_namespace(ns, ns_name); in x_table_lookup() 726 int aa_change_profile(const char *ns_name, const char *hname, bool onexec, in aa_change_profile() argument 738 if (!hname && !ns_name) in aa_change_profile() [all …]
|
D | lib.c | 38 char *aa_split_fqname(char *fqname, char **ns_name) in aa_split_fqname() argument 42 *ns_name = NULL; in aa_split_fqname() 45 *ns_name = skip_spaces(&name[1]); in aa_split_fqname()
|
D | policy.c | 1019 const char *ns_name, *name = NULL, *info = NULL; in aa_replace_profiles() local 1024 new_profile = aa_unpack(udata, size, &ns_name); in aa_replace_profiles() 1032 ns = aa_prepare_namespace(ns_name); in aa_replace_profiles() 1036 name = ns_name; in aa_replace_profiles() 1142 char *ns_name; in aa_remove_profiles() local 1143 name = aa_split_fqname(fqname, &ns_name); in aa_remove_profiles() 1144 if (ns_name) { in aa_remove_profiles() 1146 ns = aa_find_namespace(root, ns_name); in aa_remove_profiles()
|
/linux-3.4.99/security/apparmor/include/ |
D | domain.h | 33 int aa_change_profile(const char *ns_name, const char *name, bool onexec,
|
D | apparmor.h | 65 char *aa_split_fqname(char *args, char **ns_name);
|