History

Merge tag 'audit-pr-20250926' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit

Pull audit updates from Paul Moore: - Proper audit support for multiple LSMs As the audit subsystem predated the work to enable multiple LSMs, some additional work was needed to support logging the different LSM labels for the subjects/tasks and objects on the system. Casey's patches add new auxillary records for subjects and objects that convey the additional labels. - Ensure fanotify audit events are always generated Generally speaking security relevant subsystems always generate audit events, unless explicitly ignored. However, up to this point fanotify events had been ignored by default, but starting with this pull request fanotify follows convention and generates audit events by default. - Replace an instance of strcpy() with strscpy() - Minor indentation, style, and comment fixes * tag 'audit-pr-20250926' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit: audit: fix skb leak when audit rate limit is exceeded audit: init ab->skb_list earlier in audit_buffer_alloc() audit: add record for multiple object contexts audit: add record for multiple task security contexts lsm: security_lsmblob_to_secctx module selection audit: create audit_stamp structure audit: add a missing tab audit: record fanotify event regardless of presence of rules audit: fix typo in auditfilter.c comment audit: Replace deprecated strcpy() with strscpy() audit: fix indentation in audit_log_exit()

Linus Torvalds committed 1 year ago

Commit 56a08102 parents f382721 d2c773113 files · +333 −101Browse files

Showing the changes to include/uapi (1 of 13 files). Show all

Unified · Split

include/uapi/linux/audit.h+2−0
@@ -148,6 +148,8 @@ · 147 unmodified lines
148148 #define AUDIT_IPE_POLICY_LOAD 1422 /* IPE policy load */
149149 #define AUDIT_LANDLOCK_ACCESS 1423 /* Landlock denial */
150150 #define AUDIT_LANDLOCK_DOMAIN 1424 /* Landlock domain status */
151+#define AUDIT_MAC_TASK_CONTEXTS 1425 /* Multiple LSM task contexts */
152+#define AUDIT_MAC_OBJ_CONTEXTS 1426 /* Multiple LSM objext contexts */
151153
152154 #define AUDIT_FIRST_KERN_ANOM_MSG 1700
153155 #define AUDIT_LAST_KERN_ANOM_MSG 1799