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

Add ptrace to AppArmorProfile spec #2756

Open
Edan-Hamilton opened this issue Mar 4, 2025 · 0 comments
Open

Add ptrace to AppArmorProfile spec #2756

Edan-Hamilton opened this issue Mar 4, 2025 · 0 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@Edan-Hamilton
Copy link

What would you like to be added:

Add the ability to limit ptrace via AppArmorProfile. Allow restricting ptrace peer. I can't think of much of a usecase for the other features of the ptrace AppArmor option.

Why is this needed:

Ptrace is a hugely powerful ability, which should generally be restricted to avoid applications inspecting arbitrary processes. Ptrace is however useful for debugging, and is also used by certain applications such as PRoot, among various others mainly used for nested containerization/confinement. Setting the peer to the profile itself tends to be reasonable, as this way the confined application/container can only inspect itself.

@Edan-Hamilton Edan-Hamilton added the kind/feature Categorizes issue or PR as related to a new feature. label Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant