2023-08-18 00:11:11 +02:00
|
|
|
{{- /* apparmor.d - Full set of apparmor profiles */ -}}
|
2024-02-07 00:16:21 +01:00
|
|
|
{{- /* Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io> */ -}}
|
2023-08-18 00:11:11 +02:00
|
|
|
{{- /* SPDX-License-Identifier: GPL-2.0-only */ -}}
|
|
|
|
|
2024-04-23 22:27:35 +02:00
|
|
|
{{- define "apparmor" -}}
|
|
|
|
|
|
|
|
{{- with .Comments -}}
|
|
|
|
{{- range . -}}
|
|
|
|
{{- template "comment" . -}}
|
|
|
|
{{- "\n" -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- "\n" -}}
|
|
|
|
{{- end -}}
|
|
|
|
|
|
|
|
{{- with .Abi -}}
|
|
|
|
{{- range . -}}
|
|
|
|
{{- template "abi" . -}}
|
|
|
|
{{- "\n" -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- "\n" -}}
|
|
|
|
{{- end -}}
|
|
|
|
|
|
|
|
{{- with .Aliases -}}
|
|
|
|
{{- range . -}}
|
|
|
|
{{- template "alias" . -}}
|
|
|
|
{{- "\n" -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- "\n" -}}
|
|
|
|
{{- end -}}
|
|
|
|
|
|
|
|
{{- with .Includes -}}
|
|
|
|
{{- range . -}}
|
|
|
|
{{- template "include" . -}}
|
|
|
|
{{- "\n" -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- "\n" -}}
|
|
|
|
{{- end -}}
|
|
|
|
|
|
|
|
{{- range .Variables -}}
|
|
|
|
{{- template "variable" . -}}
|
|
|
|
{{- "\n" -}}
|
|
|
|
{{- end -}}
|
|
|
|
|
|
|
|
{{- range .Profiles -}}
|
|
|
|
{{- template "profile" . -}}
|
|
|
|
{{- "\n" -}}
|
|
|
|
{{- end -}}
|
|
|
|
|
2024-02-24 18:01:03 +01:00
|
|
|
{{- end -}}
|