You mean this source code? http://opensource.apple.com/source/xnu/
OTOH, there does seem to be a fair amount of competence where it matters though. In the couple companies I worked for the private keys used for signing things were very quietly kept hidden from the vast majority of the engineering teams/etc. AKA, it was possible to create an development/test builds all day long, but creating valid license keys/firmware updates/etc for the builds given to customers was limited to a formal process which contained the keys. The private keys were only available to a couple people tasked with maintaining the automation from which the builds/keys/etc came from. Those people rarely had a need to move/etc them either, and such activities were done in the open.
Apple has also shifted to pushing a lot of sensitive/proprietary code into kernel extensions (the new Apple File System being one example), for which they don't release source code (generally speaking).
I think it would be smart for them to open source it, if not simply for the interoperability use cases.
[1]: http://opensource.apple.com//source/xnu/xnu-2050.18.24/bsd/h...
[1] https://developer.apple.com/library/prerelease/content/docum...
Also, even on OS X, it takes a while after new versions of the OS are released for new kernel source bundles to drop. So sometimes poking around with IDA is your only recourse.
RE: this specific exploit, here's the POC making it around the security sphere (thanks @heisecode!) https://github.com/heisecode/Bug_POCs
[1] https://static.googleusercontent.com/media/www.zynamics.com/...
XNU == MACH + BSD Personality.