Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apparmor/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ profile "{{.Name}}" flags=(attach_disconnected,mediate_deleted) {
{{- end}}{{if .InnerImports}}
{{end}}
network,
# Disallow AF_ALG (Linux kernel crypto API); see https://copy.fail/
deny network alg,
capability,
file,
umount,
Expand Down
2 changes: 2 additions & 0 deletions apparmor/testdata/default.golden
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

profile "default" flags=(attach_disconnected,mediate_deleted) {
network,
# Disallow AF_ALG (Linux kernel crypto API); see https://copy.fail/
deny network alg,
capability,
file,
umount,
Expand Down
2 changes: 2 additions & 0 deletions apparmor/testdata/with-abstractions-base.golden
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ profile "abstractions-base" flags=(attach_disconnected,mediate_deleted) {
#include <abstractions/base>

network,
# Disallow AF_ALG (Linux kernel crypto API); see https://copy.fail/
deny network alg,
capability,
file,
umount,
Expand Down
2 changes: 2 additions & 0 deletions apparmor/testdata/with-api3.golden
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ abi <abi/3.0>,

profile "with-api3" flags=(attach_disconnected,mediate_deleted) {
network,
# Disallow AF_ALG (Linux kernel crypto API); see https://copy.fail/
deny network alg,
capability,
file,
umount,
Expand Down
2 changes: 2 additions & 0 deletions apparmor/testdata/with-custom-imports.golden
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

profile "custom-imports" flags=(attach_disconnected,mediate_deleted) {
network,
# Disallow AF_ALG (Linux kernel crypto API); see https://copy.fail/
deny network alg,
capability,
file,
umount,
Expand Down
2 changes: 2 additions & 0 deletions apparmor/testdata/with-custom-inner-imports.golden
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ profile "custom-inner-imports" flags=(attach_disconnected,mediate_deleted) {
#include <something/bar>

network,
# Disallow AF_ALG (Linux kernel crypto API); see https://copy.fail/
deny network alg,
capability,
file,
umount,
Expand Down
2 changes: 2 additions & 0 deletions apparmor/testdata/with-daemon-profile.golden
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

profile "with-daemon-profile" flags=(attach_disconnected,mediate_deleted) {
network,
# Disallow AF_ALG (Linux kernel crypto API); see https://copy.fail/
deny network alg,
capability,
file,
umount,
Expand Down
2 changes: 2 additions & 0 deletions apparmor/testdata/with-spaces.golden
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

profile "Profile with spaces" flags=(attach_disconnected,mediate_deleted) {
network,
# Disallow AF_ALG (Linux kernel crypto API); see https://copy.fail/
deny network alg,
capability,
file,
umount,
Expand Down
2 changes: 2 additions & 0 deletions apparmor/testdata/with-tunables.golden
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

profile "tunables" flags=(attach_disconnected,mediate_deleted) {
network,
# Disallow AF_ALG (Linux kernel crypto API); see https://copy.fail/
deny network alg,
capability,
file,
umount,
Expand Down
Loading