opnsense-src/sys/security/audit
Mark Johnston 97d9978744 audit: Initialize vattr fields before calling VOP_GETATTR
Some filesystems do not fill out certain optional vattr fields.  To
ensure that they do not get copied out to userspace uninitialized, use
VATTR_NULL to provide default values.

Reported by:	KMSAN
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit ecd764b0ea)
2022-04-11 09:43:27 -04:00
..
audit.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
audit.h audit: rework AUDIT_SYSCLOSE 2020-12-17 18:52:04 +00:00
audit_arg.c audit: Initialize vattr fields before calling VOP_GETATTR 2022-04-11 09:43:27 -04:00
audit_bsm.c close_range: add audit support 2021-03-17 22:22:48 +00:00
audit_bsm_db.c The kernel DTrace audit provider (dtaudit) relies on auditd(8) to load 2018-09-03 14:26:43 +00:00
audit_bsm_klib.c cache: drop the always curthread argument from reverse lookup routines 2020-08-24 08:57:02 +00:00
audit_dtrace.c security: clean up empty lines in .c and .h files 2020-09-01 21:26:00 +00:00
audit_ioctl.h #include <bsm/audit.h> in security/audit/audit_ioctl.h 2018-05-30 21:50:23 +00:00
audit_pipe.c fix incorrect operator in the AUDITPIPE_SET_QLIMIT bounds check 2018-07-23 16:56:49 +00:00
audit_private.h audit: provide audit_canon_path variant which accepts vnodes 2020-02-21 01:40:49 +00:00
audit_syscalls.c security: clean up empty lines in .c and .h files 2020-09-01 21:26:00 +00:00
audit_trigger.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
audit_worker.c vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
bsm_domain.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
bsm_errno.c Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
bsm_fcntl.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
bsm_socket_type.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
bsm_token.c security: clean up empty lines in .c and .h files 2020-09-01 21:26:00 +00:00