RSS lkl-switch — Linux kernel running INSIDE Horizon as an NRO, executing real ELF binaries

GBATEMP

Member
Dec 15, 2024
3,431
0
Hi all,

I've been working on something I haven't seen done before and wanted to share it.

TL;DR: This is the Linux kernel (6.12) compiled as a library (LKL) and linked into a homebrew NRO. It boots inside Horizon OS — no reboot, no L4T, running as an app — and on top of it there's a from-scratch ELF loader + syscall bridge that executes an actual aarch64 Linux binary. The guest binary makes real Linux syscalls (openat/write/close) that hit the live kernel, and I can read back the file it...

Read more

Continue reading...