freebsd-nq/sys/security/audit
Mateusz Guzik 0573d0a9b8 vfs: add realpathat syscall
realpath(3) is used a lot e.g., by clang and is a major source of getcwd
and fstatat calls. This can be done more efficiently in the kernel.

This works by performing a regular lookup while saving the name and found
parent directory. If the terminal vnode is a directory we can resolve it using
usual means. Otherwise we can use the name saved by lookup and resolve the
parent.

See the review for sample syscall counts.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D23574
2020-02-20 16:58:19 +00:00
..
audit_arg.c vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +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
audit_bsm.c vfs: add realpathat syscall 2020-02-20 16:58:19 +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 Rework the logic around quick checks for auditing that take place at 2018-10-02 15:58:17 +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 Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
audit.h Merge audit and systrace checks 2020-02-14 13:09:41 +00:00
bsm_domain.c
bsm_errno.c Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
bsm_fcntl.c
bsm_socket_type.c
bsm_token.c