Designing ELF modules
Designing ELF modules
Posted Mar 13, 2018 21:47 UTC (Tue) by Cyberax (✭ supporter ✭, #52523)Parent article: Designing ELF modules
Can kernel instead of emulating userspace environment just somehow drop privileges for a certain kernel thread? Just do the syscall exit and set up RW mappings for a fixed "exchange" area to communicate with other threads. For purely computational tasks like a BPF compiler it should be enough.
Posted Mar 14, 2018 4:41 UTC (Wed)
by luto (guest, #39314)
[Link]
Designing ELF modules
In theory, yes, but the entry code isn’t set up for this.
