|
|
Subscribe / Log in / New account

Running code within another process's address space

Running code within another process's address space

Posted Apr 16, 2021 15:58 UTC (Fri) by rvolgers (guest, #63218)
Parent article: Running code within another process's address space

Just as io_uring has finally settled on a sane context management mechanism for its worker threads, a new fundamentally broken way to mix-and-match process contexts is being invented. Marvelous.


to post comments

Running code within another process's address space

Posted Apr 16, 2021 16:46 UTC (Fri) by josh (subscriber, #17465) [Link] (2 responses)

I do wonder if problems like the setuid issue could be solved by io_uring and a "run this on behalf of" mechanism that allows one thread to submit items into an io_uring that runs in the context of another thread.

Running code within another process's address space

Posted Apr 16, 2021 20:13 UTC (Fri) by luto (guest, #39314) [Link] (1 responses)

setuid could be solved by a new syscall. The error handling might be nontrivial, but it’s doable.

Running code within another process's address space

Posted Apr 17, 2021 0:47 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link]

Can we just get a file-decriptor based process API? Then the need to inject stuff into other processes would be severely reduced.


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