HomeFreeBSD

linux(4): Add a dedicated fstat() implementation

Description

linux(4): Add a dedicated fstat() implementation

In between kern_fstat() and translate_fd_major_minor(), another process
having the same filedesc could modify or close fd.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D39763

(cherry picked from commit 994ed958ae0545faa86dd43b6e64bf7b64b9220b)

Details

Provenance
dchaginAuthored on Jun 29 2023, 8:15 AM
Reviewer
kib
Differential Revision
D39763: linux(4): Add a dedicated fstat() implementation
Parents
rG6c324fb645e6: linux(4): Add a dedicated statat() implementation
Branches
Unknown
Tags
Unknown