We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description
We have code to drop ambient capabilities that looks like this:
prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_CLEAR_ALL, 0, 0, 0); prctl(PR_SET_SECUREBITS, SECBIT_KEEP_CAPS_LOCKED | SECBIT_NOROOT /* | etc */);
Works great everywhere except under gVisor, where the prctls fail with EINVAL.
Environment
Whatever version of gVisor GCP's Cloud Run uses. A quick skim of the master branch suggests they're not supported there, either.
The text was updated successfully, but these errors were encountered:
gVisor currently doesn't support ambient capabilities so we'd likely need to support them before supporting PR_CAP_AMBIENT #3166
PR_CAP_AMBIENT
Sorry, something went wrong.
A friendly reminder that this issue had no activity for 120 days.
This issue has been closed due to lack of activity.
No branches or pull requests
Description
We have code to drop ambient capabilities that looks like this:
Works great everywhere except under gVisor, where the prctls fail with EINVAL.
Environment
Whatever version of gVisor GCP's Cloud Run uses. A quick skim of the master branch suggests they're not supported there, either.
The text was updated successfully, but these errors were encountered: