HomeFreeBSD

kboot: Implement stat(2) and fstat(2) system calls

Description

kboot: Implement stat(2) and fstat(2) system calls

Implement stat(2) and fstat(2) in terms of newfstatat and newfstat
system calls respectively (assume we have a compat #define when
there's no newfstat and just a regular fstat and do so for ppc).

Snag struct kstat (the Linux kernel stat(2), et al interface) from musl
and attribute properly.

Sponsored by: Netflix

Details

Provenance
impAuthored on Jul 15 2022, 5:19 AM
Parents
rGae366d510684: kboot: Add HOST_O_ constants for open, etc
Branches
Unknown
Tags
Unknown