]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
zfs: Cherry-pick upstream commit ef977fce6636 to fix macOS/arm64 bootstrap
authorJessica Clarke <jrtc27@FreeBSD.org>
Sat, 27 Mar 2021 02:23:59 +0000 (02:23 +0000)
committerJessica Clarke <jrtc27@FreeBSD.org>
Sat, 27 Mar 2021 02:23:59 +0000 (02:23 +0000)
commit3a314eb5bb444ec019457e5aefaabb656fcb3d54
tree86c2e2abd5c90422c4f425c32265437b2c9543d7
parentfe496dc02a9a276d940e72bbd155dc256a34076f
zfs: Cherry-pick upstream commit ef977fce6636 to fix macOS/arm64 bootstrap

Upstream commit message:

  Support running FreeBSD buildworld on Arm-based macOS hosts

  Arm-based Macs are like FreeBSD and provide a full 64-bit stat from the
  start, so have no stat64 variants. Thus, define stat64 and fstat64 as
  aliases for the normal versions.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Jessica Clarke <jrtc27@jrtc27.com>
  Closes #11771

MFC after: 1 week
sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/stat.h