summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2026-10-05 06:01:13 -0400
committerPaul Moore <paul@paul-moore.com>2026-10-05 06:01:13 -0400
commite35ae53e5b6da800bc02c6c8fc6e88c406c91a14 (patch)
treed4dd65686435b4e91cad001a91391450e82a7e8a /include/linux
parent61d23bcae98fb513c946ee3f23ecbfa557fed404 (diff)
parenta8bdcf944504980635c2069b4a4cfcf677b09bbb (diff)
downloadlinux-next-e35ae53e5b6da800bc02c6c8fc6e88c406c91a14.tar.gz
linux-next-e35ae53e5b6da800bc02c6c8fc6e88c406c91a14.zip
Automated merge of 'dev' into 'next'
* dev: audit: separate file and process capability storage audit: Fix filter rule accounting after automatic removal audit: use copied skb length in kauditd_send_multicast_skb() audit: add missing unlikely hint to audit_dummy_context() wrappers audit: free proctitle in context so it can be re-set by fork on exec_binprm
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/audit.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h
index 077b2667180d..767e349d4834 100644
--- a/include/linux/audit.h
+++ b/include/linux/audit.h
@@ -548,7 +548,7 @@ static inline void audit_openat2_how(struct open_how *how)
static inline void audit_log_kern_module(const char *name)
{
- if (!audit_dummy_context())
+ if (unlikely(!audit_dummy_context()))
__audit_log_kern_module(name);
}
@@ -564,7 +564,7 @@ static inline void audit_tk_injoffset(struct timespec64 offset)
if (offset.tv_sec == 0 && offset.tv_nsec == 0)
return;
- if (!audit_dummy_context())
+ if (unlikely(!audit_dummy_context()))
__audit_tk_injoffset(offset);
}
@@ -587,7 +587,7 @@ static inline void audit_ntp_set_new(struct audit_ntp_data *ad,
static inline void audit_ntp_log(const struct audit_ntp_data *ad)
{
- if (!audit_dummy_context())
+ if (unlikely(!audit_dummy_context()))
__audit_ntp_log(ad);
}