HomeFreeBSD

fexecve(2): allow O_PATH file descriptors opened without O_EXEC

Description

fexecve(2): allow O_PATH file descriptors opened without O_EXEC

This improves compatibility with Linux.

Noted by: Drew DeVault <sir@cmpwn.com>
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D32821

Details

Provenance
kibAuthored on Nov 3 2021, 12:51 PM
Reviewer
markj
Differential Revision
D32821: fexecve(2): allow O_PATH file descriptors opened without O_EXEC
Parents
rG02de91d74023: proc_get_binpath(): return empty string instead of NULL
Branches
Unknown
Tags
Unknown