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" . -}}
|
2024-05-25 22:56:28 +02:00
|
|
|
{{- end -}}
|
|
|
|
|
|
|
|
{{- define "link" -}}
|
|
|
|
{{- template "qualifier" . -}}
|
|
|
|
{{- if .Owner -}}
|
|
|
|
{{- "owner " -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- "link " -}}
|
|
|
|
{{- if .Subset -}}
|
|
|
|
{{- "subset " -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- .Path -}}
|
|
|
|
{{- " " -}}
|
|
|
|
{{- with .Target -}}
|
|
|
|
{{ " -> " }}{{ . }}
|
|
|
|
{{- end -}}
|
|
|
|
{{- "," -}}
|
|
|
|
{{- template "comment" . -}}
|
|
|
|
{{- end -}}
|