Home
last modified time | relevance | path

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

/linux/security/apparmor/
H A Dpolicy.c62 * An fqname is a name that may contain both namespace and profile hnames.
663 const char *fqname, size_t n) in aa_fqlookupn_profile()
670 name = aa_splitn_fqname(fqname, n, &ns_name, &ns_len); in aa_fqlookupn_profile()
679 profile = aa_lookupn_profile(ns, name, n - (name - fqname)); in aa_fqlookupn_profile()
1443 * @fqname: name of the profile or namespace to remove (NOT NULL) in aa_remove_profiles()
1454 char *fqname, size_t size) in aa_remove_profiles()
1458 const char *name = fqname, *info = NULL; in aa_remove_profiles()
1462 if (*fqname == 0) { in aa_remove_profiles()
1468 if (fqname[0] == ':') { in aa_remove_profiles()
1471 name = aa_splitn_fqname(fqname, siz in aa_remove_profiles()
656 aa_fqlookupn_profile(struct aa_label * base,const char * fqname,size_t n) aa_fqlookupn_profile() argument
1425 aa_remove_profiles(struct aa_ns * policy_ns,struct aa_label * subj,char * fqname,size_t size) aa_remove_profiles() argument
[all...]
H A Dlib.c182 const char *aa_splitn_fqname(const char *fqname, size_t n, const char **ns_name, in aa_splitn_fqname() argument
185 const char *end = fqname + n; in aa_splitn_fqname()
186 const char *name = skipn_spaces(fqname, n); in aa_splitn_fqname()
H A Ddomain.c1413 * @fqname: name of profile may include namespace (NOT NULL) in aa_change_profile()
1424 int aa_change_profile(const char *fqname, int flags) in aa_change_profile()
1430 const char *auditname = fqname; /* retain leading & if stack */ in aa_change_profile()
1450 if (!fqname || !*fqname) { in aa_change_profile()
1492 if (*fqname == '&') { in aa_change_profile()
1495 fqname++; in aa_change_profile()
1497 target = aa_label_parse(label, fqname, GFP_KERNEL, true, false); in aa_change_profile()
1513 fqname, GFP_KERNEL); in aa_change_profile()
1390 aa_change_profile(const char * fqname,int flags) aa_change_profile() argument
/linux/security/apparmor/include/
H A Ddomain.h31 int aa_change_profile(const char *fqname, int flags);
H A Dlib.h98 const char *aa_splitn_fqname(const char *fqname, size_t n, const char **ns_name,
H A Dpolicy.h305 const char *fqname, size_t n);