setsegname will now compile and work on a Linux host. OS X is no longer needed for building XNU.
Initial kernel import. So many things are broken with this thing, who's willing to fix them all?