Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a process group in Fork_action (?) #595

Open
smondet opened this issue Jul 28, 2023 · 1 comment
Open

Creating a process group in Fork_action (?) #595

smondet opened this issue Jul 28, 2023 · 1 comment

Comments

@smondet
Copy link
Contributor

smondet commented Jul 28, 2023

Would it make sense to (optionally) add calls to setpgid(0,0) before the execve?

I think that would allow for better use of signal to kill entire process groups.

https://pubs.opengroup.org/onlinepubs/9699919799/functions/setpgid.html

@talex5
Copy link
Collaborator

talex5 commented Jul 29, 2023

Optional support would be good, yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants