feat(aa): refractor apparmor templates to the last changes.
This commit is contained in:
parent
5483668574
commit
120db93396
15 changed files with 236 additions and 152 deletions
12
pkg/aa/templates/rule/alias.j2
Normal file
12
pkg/aa/templates/rule/alias.j2
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{{- /* apparmor.d - Full set of apparmor profiles */ -}}
|
||||
{{- /* Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io> */ -}}
|
||||
{{- /* SPDX-License-Identifier: GPL-2.0-only */ -}}
|
||||
|
||||
{{- define "alias" -}}
|
||||
{{- "alias " -}}
|
||||
{{- .Path -}}
|
||||
{{- " -> " -}}
|
||||
{{- .RewrittenPath -}}
|
||||
{{- "," -}}
|
||||
{{- template "comment" . -}}
|
||||
{{- end -}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue