mirror of
https://github.com/opnsense/src.git
synced 2026-02-27 03:40:37 -05:00
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 |
||
|---|---|---|
| .. | ||
| audit.h | ||
| audit_domain.h | ||
| audit_errno.h | ||
| audit_fcntl.h | ||
| audit_internal.h | ||
| audit_kevents.h | ||
| audit_record.h | ||
| audit_socket_type.h | ||