HomeFreeBSD

fcntl(2): add F_KINFO operation

Description

fcntl(2): add F_KINFO operation

that returns struct kinfo_file for the given file descriptor. Among
other data, it also returns kf_path, if file op was able to restore file
path.

Reviewed by: jhb, markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D33277

Details

Provenance
kibAuthored on Dec 5 2021, 6:45 PM
Reviewer
jhb
Differential Revision
D33277: fcntl(2): add F_KINFO operation
Parents
rG6e51d61a96c0: Add declaration for static export_file_to_kinfo()
Branches
Unknown
Tags
Unknown