diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2026-04-13 14:56:54 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2026-04-13 14:56:54 -0700 |
| commit | de639344bbe962985e3de22cc8d1388b016c1e54 (patch) | |
| tree | 847a810023b27e0bd2a38849b3150c864a926315 /lib | |
| parent | ef3da345ccb1fd70e2288b821301698483c6c35a (diff) | |
| parent | 360160f75592bdc85edba8fe78fb20d90924c7e8 (diff) | |
| download | lwn-de639344bbe962985e3de22cc8d1388b016c1e54.tar.gz lwn-de639344bbe962985e3de22cc8d1388b016c1e54.zip | |
Merge tag 'audit-pr-20260410' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit
Pull audit updates from Paul Moore:
- Improved handling of unknown status requests from userspace
The current kernel code ignores unknown/unused request bits sent from
userspace and returns an error code based on the results of the
request(s) it does understand. The patch from Ricardo fixes this so
that unknown requests return an -EINVAL to userspace, making
compatibility a bit easier moving forward.
- A number of small style and formatting cleanups
* tag 'audit-pr-20260410' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit:
audit: handle unknown status requests in audit_receive_msg()
audit: fix coding style issues
audit: remove redundant initialization of static variables to 0
audit: fix whitespace alignment in include/uapi/linux/audit.h
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/audit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/audit.c b/lib/audit.c index 738bda22dd39..bc07fbd3a698 100644 --- a/lib/audit.c +++ b/lib/audit.c @@ -42,7 +42,7 @@ int audit_classify_syscall(int abi, unsigned syscall) if (audit_is_compat(abi)) return audit_classify_compat_syscall(abi, syscall); - switch(syscall) { + switch (syscall) { #ifdef __NR_open case __NR_open: return AUDITSC_OPEN; |
