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

apparmor: remove unused PROF_* macros

The last usage of PROF_{ADD,REPLACE} were removed by commit 18e99f191a8e
("apparmor: provide finer control over policy management"). So remove
these two unused macros.

Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>

authored by

GONG, Ruiqi and committed by
John Johansen
efea5b0d 980a5808

-3
-3
security/apparmor/include/policy.h
··· 248 248 char *name, size_t size); 249 249 void __aa_profile_list_release(struct list_head *head); 250 250 251 - #define PROF_ADD 1 252 - #define PROF_REPLACE 0 253 - 254 251 #define profile_unconfined(X) ((X)->mode == APPARMOR_UNCONFINED) 255 252 256 253 /**