HomeFreeBSD

tty: switch ttyhook_register to use fget_cap_locked

Description

tty: switch ttyhook_register to use fget_cap_locked

It is still wrong-ish as fget* funcs don't expect to operate on abitrary
file descriptor tables, but this at least moves it out of the way of an
upcoming change while being bug-compatible.

Details

Provenance
mjgAuthored on Feb 11 2022, 12:00 PM
Parents
rG93288e2445fe: Employ thread_cow_synced in setrlimit
Branches
Unknown
Tags
Unknown