Home
last modified time | relevance | path

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

/security/apparmor/
Dlib.c48 char *split = strchr(&name[1], ':'); in aa_split_fqname() local
50 if (split) { in aa_split_fqname()
52 *split++ = 0; in aa_split_fqname()
53 if (strncmp(split, "//", 2) == 0) in aa_split_fqname()
54 split += 2; in aa_split_fqname()
55 name = skip_spaces(split); in aa_split_fqname()
96 char *split = strnchr(&name[1], end - &name[1], ':'); in aa_splitn_fqname() local
100 if (split) { in aa_splitn_fqname()
101 *ns_len = split - *ns_name; in aa_splitn_fqname()
104 split++; in aa_splitn_fqname()
[all …]
Dpolicy_ns.c203 const char *split; in __aa_lookupn_ns() local
205 for (split = strnstr(hname, "//", n); split; in __aa_lookupn_ns()
206 split = strnstr(hname, "//", n)) { in __aa_lookupn_ns()
207 ns = __aa_findn_ns(&ns->sub_ns, hname, split - hname); in __aa_lookupn_ns()
211 n -= split + 2 - hname; in __aa_lookupn_ns()
212 hname = split + 2; in __aa_lookupn_ns()
Dpolicy.c366 char *split; in __lookup_parent() local
370 for (split = strstr(hname, "//"); split;) { in __lookup_parent()
372 split - hname); in __lookup_parent()
376 hname = split + 2; in __lookup_parent()
377 split = strstr(hname, "//"); in __lookup_parent()
400 const char *split; in __lookupn_profile() local
402 for (split = strnstr(hname, "//", n); split; in __lookupn_profile()
403 split = strnstr(hname, "//", n)) { in __lookupn_profile()
405 split - hname); in __lookupn_profile()
410 n -= split + 2 - hname; in __lookupn_profile()
[all …]
Dlabel.c1839 const char *split; in label_count_strn_entries() local
1844 for (split = aa_label_strn_split(str, end - str); in label_count_strn_entries()
1845 split; in label_count_strn_entries()
1846 split = aa_label_strn_split(str, end - str)) { in label_count_strn_entries()
1848 str = split + 3; in label_count_strn_entries()
1893 const char *split; in aa_label_strn_parse() local
1919 for (split = aa_label_strn_split(str, end - str), i = stack; in aa_label_strn_parse()
1920 split && i < len; i++) { in aa_label_strn_parse()
1921 vec[i] = fqlookupn_profile(base, currbase, str, split - str); in aa_label_strn_parse()
1930 str = split + 3; in aa_label_strn_parse()
[all …]
/security/apparmor/include/
Dlib.h148 char *split; in basename() local
151 for (split = strstr(hname, "//"); split; split = strstr(hname, "//")) in basename()
152 hname = split + 2; in basename()