bsd-user: Implement freebsd11 fstat and fhstat related syscalls
authorMichal Meloun <mmel@FreeBSD.org>
Sun, 13 Aug 2023 08:41:44 +0000 (10:41 +0200)
committerWarner Losh <imp@bsdimp.com>
Mon, 28 Aug 2023 18:16:18 +0000 (12:16 -0600)
commit33d730684efbe9f9343a07a6f4259e322d22f63e
tree6f0c434fbbcfb05bceb4647f7078ed82c40bbdb0
parentb443297793ef696f282e470775dc89815758fb24
bsd-user: Implement freebsd11 fstat and fhstat related syscalls

Implement the freebsd11 variant of the following syscalls:
fstat(2)
fstatat(2)
fhstat(2)
fhstatfs(2)

Co-authored-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Michal Meloun <mmel@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
bsd-user/freebsd/os-stat.h