XNU is the name of the kernel used in the open source Darwin operating system, that Apple uses as the foundation of its Mac OS X operating system. It is a hybrid kernel based on a mixed Mach kernel and FreeBSD kernel codebase.