apparmor: cleanup unused functions in file.h
authorXiu Jianfeng <xiujianfeng@huawei.com>
Tue, 25 Jul 2023 14:12:59 +0000 (14:12 +0000)
committerJohn Johansen <john.johansen@canonical.com>
Tue, 8 Aug 2023 20:16:13 +0000 (13:16 -0700)
commit980a5808686e29f4e2b3cd412a9e0c9ebaac2910
treec9044f075e789ee9a805c49d66048b84b661bdb0
parent9a0dbdbff01818a4790f6768612e72c222add906
apparmor: cleanup unused functions in file.h

After changes in commit 33bf60cabcc7 ("LSM: Infrastructure management of
the file security"), aa_alloc_file_ctx() and aa_free_file_ctx() are no
longer used, so remove them, and also remove aa_get_file_label() because
it seems that it's never been used before.

Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/include/file.h