summaryrefslogtreecommitdiff
path: root/security/apparmor
diff options
context:
space:
mode:
authorGONG, Ruiqi <gongruiqi1@huawei.com>2023-08-07 17:39:04 +0800
committerJohn Johansen <john.johansen@canonical.com>2023-08-08 13:24:48 -0700
commitefea5b0dcc433df6e7d74605d37813d69f99bef0 (patch)
treec2133985d65540b74010d8e3feccdb0d7b3d2cbc /security/apparmor
parent980a5808686e29f4e2b3cd412a9e0c9ebaac2910 (diff)
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>
Diffstat (limited to 'security/apparmor')
-rw-r--r--security/apparmor/include/policy.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/security/apparmor/include/policy.h b/security/apparmor/include/policy.h
index 6e5ec9c37b48..062a4cd3c367 100644
--- a/security/apparmor/include/policy.h
+++ b/security/apparmor/include/policy.h
@@ -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)
/**