Skip to content

DARWIN: aarch64: tstatfs.fstypename length error

Summary

  1. record tstatfs in ptypes.inc error (darwin and aarch64)
  2. fstypename in tstatfs should be MFSTYPENAMELEN(16 bytes), but MFSNAMELEN(15 bytes) used
  3. related functions such as getfsstat() broken
  4. FYI: https://opensource.apple.com/source/xnu/xnu-6153.41.3/bsd/sys/mount.h.auto.html

System Information

  • Operating System: MacOS 12.2.1
  • CPU / Bitness: M1 / aarch64
  • FPC Version: FPC 3.2.2

Possible fixes

will commit related PR

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information