HomeFreeBSD

fd: add fget_only_user

Description

fd: add fget_only_user

This can be used by single-threaded processes which don't share a file
descriptor table to access their file objects without having to
reference them.

For example select consumers tend to match the requirement and have
several file descriptors to inspect.

(cherry picked from commit eaad8d1303da500ed691bd774742a4555a05e729)

Details

Provenance
mjgAuthored on Jan 28 2021, 11:27 PM
Parents
rG569ac576088b: cache: add missing MNT_NOSYMFOLLOW check to symlink traversal
Branches
Unknown
Tags
Unknown