Home
last modified time | relevance | path

Searched refs:candidate (Results 1 – 3 of 3) sorted by relevance

/security/keys/
Dkey.c56 struct key_user *candidate = NULL, *user; in key_user_lookup() local
78 if (!candidate) { in key_user_lookup()
84 candidate = kmalloc(sizeof(struct key_user), GFP_KERNEL); in key_user_lookup()
85 if (unlikely(!candidate)) in key_user_lookup()
96 atomic_set(&candidate->usage, 1); in key_user_lookup()
97 atomic_set(&candidate->nkeys, 0); in key_user_lookup()
98 atomic_set(&candidate->nikeys, 0); in key_user_lookup()
99 candidate->uid = uid; in key_user_lookup()
100 candidate->qnkeys = 0; in key_user_lookup()
101 candidate->qnbytes = 0; in key_user_lookup()
[all …]
/security/tomoyo/
Ddomain.c683 const struct tomoyo_path_info *candidate; in tomoyo_find_next_domain() local
713 candidate = &exename; in tomoyo_find_next_domain()
719 candidate = ptr->aggregated_name; in tomoyo_find_next_domain()
725 retval = tomoyo_execute_permission(&ee->r, candidate); in tomoyo_find_next_domain()
737 candidate = ee->r.param.path.matched_path; in tomoyo_find_next_domain()
775 candidate)) { in tomoyo_find_next_domain()
780 candidate->name); in tomoyo_find_next_domain()
791 old_domain->ns->name, candidate->name); in tomoyo_find_next_domain()
813 old_domain->domainname->name, candidate->name); in tomoyo_find_next_domain()
/security/apparmor/
Ddomain.c149 struct aa_profile *profile, *candidate = NULL; in __attach_match() local
160 candidate = profile; in __attach_match()
168 return candidate; in __attach_match()