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 */ -}}
|
|
|
|
|
2023-09-25 01:15:51 +02:00
|
|
|
{{- range .Abi -}}
|
|
|
|
{{- if .IsMagic -}}
|
|
|
|
{{ "abi <" }}{{ .Path }}{{ ">,\n" }}
|
|
|
|
{{- else -}}
|
|
|
|
{{ "abi \"" }}{{ .Path }}{{ "\",\n" }}
|
|
|
|
{{- end }}
|
|
|
|
{{ end -}}
|
|
|
|
|
|
|
|
{{- range .Aliases -}}
|
|
|
|
{{ "alias " }}{{ .Path }}{{ " -> " }}{{ .RewrittenPath }}{{ ",\n" }}
|
|
|
|
{{ end -}}
|
|
|
|
|
|
|
|
{{- range .Includes -}}
|
2023-09-29 21:28:56 +02:00
|
|
|
{{ template "include" . }}{{ "\n" }}
|
2023-09-25 01:15:51 +02:00
|
|
|
{{ end -}}
|
|
|
|
|
|
|
|
{{- range .Variables -}}
|
2023-10-01 20:00:39 +02:00
|
|
|
{{ "@{" }}{{ .Name }}{{ "} = " }}{{ join .Values }}
|
2023-09-25 01:15:51 +02:00
|
|
|
{{ end -}}
|
|
|
|
|
2024-04-15 15:09:04 +02:00
|
|
|
{{- range .Profiles -}}
|
|
|
|
{{ template "profile" . }}
|
2024-02-24 18:01:03 +01:00
|
|
|
{{- end -}}
|