HomeFreeBSD

fusefs: remove "early permission check hack"

Description

fusefs: remove "early permission check hack"

fuse_vnop_lookup contained an awkward hack meant to reduce daemon activity
during long lookup chains. However, the hack is no longer necessary now
that we properly cache file attributes. Also, I'm 99% certain that it
could've bypassed permission checks when using openat to open a file
relative to a directory that lacks execute permission.

Sponsored by: The FreeBSD Foundation

Details

Provenance
asomersAuthored on
Parents
rS346105: MFC r345497:
Branches
Unknown
Tags
Unknown