My specific usecase is only relevant on ARM (applying a kernel patch to allow emulating ARMv7 on ARM64, and not just 32-bit ARMv8), but there are likely other usecases that could benefit from it. Remote development with Rust on fly.io mentions:
But yeah our Docker image doesn’t provide a kernel, only a userland. The kernel is whatever fly gives us.
This doesn’t seem like a fundamental limitation, and the fact that /dev/mem is accessible makes me think that it’s not a security issue either. There have also been requests here for new kernel modules (like
nfs), which this would allow sidestepping.