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

Return EACCES when calling setpgid() after execve() #11467

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Feb 12, 2025

Return EACCES when calling setpgid() after execve()

From setpgid manpage,

EACCES - An attempt was made to change the process group ID of one
of the children of the calling process and the child had
already performed an execve(2) (setpgid(), setpgrp()).

This CL makes gVisor implement this rule and updates the exec test
suite accordingly.

TESTED: http://sponge2/7f364e8a-4f82-463e-ba62-79234c4d054d

@copybara-service copybara-service bot added the exported Issue was exported automatically label Feb 12, 2025
@copybara-service copybara-service bot force-pushed the test/cl725887123 branch 2 times, most recently from f59c66a to 852ad9f Compare February 14, 2025 23:36
@copybara-service copybara-service bot closed this Feb 15, 2025
@copybara-service copybara-service bot deleted the test/cl725887123 branch February 15, 2025 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exported Issue was exported automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants