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

/linux-master/security/apparmor/include/
H A Ddomain.h31 int aa_change_profile(const char *fqname, int flags);
H A Dpolicy.h269 const char *fqname, size_t n);
H A Dlib.h63 const char *aa_splitn_fqname(const char *fqname, size_t n, const char **ns_name,
/linux-master/security/apparmor/
H A Dlib.c49 * aa_split_fqname - split a fqname into a profile and namespace name
50 * @fqname: a full qualified name in namespace profile format (NOT NULL)
59 * NOTE: may modify the @fqname string. The pointers returned point
60 * into the @fqname string.
62 char *aa_split_fqname(char *fqname, char **ns_name) argument
64 char *name = strim(fqname);
104 const char *aa_splitn_fqname(const char *fqname, size_t n, const char **ns_name, argument
107 const char *end = fqname + n;
108 const char *name = skipn_spaces(fqname, n);
465 /* base.name is a substring of fqname */
[all...]
H A Dpolicy.c62 * An fqname is a name that may contain both namespace and profile hnames.
589 const char *fqname, size_t n)
596 name = aa_splitn_fqname(fqname, n, &ns_name, &ns_len);
605 profile = aa_lookupn_profile(ns, name, n - (name - fqname));
1308 * @fqname: name of the profile or namespace to remove (NOT NULL)
1319 char *fqname, size_t size)
1323 const char *name = fqname, *info = NULL;
1327 if (*fqname == 0) {
1333 if (fqname[0] == ':') {
1336 name = aa_splitn_fqname(fqname, siz
588 aa_fqlookupn_profile(struct aa_label *base, const char *fqname, size_t n) argument
1318 aa_remove_profiles(struct aa_ns *policy_ns, struct aa_label *subj, char *fqname, size_t size) argument
[all...]
H A Ddomain.c1318 * @fqname: name of profile may include namespace (NOT NULL)
1329 int aa_change_profile(const char *fqname, int flags) argument
1335 const char *auditname = fqname; /* retain leading & if stack */
1355 if (!fqname || !*fqname) {
1397 if (*fqname == '&') {
1400 fqname++;
1402 target = aa_label_parse(label, fqname, GFP_KERNEL, true, false);
1418 fqname, GFP_KERNEL);

Completed in 184 milliseconds