Greg Kurtzer's Ginux is now a userspace kernel
https://github.com/gmkurtzer/ginuxThe question I always have when I see these userspace kernels is, Linux in Userspace exists. You can boot Linux with a root in userspace already. Why write a new kernel from scratch instead of fixing/improving usermode Linux instead, which has the benefit of providing the entire Linux API already?
How is Ginux different from User mode Linux?
loading story #50451713
loading story #50451583
This is kind of the wrong approach when linux namespaces exist and rootless namespaces are approach full spectrum.
loading story #50450611
I’m still fascinated by the approach, though. It seems to me that it sits somewhere between cgroups and virtual machines.
I do wonder what problem it solves, as I don’t think that it provides the same security guarantees that micro-VMs like firecracker do?
loading story #50450358
loading story #50450485
loading story #50450448
loading story #50451704
loading story #50451695
loading story #50450566
loading story #50450605
> Telling someone's research and exploration is wrong...
Never change, HN, never change :D
loading story #50451452
So how exactly can you control multiple isolated address spaces for the leaf user processes and how do you handle syscalls? Does the host kernel have facilities for normal user processes to do so?
loading story #50451793
probably you get more isolation with jslinux
My immediate thought was this: https://en.wikipedia.org/wiki/User-mode_Linux
More seriously, it is a great use of indirection insofar as replacing the full Linux kernel is a gargantuan task. A userspace kernel per task or task group.. makes a lot of sense. I'd be interested to know how it captures syscalls - eBPF? It wasn't obvious from a skim of the readme.
This kind of give-me-this-interface work seems pretty perfect for LLMs, too.
loading story #50452562
[flagged]
[dead]
Guys - AI slop is winning the war. Soon the Top 500 Supercomputers
will run AI-Ginux rather than Linus-Linux.
loading story #50450796
loading story #50451768