Richard Stallman was quite correct to call it GNU/Linux, as much as I dislike the guy.
That’s my point - when people say Linux they generally mean GNU/Linux not Android.
Equally, people are generally not talking about only the kernel, when they say Linux. Usually when someone is talking about only the kernel they say ‘the Linux kernel’.
GNU/Linux usually only gets used by the FSF or during discussions of this kind.
“Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.” [1]
Maybe we should pay more attention to what he says!
https://github.com/aosp-mirror/platform_bionic/blob/master/d...
Anything not white listed on the LinuxSE and seccomp configurations, just has as outcome killing the "naughty" app.
They do both use bash tho ;)
There it clarifies that it is "mostly" FreeBSD. The Mach being used also differs significantly from CMU Mach and what you might find by looking for Mach3/4 source dumps.
One of the biggest challenges in "converting" NeXTSTEP (MacOS's predecessor) to OS X was both updating software to newer versions and eliminating expensive licenses from AT&T and Adobe.
NeXTSTEP was a "capital U" UNIX with AT&T proprietary code, based on 4.3/4.4BSD (encumbered). Every copy needed a UNIX license and royalties to AT&T.
NeXT was based on Mach2, which had 4.3BSD deeply integrated into the kernel source tree. Device drivers were both native BSD ones along with a "DriverKit" interface that used Mach messages to write userland device drivers.
CMU Mach v3 and v4 cut out all the BSD code and put it into a userland "UX Server", a model incompatible with NeXT. So instead, Apple took the OSF/1 Mach kernel, derived from Mach 2.5, and replaced the BSD subsystem code with 4.4BSD-lite, gradually updating its subsystems with FreeBSD ones.
So TLDR, Darwin/XNU has both a BSD userland and essentially a FreeBSD kernel. When you make a "UNIX-y" syscall from C in MacOS, you're "talking" to a "FreeBSD kernel".