diff options
author | Xiu Jianfeng <xiujianfeng@huawei.com> | 2022-06-11 12:23:04 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2022-06-13 21:08:57 +0300 |
commit | 546093206ba16623c18e344630dbfdd71a4327e0 (patch) | |
tree | cdc675e8cbde6bb42e8d8f44570c48ffc190e6e1 /kernel/audit.c | |
parent | 5ee6cfdd11aaf5aee5cd48baf35b1710caa68a5c (diff) | |
download | linux-546093206ba16623c18e344630dbfdd71a4327e0.tar.xz |
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.c | 2 |
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); } |