Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

apparmor: cleanup unused declarations in policy.h

The implementions of these declarations do not exist, remove them all.

Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>

authored by

Xiu Jianfeng and committed by
John Johansen
9a0dbdbf d2fe16e9

-6
-6
security/apparmor/include/policy.h
··· 227 227 #define profiles_ns(P) ((P)->ns) 228 228 #define name_is_shared(A, B) ((A)->hname && (A)->hname == (B)->hname) 229 229 230 - void aa_add_profile(struct aa_policy *common, struct aa_profile *profile); 231 - 232 - 233 - void aa_free_proxy_kref(struct kref *kref); 234 230 struct aa_ruleset *aa_alloc_ruleset(gfp_t gfp); 235 231 struct aa_profile *aa_alloc_profile(const char *name, struct aa_proxy *proxy, 236 232 gfp_t gfp); ··· 235 239 struct aa_profile *aa_new_learning_profile(struct aa_profile *parent, bool hat, 236 240 const char *base, gfp_t gfp); 237 241 void aa_free_profile(struct aa_profile *profile); 238 - void aa_free_profile_kref(struct kref *kref); 239 242 struct aa_profile *aa_find_child(struct aa_profile *parent, const char *name); 240 243 struct aa_profile *aa_lookupn_profile(struct aa_ns *ns, const char *hname, 241 244 size_t n); 242 245 struct aa_profile *aa_lookup_profile(struct aa_ns *ns, const char *name); 243 246 struct aa_profile *aa_fqlookupn_profile(struct aa_label *base, 244 247 const char *fqname, size_t n); 245 - struct aa_profile *aa_match_profile(struct aa_ns *ns, const char *name); 246 248 247 249 ssize_t aa_replace_profiles(struct aa_ns *view, struct aa_label *label, 248 250 u32 mask, struct aa_loaddata *udata);