HomeFreeBSD

file: Move FILEDESC_FOREACH macros to kern_descrip.c

Description

file: Move FILEDESC_FOREACH macros to kern_descrip.c

They are only used in kern_descrip.c, so make them private. No
functional change intended.

Discussed with: mjg
Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on Mar 17 2022, 4:58 PM
Parents
rGc70224229205: file: Avoid a read-after-free of fd tables in sysctl handlers
Branches
Unknown
Tags
Unknown