apparmor: make __aa_path_perm() static
authorXiu Jianfeng <xiujianfeng@huawei.com>
Wed, 14 Sep 2022 07:46:07 +0000 (15:46 +0800)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 3 Oct 2022 21:49:04 +0000 (14:49 -0700)
commit65f7f666f21ce374628d58b3cc48515070f31e72
treeb1b5425c381946d6e8e8b54e11201bc987e9604e
parentadaa9a3f72e6f98538bfac54f6dc4afc0537f410
apparmor: make __aa_path_perm() static

Make __aa_path_perm() static as it's only used inside apparmor/file.c.

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