Sorry about the non-answer — I can’t comment on the answer directly.
OS X is not based on Linux. It’s kernel is called Darwin, which is based on NeXTSTEP/BSD and is open source: http://developer.apple.com/darwin/
There is a project called PureDarwin that releases a complete distribution based on it.