Greg Kurtzer's Ginux is now a userspace kernel github.com · 41 points · 19 comme...
HN Best 200 @best
Greg Kurtzer's Ginux is now a userspace kernel github.com · 41 points · 19 comments · HN thread
TL;DR Greg Kurtzer announces that his Ginux project has abandoned its standalone Rust kernel that booted via UEFI and now runs as a userspace kernel: an ordinary Linux process that gives each managed instance a versioned, deliberately reduced syscall contract on top of the host kernel. The stated targets include containing AI agents and running a pinned Rocky Linux 10 systemd baseline, with the project openly described as research software that is not production-ready. The HN thread is small (19 comments) and mostly skeptical, focusing on whether a userspace kernel adds real security over namespaces, microVMs or gVisor, and on the project being largely AI-written.
- Ginux's Rust standalone kernel research phase is complete; final source is preserved on the bootable-kernel branch and bootable-kernel-final tag, and development continues as a userspace kernel.
- Each instance gets a versioned contract; a central dispatcher chooses to emulate, mediate (validated narrow host operation), or deny each managed syscall before it has a host effect.
- Two syscall control modes: 'selective' (default, direct host execution only for operations classified as direct-safe) and 'paranoid' (every syscall goes through the Ginux dispatcher).
- Current implementation includes an x86-64 interpreter, native ptrace backend, OCI root, virtual /proc, /sys, cgroup v2, devices, and a Rocky Linux 10 systemd baseline that reaches multi-user.target.
- Explicitly not a production sandbox or complete Linux/systemd compatibility; the host kernel, Ginux executable, and operator are trusted, and the native backend still depends on host kernel attack surface.
- Benchmarks target a 4% overhead budget against native execution, and performance under QEMU TCG is noted as slow.
Discussion The thread is short and mixed. Early commenters debate the approach itself: whether it sits between cgroups and VMs, whether it provides real isolation beyond namespaces, and how it compares to gVisor, User-Mode Linux, seccomp and Pledge. Several note that userspace kernels trade compatibility for isolation, and that hypervisors also have escapes, so the security comparison is contested. A second thread is skepticism about the project's AI-generated nature, its rapid pivot, and whether anyone will maintain it. A few commenters are simply curious about the mechanism, such as how syscalls are captured. The mood is skeptical, with a few intrigued and some joking remarks.
- Userspace kernels are interesting but security benefit over VMs or namespaces is unclear (many): Commenters question whether Ginux gives stronger guarantees than microVMs like Firecracker or rootless namespaces. They point out that gVisor-style designs have compatibility costs and that hypervisors also have escape vulnerabilities, so no layer is automatically safest.
- Reducing the Linux attack surface is a valid motivation (some): Some see value in a userspace kernel because the Linux kernel exposes a large legacy attack surface that most applications never use, and a userspace layer can avoid much of it.
- Skeptical of AI-generated project and its frequent pivots (many): Several commenters doubt the project will be maintained or taken seriously because it was largely produced by an AI agent and changed direction quickly, leaving the risk of abandoned code.
- Interested for HPC or restricted sandboxing without KVM (some): A commenter running sandboxed execution on a tight HPC cluster would welcome VM-like isolation that does not need KVM or QEMU, but doubts it is feasible.
- Joking about AI and the future of Linux (a few): A few comments are jokes about AI slop winning and supercomputers running Ginux instead of Linux.
Links from the comments