HomeFreeBSD

fusefs: allow opening files O_EXEC

Description

fusefs: allow opening files O_EXEC

O_EXEC is useful for fexecve(2) and fchdir(2). Treat it as another fufh
type alongside the existing RDONLY, WRONLY, and RDWR. Prior to r345742 this
would've caused a memory and performance penalty.

PR: 236329
Sponsored by: The FreeBSD Foundation

Details

Provenance
asomersAuthored on
Parents
rS345767: fusefs: fix an inverted error check in my last commit
Branches
Unknown
Tags
Unknown