Open JeffGarland opened 5 years ago
The terminate
in general or which exactly?
So we discussed again in Belfast - I munged this originally. The actual request here is to remove the 'pid' constructor so that we won't have the ability to attach and then call terminate.
I think its a fair trade-off unless we have a really strong set of use cases. We won't have the ability to manage arbitrary processes, but only the ones we create.
The security issue concerns the OS right system, normally you can only terminate child processes and their children.
I only have minor use cases, but I don't really get what the risk is. So the main application is either pass PIDs between processes or managing a process created by another library.
Reason is mostly simplification, but also some mild concerns about security issues that might arise.