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

internal: detect if /proc/self/auxv is not readable due to file caps #825

Merged
merged 1 commit into from
Oct 26, 2022

Conversation

lmb
Copy link
Collaborator

@lmb lmb commented Oct 25, 2022

As reported by Daniel Xu, setting capabilities on an executable file will prevent reading /proc/self/auxv since the file is owned by root. The work arounds to this have various trade offs, so the best we can do is tell the user why we failed and hope they check out our discussion or create an issue.

See #823

As reported by Daniel Xu, setting capabilities on an executable file
will prevent reading /proc/self/auxv since the file is owned by root.
The work arounds to this have various trade offs, so the best we can
do is tell the user why we failed and hope they check out our
discussion or create an issue.

See cilium#823
@lmb lmb requested a review from ti-mo October 25, 2022 15:18
@lmb
Copy link
Collaborator Author

lmb commented Oct 25, 2022

cc @danobi

@danobi
Copy link
Contributor

danobi commented Oct 25, 2022

LGTM, thanks!

@ti-mo ti-mo merged commit d88b1b8 into cilium:master Oct 26, 2022
@lmb lmb deleted the auxv-not-dumpable branch February 27, 2023 16:13
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

Successfully merging this pull request may close these issues.

3 participants