Skip to content

Commit efea5b0

Browse files
GONG, Ruiqijrjohansen
authored andcommitted
apparmor: remove unused PROF_* macros
The last usage of PROF_{ADD,REPLACE} were removed by commit 18e99f1 ("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>
1 parent 980a580 commit efea5b0

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

security/apparmor/include/policy.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,6 @@ ssize_t aa_remove_profiles(struct aa_ns *view, struct aa_label *label,
248248
char *name, size_t size);
249249
void __aa_profile_list_release(struct list_head *head);
250250

251-
#define PROF_ADD 1
252-
#define PROF_REPLACE 0
253-
254251
#define profile_unconfined(X) ((X)->mode == APPARMOR_UNCONFINED)
255252

256253
/**

0 commit comments

Comments
 (0)