Thanks, quite interesting:
# Check for remaining bad file names
BADFILES=`find . \( -name "*.arm*" -o -name "arm*" \) | xargs echo`;
...
# Check for remaining bad file contents
if grep -iEr '([^UD_]_?_OPEN_SOURCE_|XNU_HIDE_SEED|XNU_HIDE_HARDWARE|CONFIG_EMBEDDED)' .; thenBTW some of their open source code (like XNU, the kernel) is on GitHub: https://github.com/opensource-apple/xnu
> https://github.com/opensource-apple
> MIRROR ONLY, UNOFFICIALLY
Someone took it and uploaded it to GitHub. This was not published by Apple. Also has not been updated in years.
It was updated two months ago in September 15th 2016: https://github.com/opensource-apple/xnu/pull/4
Here are some hints of what they are doing to process the original sources:
https://opensource.apple.com/source/hfs/hfs-366.1.1/make_ope...