Skip to content
systemcoding.dev

Tag

macos

7 posts

Flat illustration of two options weighed side by side, with the macOS, Linux and Apple logos.
Kernels

Mach Traps vs BSD System Calls on macOS

Learn how macOS routes one trap instruction to either a Mach trap or a BSD system call, how the number sign and class decide, and why you should call libSystem.

8 min read
Flat illustration of user space above the system call boundary, the kernel and the hardware, with the macOS, Linux and Apple logos.
KernelsGuide

The Complete Guide to macOS Kernel Internals

A map of the XNU kernel behind macOS: Mach tasks and ports, the BSD layer, IOKit, system call entry, virtual memory, security layers, extensions and boot.

25 min read