|
|
Subscribe / Log in / New account

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.


to post comments

Designing ELF modules

Posted Mar 14, 2018 4:41 UTC (Wed) by luto (guest, #39314) [Link]

In theory, yes, but the entry code isn’t set up for this.


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