Searched refs:base (Results 1 - 9 of 9) sorted by relevance

/security/apparmor/
H A Dpolicy.c104 * @name: hname to find the base profile name component of (NOT NULL)
106 * Returns: the tail (base profile name) name component of an hname
141 /* base.name is a substring of fqname */
262 return view->base.hname + strlen(curr->base.hname) + 2;
283 if (!policy_init(&ns->base, prefix, name))
306 kzfree(ns->base.hname);
324 policy_destroy(&ns->base);
394 ns = alloc_namespace(root->base.hname, name);
399 ns->base
823 __lookup_profile(struct aa_policy *base, const char *hname) argument
944 const char *base = hname_tail(profile->base.hname); local
[all...]
H A Dapparmorfs.c253 seq_printf(seq, "%s\n", profile->base.name);
304 seq_printf(seq, "%s\n", profile->base.name);
360 list_for_each_entry(child, &profile->base.profiles, base.list)
420 len = mangle_name(profile->base.name, NULL);
427 mangle_name(profile->base.name, profile->dirname);
460 list_for_each_entry(child, &profile->base.profiles, base.list) {
486 list_for_each_entry(child, &ns->base.profiles, base
[all...]
H A Dmatch.c29 * unpack_table - unpack a dfa table (one of accept, default, base, next check)
111 /* accept.size == default.size == base.size */
304 u32 *base = BASE_TABLE(dfa); local
318 pos = base_idx(base[state]) + equiv[(u8) *str++];
327 pos = base_idx(base[state]) + (u8) *str++;
354 u32 *base = BASE_TABLE(dfa); local
368 pos = base_idx(base[state]) + equiv[(u8) *str++];
377 pos = base_idx(base[state]) + (u8) *str++;
402 u32 *base = BASE_TABLE(dfa); local
413 pos = base_idx(base[stat
[all...]
H A Dprocattr.c60 name_len = strlen(profile->base.hname);
67 /* skip over prefix current_ns->base.hname and separating // */
73 sprintf(s, "%s\n", profile->base.hname);
75 sprintf(s, "%s (%s)\n", profile->base.hname, mode_str);
H A Ddomain.c118 state = aa_dfa_match(profile->file.dfa, start, ns->base.name);
145 list_for_each_entry_rcu(profile, head, base.list) {
157 } else if (!strcmp(profile->base.name, name))
264 xname = profile->base.hname;
314 new_profile = find_attach(ns, &profile->base.profiles,
318 new_profile = find_attach(ns, &ns->base.profiles,
388 new_profile = find_attach(ns, &ns->base.profiles, name);
413 cxt->onexec->base.name,
452 target = new_profile->base.hname;
499 name, new_profile->base
[all...]
H A Daudit.c136 audit_log_untrustedstring(ab, profile->ns->base.hname);
139 audit_log_untrustedstring(ab, profile->base.hname);
H A Dpolicy_unpack.c76 audit_log_untrustedstring(ab, name->base.hname);
744 * @lh in order of discovery, with the list chain stored in base.list
/security/apparmor/include/
H A Dpolicy.h106 * @base: common policy
131 struct aa_policy base; member in struct:aa_namespace
161 * @base - base components of the profile (name, refcount, lists, lock ...)
199 struct aa_policy base; member in struct:aa_profile
/security/tomoyo/
H A Dutil.c201 int base = 10; local
205 base = 16;
208 base = 8;
212 *result = simple_strtoul(cp, &ep, base);
216 switch (base) {

Completed in 129 milliseconds