The relevant section in stat.h is this:
Code: Select all
https://github.com/apple/darwin-xnu/blob/main/bsd/sys/stat.h#L543-L553
I don't know if this is the latest version of XNU, but judging from this we would have at least six additional inode flags to support:Extended flags ("EF") returned by ATTR_CMNEXT_EXT_FLAGS from getattrlist/getattrlistbulk
- Share blocks (EF_MAY_SHARE_BLOCKS)
- No XAs (EF_NO_XATTRS)
- iCloud sync root (EF_IS_SYNC_ROOT)
- Purgeable (EF_IS_PURGEABLE)
- Sparse (EF_IS_SPARSE)
- Synthetic (EF_IS_SYNTHETIC)