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 -}}
|
2024-06-29 23:33:45 +02:00
|
|
|
{{- .Padding 2 -}}
|
2024-04-17 19:02:41 +02:00
|
|
|
{{- .Path -}}
|
|
|
|
{{- " " -}}
|
2024-06-29 23:33:45 +02:00
|
|
|
{{- .Padding 3 -}}
|
2024-04-23 22:27:35 +02:00
|
|
|
{{- range .Access -}}
|
|
|
|
{{- . -}}
|
|
|
|
{{- end -}}
|
2024-04-17 19:02:41 +02:00
|
|
|
{{- with .Target -}}
|
|
|
|
{{ " -> " }}{{ . }}
|
|
|
|
{{- end -}}
|
|
|
|
{{- "," -}}
|
2024-06-29 23:33:45 +02:00
|
|
|
{{- .Padding 4 -}}
|
2024-04-17 19:02:41 +02:00
|
|
|
{{- template "comment" . -}}
|
2024-05-25 22:56:28 +02:00
|
|
|
{{- end -}}
|
|
|
|
|
|
|
|
{{- define "link" -}}
|
|
|
|
{{- template "qualifier" . -}}
|
|
|
|
{{- if .Owner -}}
|
|
|
|
{{- "owner " -}}
|
|
|
|
{{- end -}}
|
2024-06-29 23:33:45 +02:00
|
|
|
{{- .Padding 2 -}}
|
2024-05-25 22:56:28 +02:00
|
|
|
{{- "link " -}}
|
|
|
|
{{- if .Subset -}}
|
|
|
|
{{- "subset " -}}
|
|
|
|
{{- end -}}
|
2024-06-29 23:33:45 +02:00
|
|
|
{{- .Padding 3 -}}
|
2024-05-25 22:56:28 +02:00
|
|
|
{{- .Path -}}
|
|
|
|
{{- " " -}}
|
|
|
|
{{- with .Target -}}
|
2024-05-25 23:16:31 +02:00
|
|
|
{{ "-> " }}{{ . }}
|
2024-05-25 22:56:28 +02:00
|
|
|
{{- end -}}
|
|
|
|
{{- "," -}}
|
2024-06-29 23:33:45 +02:00
|
|
|
{{- .Padding 4 -}}
|
2024-05-25 22:56:28 +02:00
|
|
|
{{- template "comment" . -}}
|
|
|
|
{{- end -}}
|