moby/profiles/apparmor
Sebastiaan van Stijn 6fae583dba
pkg/aaparser: remove, and integrate into profiles/apparmor
This package provided utilities to obtain the apparmor_parser version, as well
as loading a profile.

Commit e3e715666f (included in v24.0.0 through
bfffb0974e) deprecated GetVersion, as it was no
longer used, which made LoadProfile the only utility remaining in this package.

LoadProfile appears to have no external consumers, and the only use in our code
is "profiles/apparmor".

This patch moves the remaining code (LoadProfile) to profiles/apparmor as a
non-exported function, and deletes the package.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-01-02 15:15:49 +01:00
..
apparmor.go pkg/aaparser: remove, and integrate into profiles/apparmor 2024-01-02 15:15:49 +01:00
template.go profiles/apparmor: deny /sys/devices/virtual/powercap 2023-09-18 16:41:03 -06:00