podman/pkg/apparmor
Valentin Rothberg 06ab343bd7 podman/libpod: add default AppArmor profile
Make users of libpod more secure by adding the libpod/apparmor package
to load a pre-defined AppArmor profile.  Large chunks of libpod/apparmor
come from github.com/moby/moby.

Also check if a specified AppArmor profile is actually loaded and throw
an error if necessary.

The default profile is loaded only on Linux builds with the `apparmor`
buildtag enabled.

Signed-off-by: Valentin Rothberg <vrothberg@suse.com>

Closes: #1063
Approved by: rhatdan
2018-07-11 16:36:24 +00:00
..
aaparser.go podman/libpod: add default AppArmor profile 2018-07-11 16:36:24 +00:00
aaparser_test.go podman/libpod: add default AppArmor profile 2018-07-11 16:36:24 +00:00
apparmor.go podman/libpod: add default AppArmor profile 2018-07-11 16:36:24 +00:00
apparmor_linux.go podman/libpod: add default AppArmor profile 2018-07-11 16:36:24 +00:00
apparmor_unsupported.go podman/libpod: add default AppArmor profile 2018-07-11 16:36:24 +00:00