Commit efea5b0d authored by GONG, Ruiqi's avatar GONG, Ruiqi Committed by John Johansen
Browse files

apparmor: remove unused PROF_* macros



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

Signed-off-by: default avatarGONG, Ruiqi <gongruiqi1@huawei.com>
Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 980a5808
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -248,9 +248,6 @@ ssize_t aa_remove_profiles(struct aa_ns *view, struct aa_label *label,
			   char *name, size_t size);
void __aa_profile_list_release(struct list_head *head);

#define PROF_ADD 1
#define PROF_REPLACE 0

#define profile_unconfined(X) ((X)->mode == APPARMOR_UNCONFINED)

/**