diff options
author | GONG, Ruiqi <gongruiqi1@huawei.com> | 2023-08-07 11:39:04 +0200 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2023-08-08 22:24:48 +0200 |
commit | efea5b0dcc433df6e7d74605d37813d69f99bef0 (patch) | |
tree | c2133985d65540b74010d8e3feccdb0d7b3d2cbc /security | |
parent | apparmor: cleanup unused functions in file.h (diff) | |
download | linux-efea5b0dcc433df6e7d74605d37813d69f99bef0.tar.xz linux-efea5b0dcc433df6e7d74605d37813d69f99bef0.zip |
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')
-rw-r--r-- | security/apparmor/include/policy.h | 3 |
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) /** |