Searched refs:noreplace (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | policy.c | 576 * @noreplace: true if replacement shouldn't be allowed but addition is okay 581 static int replacement_allowed(struct aa_profile *profile, int noreplace, in replacement_allowed() argument 588 } else if (noreplace) { in replacement_allowed() 791 * @noreplace - true if not replacing an existing profile 798 bool noreplace, struct aa_profile **p, in __lookup_replace() 803 int error = replacement_allowed(*p, noreplace, info); in __lookup_replace() 797 __lookup_replace(struct aa_ns *ns, const char *hname, bool noreplace, struct aa_profile **p, const char **info) __lookup_replace() argument
|
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | policy.c | 702 * @noreplace: true if replacement shouldn't be allowed but addition is okay 707 static int replacement_allowed(struct aa_profile *profile, int noreplace, in replacement_allowed() argument 714 } else if (noreplace) { in replacement_allowed() 967 * @noreplace: true if not replacing an existing profile 974 bool noreplace, struct aa_profile **p, in __lookup_replace() 979 int error = replacement_allowed(*p, noreplace, info); in __lookup_replace() 973 __lookup_replace(struct aa_ns *ns, const char *hname, bool noreplace, struct aa_profile **p, const char **info) __lookup_replace() argument
|
Completed in 4 milliseconds