Searched refs:replacedby (Results 1 - 3 of 3) sorted by relevance

/security/apparmor/include/
H A Dpolicy.h166 * @replacedby: is set to the profile that replaced this profile
189 * The @replacedby struct is write protected by the profile lock.
205 struct aa_replacedby *replacedby; member in struct:aa_profile
330 return aa_get_profile_rcu(&p->replacedby->profile);
364 tmp = rcu_dereference_protected(orig->replacedby->profile,
366 rcu_assign_pointer(orig->replacedby->profile, aa_get_profile(new));
/security/apparmor/
H A Dpolicy.c611 aa_put_replacedby(profile->replacedby);
655 profile->replacedby = kzalloc(sizeof(struct aa_replacedby), GFP_KERNEL);
656 if (!profile->replacedby)
658 kref_init(&profile->replacedby->count);
668 kzfree(profile->replacedby);
968 * @share_replacedby: transfer @old->replacedby to @new
1013 aa_put_replacedby(new->replacedby);
1014 new->replacedby = aa_get_replacedby(old->replacedby);
1015 } else if (!rcu_access_pointer(new->replacedby
[all...]
H A Dapparmorfs.c390 struct aa_replacedby *r = aa_get_replacedby(profile->replacedby);

Completed in 53 milliseconds