News for hackers. Stuff that matters.
Re:Meet LKL: Turn Linux Kernel into a Library by rwmj on Monday February 01, 2016 @02:37PM (#11014712)
If you use it to write a FUSE filesystem, then yes, because it's using FUSE.

If you link (-llkl) directly to your program, then no, since it's all in the same process. But this is not exposing the POSIX API or a host filesystem, so that's possibly not useful, depending on what you're trying to do.

I compare lkl to libguestfs in my article here: https://rwmj.wordpress.com/2015/11/07/linux-kernel-library-b...

Re:Meet LKL: Turn Linux Kernel into a Library by bmuk on Monday February 01, 2016 @02:56PM (#11014871)
Ah okay, I think I understand more now. Thanks for the link, I'll check it out!

Basically this is a kernel running in userspace, not hooking into the actual kernel running in kernel space?

Re:Meet LKL: Turn Linux Kernel into a Library by rwmj on Tuesday February 02, 2016 @07:32AM (#11019050)
Yes, it's the Linux kernel, compiled as a (userspace) library, and linked to applications. The applications use lkl_sys_* functions to call "system calls" in this code-running-as-a-library.