2024-04-17 19:02:41 +02:00
|
|
|
{{- /* apparmor.d - Full set of apparmor profiles */ -}}
|
|
|
|
{{- /* Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io> */ -}}
|
|
|
|
{{- /* SPDX-License-Identifier: GPL-2.0-only */ -}}
|
|
|
|
|
|
|
|
{{- define "file" -}}
|
|
|
|
{{- template "qualifier" . -}}
|
|
|
|
{{- if .Owner -}}
|
|
|
|
{{- "owner " -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- .Path -}}
|
|
|
|
{{- " " -}}
|
|
|
|
{{- with .Padding -}}
|
|
|
|
{{ . }}
|
|
|
|
{{- end -}}
|
2024-04-23 22:27:35 +02:00
|
|
|
{{- range .Access -}}
|
|
|
|
{{- . -}}
|
|
|
|
{{- end -}}
|
2024-04-17 19:02:41 +02:00
|
|
|
{{- with .Target -}}
|
|
|
|
{{ " -> " }}{{ . }}
|
|
|
|
{{- end -}}
|
|
|
|
{{- "," -}}
|
|
|
|
{{- template "comment" . -}}
|
|
|
|
{{- end -}}
|