4 ms·
They are never releasing the full source code. Apple strips the ARM architecture, blocks of code for features they do not want to be open source, and the intern
by raimue 10y ago
They are never releasing the full source code. Apple strips the ARM architecture, blocks of code for features they do not want to be open source, and the internal documentation before throwing these dumps over the wall.
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_opensource.sh.auto.html https://opensource.apple.com/source/hfs/hfs-366.1.1/make_ope...
- dorianm 10y agoThanks, 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)' .; then
- dorianm 10y agoBTW some of their open source code (like XNU, the kernel) is on GitHub: https://github.com/opensource-apple/xnu https://github.com/opensource-apple/xnu
- raimue 10y ago> https://github.com/opensource-apple 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.
- dorianm 10y agoIt was updated two months ago in September 15th 2016: https://github.com/opensource-apple/xnu/pull/4 https://github.com/opensource-apple/xnu/pull/4
- raimue 10y agoOkay, right. I was mislead as all commits use a different author (opensource-apple is only the committer), so the activity graph on the profile is mostly empty.