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.c365 char *split; in __lookup_parent() local
369 for (split = strstr(hname, "//"); split;) { in __lookup_parent()
371 split - hname); in __lookup_parent()
375 hname = split + 2; in __lookup_parent()
376 split = strstr(hname, "//"); in __lookup_parent()
399 const char *split; in __lookupn_profile() local
401 for (split = strnstr(hname, "//", n); split; in __lookupn_profile()
402 split = strnstr(hname, "//", n)) { in __lookupn_profile()
404 split - hname); in __lookupn_profile()
409 n -= split + 2 - hname; in __lookupn_profile()
[all …]
Dlabel.c1844 const char *split; in label_count_strn_entries() local
1849 for (split = aa_label_strn_split(str, end - str); in label_count_strn_entries()
1850 split; in label_count_strn_entries()
1851 split = aa_label_strn_split(str, end - str)) { in label_count_strn_entries()
1853 str = split + 3; in label_count_strn_entries()
1898 const char *split; in aa_label_strn_parse() local
1924 for (split = aa_label_strn_split(str, end - str), i = stack; in aa_label_strn_parse()
1925 split && i < len; i++) { in aa_label_strn_parse()
1926 vec[i] = fqlookupn_profile(base, currbase, str, split - str); in aa_label_strn_parse()
1935 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()