freebsd-dev/sys/fs/tmpfs
Kyle Evans 0f919ed4ae tmpfs: push VEXEC check into tmpfs_lookup()
vfs_cache_lookup() has already done the appropriate VEXEC check, therefore
we must not re-check in VOP_CACHEDLOOKUP.

This fixes O_SEARCH semantics on tmpfs and removes a redundant descent into
VOP_ACCESS() in the common case.

Reported-by:	arichardson (via CheriBSD Jenkins CI)
Reviewed-by:	kib
MFC-after:	3 days
Differential Revision:	https://reviews.freebsd.org/D28401
2021-01-28 19:25:11 -06:00
..
tmpfs_fifoops.c tmpfs: restore atime updates for reads from page cache. 2020-09-16 21:28:18 +00:00
tmpfs_fifoops.h sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
tmpfs_subr.c tmpfs: drop acq fence now that vn_load_v_data_smr has consume semantics 2021-01-25 22:40:15 +00:00
tmpfs_vfsops.c tmpfs_free_tmp(): explicitly assert that tmp is locked 2021-01-10 04:48:29 +02:00
tmpfs_vnops.c tmpfs: push VEXEC check into tmpfs_lookup() 2021-01-28 19:25:11 -06:00
tmpfs_vnops.h tmpfs: add VOP_STAT handler 2020-08-07 23:07:47 +00:00
tmpfs.h tmpfs: add support for lockless symlink lookup 2021-01-23 15:04:43 +00:00