summaryrefslogtreecommitdiffstats
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorXiu Jianfeng <xiujianfeng@huawei.com>2022-06-11 17:23:04 +0800
committerPaul Moore <paul@paul-moore.com>2022-06-13 14:08:57 -0400
commit546093206ba16623c18e344630dbfdd71a4327e0 (patch)
treecdc675e8cbde6bb42e8d8f44570c48ffc190e6e1 /kernel/audit.c
parent5ee6cfdd11aaf5aee5cd48baf35b1710caa68a5c (diff)
downloadlinux-546093206ba16623c18e344630dbfdd71a4327e0.tar.gz
linux-546093206ba16623c18e344630dbfdd71a4327e0.tar.bz2
linux-546093206ba16623c18e344630dbfdd71a4327e0.zip
audit: make is_audit_feature_set() static
Currently nobody use is_audit_feature_set() outside this file, so make it static. Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/audit.c')
-rw-r--r--kernel/audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index 0749211d5552..a75978ae38ad 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -1100,7 +1100,7 @@ static inline void audit_log_user_recv_msg(struct audit_buffer **ab,
audit_log_common_recv_msg(NULL, ab, msg_type);
}
-int is_audit_feature_set(int i)
+static int is_audit_feature_set(int i)
{
return af.features & AUDIT_FEATURE_TO_MASK(i);
}