kboot: Convert from getdents to getdents64
authorWarner Losh <imp@FreeBSD.org>
Thu, 28 Jul 2022 04:24:50 +0000 (22:24 -0600)
committerWarner Losh <imp@FreeBSD.org>
Thu, 28 Jul 2022 04:29:27 +0000 (22:29 -0600)
commit3a1b966ae0c1b9f334e1e3a7ad8b4bf8e845f3c5
tree1356f3ab79e5e3aea03221809958df4b736b511a
parent065cbc77076ec8d38385406deefa8331bc2432f5
kboot: Convert from getdents to getdents64

Linux 2.4 introduced getdents64. Switch to using it because aarch64
doesn't have getdents as that syscall was obsoleted before that port was
created.

Sponsored by: Netflix
stand/kboot/arch/amd64/syscall_nr.h
stand/kboot/arch/powerpc64/syscall_nr.h
stand/kboot/host_syscall.h
stand/kboot/host_syscalls.c
stand/kboot/kbootfdt.c