Home
last modified time | relevance | path

Searched refs:fqname (Results 1 – 5 of 5) sorted by relevance

/linux/security/apparmor/include/
H A Ddomain.h31 int aa_change_profile(const char *fqname, int flags);
H A Dlib.h81 const char *aa_splitn_fqname(const char *fqname, size_t n, const char **ns_name,
/linux/security/apparmor/
H A Dpolicy.c62 * An fqname is a name that may contain both namespace and profile hnames.
618 const char *fqname, size_t n) in aa_fqlookupn_profile() argument
625 name = aa_splitn_fqname(fqname, n, &ns_name, &ns_len); in aa_fqlookupn_profile()
634 profile = aa_lookupn_profile(ns, name, n - (name - fqname)); in aa_fqlookupn_profile()
1340 * @fqname: name of the profile or namespace to remove (NOT NULL)
1351 char *fqname, size_t size) in aa_remove_profiles() argument
1355 const char *name = fqname, *info = NULL; in aa_remove_profiles()
1359 if (*fqname == 0) { in aa_remove_profiles()
1365 if (fqname[0] == ':') { in aa_remove_profiles()
1368 name = aa_splitn_fqname(fqname, siz in aa_remove_profiles()
[all...]
H A Dlib.c180 const char *aa_splitn_fqname(const char *fqname, size_t n, const char **ns_name, in aa_splitn_fqname() argument
183 const char *end = fqname + n; in aa_splitn_fqname()
184 const char *name = skipn_spaces(fqname, n); in aa_splitn_fqname()
495 /* base.name is a substring of fqname */ in aa_policy_init()
H A Ddomain.c1377 * @fqname: name of profile may include namespace (NOT NULL)
1388 int aa_change_profile(const char *fqname, int flags) in aa_change_profile() argument
1394 const char *auditname = fqname; /* retain leading & if stack */ in aa_change_profile()
1414 if (!fqname || !*fqname) { in aa_change_profile()
1456 if (*fqname == '&') { in aa_change_profile()
1459 fqname++; in aa_change_profile()
1461 target = aa_label_parse(label, fqname, GFP_KERNEL, true, false); in aa_change_profile()
1477 fqname, GFP_KERNEL); in aa_change_profile()