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

mount debugfs in superpowered containers #934

Merged
merged 1 commit into from
May 28, 2020

Conversation

bcressey
Copy link
Contributor

Issue number:
N/A

Description of changes:
Mount debugfs in superpowered containers.

Tools like bcc and bpftrace interact with various files in debugfs and tracefs, for example to read the list of invalid probe addresses from /sys/kernel/debug/kprobes/blacklist.

Testing done:
Built a custom admin container with bpftrace and bcc installed.

Confirmed that the tools under /usr/share/bcc/tools and /usr/share/bpftrace/tools ran OK.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

This is used by tools like `bcc` and `bpftrace`.

Signed-off-by: Ben Cressey <[email protected]>
@bcressey bcressey merged commit b916fc3 into bottlerocket-os:develop May 28, 2020
@bcressey bcressey deleted the admin-debugfs branch May 28, 2020 17:58
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.

4 participants