freebsd-dev/sys/security/audit
Mateusz Guzik 8d03b99b9d fd: move vnodes out of filedesc into a dedicated structure
The new structure is copy-on-write. With the assumption that path lookups are
significantly more frequent than chdirs and chrooting this is a win.

This provides stable root and jail root vnodes without the need to reference
them on lookup, which in turn means less work on globally shared structures.
Note this also happens to fix a bug where jail vnode was never referenced,
meaning subsequent access on lookup could run into use-after-free.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D23884
2020-03-01 21:53:46 +00:00
..
audit_arg.c audit: provide audit_canon_path variant which accepts vnodes 2020-02-21 01:40:49 +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 fd: move vnodes out of filedesc into a dedicated structure 2020-03-01 21:53:46 +00:00
audit_bsm.c Currently kernel audit events for jail_set(2), jail_get(2), jail_attach(2), 2020-02-29 19:17:24 +00:00
audit_dtrace.c Rework the logic around quick checks for auditing that take place at 2018-10-02 15:58:17 +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 vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +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
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: provide audit_canon_path variant which accepts vnodes 2020-02-21 01:40:49 +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 sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00