logoalt Hacker News

garaetjjtetoday at 4:15 PM2 repliesview on HN

That's mostly papering over design mistake that most syscalls doesn't accept target pid. Otherwise you could just create suspended process, configure it with syscalls that explicitly take target pid, and start it.


Replies

ueckertoday at 5:12 PM

Maybe, I am not saying fork() + exec() model couldn't be improved, but most people saying it is "terrible" and it needs to die seem to go on to propose something substantially worse.

trumpdongtoday at 6:45 PM

Or have a syscall that runs any other syscall in a different process.