|
|
Subscribe / Log in / New account

Microkernels

Microkernels

Posted Mar 13, 2025 1:27 UTC (Thu) by pabs (subscriber, #43278)
Parent article: Quotes of the week

Perhaps a you could take a leaf out of the microkernel book, run Linux as a UML process (or in a VM), mount the untrusted data inside it, export the filesystem as 9p and mount that on the host :)

There is already guestfs for the VM version of that though.

http://libguestfs.org

Another option would be to complete the Linux kernel library project, to allow Linux filesystem code to run in userspace, and then use FUSE to mount the untrusted filesystems within a user namespace sandbox.

https://github.com/lkl

Or perhaps it is going to be the year of Hurd on the desktop soon! (or Redox).


to post comments

Microkernels

Posted Mar 13, 2025 9:06 UTC (Thu) by NYKevin (subscriber, #129325) [Link] (1 responses)

> Another option would be to complete the Linux kernel library project, to allow Linux filesystem code to run in userspace, and then use FUSE to mount the untrusted filesystems within a user namespace sandbox.

I honestly find it rather baffling that this has not already been done. All sorts of bizarre filesystems are mountable via FUSE, but for some reason you can't mount most "normal" filesystems that way. There's no logical reason for this to be the case - all of the necessary primitives are already exposed to userspace, it's just a matter of somebody writing/porting the FS code, and maybe a little extra faff to deal with the file permissions on /dev/whatever.

Microkernels

Posted Mar 13, 2025 12:45 UTC (Thu) by aragilar (subscriber, #122569) [Link]

I vaguely recall there was a wrapper around user mode linux that did this around 2010 (before udisks2 was more established)? I don't know if it used fuse or not though.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds