Skip to content

set_no_new_privs should not take an argument #1450

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

Open
rusty-snake opened this issue Apr 12, 2025 · 0 comments
Open

set_no_new_privs should not take an argument #1450

rusty-snake opened this issue Apr 12, 2025 · 0 comments
Labels
semver bump Issues that will require a semver-incompatible fix

Comments

@rusty-snake
Copy link
Contributor

NNP can not be unset, hence set_no_new_privs(false) does semantically makes no sense.

Also manpages says:

int prctl(PR_SET_NO_NEW_PRIVS, 1L, 0L, 0L, 0L);

EINVAL The second argument is not equal to 1L.


@sunfishcode can you add semver bump label

@sunfishcode sunfishcode added documentation Improvements or additions to documentation semver bump Issues that will require a semver-incompatible fix and removed documentation Improvements or additions to documentation labels Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver bump Issues that will require a semver-incompatible fix
Projects
None yet
Development

No branches or pull requests

2 participants