Skip to content

feat(apparmor): build+pack a default apparmor profile into the zone kernel#217

Open
bleggett wants to merge 3 commits into
mainfrom
bleggett/apparmor
Open

feat(apparmor): build+pack a default apparmor profile into the zone kernel#217
bleggett wants to merge 3 commits into
mainfrom
bleggett/apparmor

Conversation

@bleggett

@bleggett bleggett commented Jul 17, 2026

Copy link
Copy Markdown
Contributor
  • Adds apparmor tooling to the zone kernel build image
  • Adds apparmor to the zone kernel LSM list
  • Pulls in a RuntimeDefault AppArmor profile, effectively identical to the one containerd uses as its default.
  • As part of the zone kernel OCI build, compiles the RuntimeDefault AppArmor profile against the zone kernel's supported ABI, and ships it with the zone kernel in the addons package alongside firmware and modules, so it is available to be loaded in-zone to confine zone processes, if desired.

azenla
azenla previously approved these changes Jul 17, 2026

@azenla azenla left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bleggett

Copy link
Copy Markdown
Contributor Author

Oh, the buildenv buildimage changes have to be split out and merged + built first, so the CI can use the buildimage with the new tooling.

#220

@bleggett
bleggett force-pushed the bleggett/apparmor branch from 98ce2ad to 0ac58cd Compare July 17, 2026 23:39
tycho
tycho previously approved these changes Jul 18, 2026
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