mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-07 01:41:00 +01:00
27 lines
497 B
Text
27 lines
497 B
Text
![]() |
#
|
||
|
# Example usage for a program named 'foo' which is installed in /opt/foo
|
||
|
# $ aa-easyprof --template=sandbox \
|
||
|
# --template-var="@{APPNAME}=foo" \
|
||
|
# --policy-groups=opt-application,user-application \
|
||
|
# /opt/foo/bin/foo
|
||
|
#
|
||
|
###ENDUSAGE###
|
||
|
# vim:syntax=apparmor
|
||
|
# AppArmor policy for ###NAME###
|
||
|
|
||
|
#include <tunables/global>
|
||
|
|
||
|
###VAR###
|
||
|
|
||
|
###BINARY### {
|
||
|
#include <abstractions/base>
|
||
|
|
||
|
###ABSTRACTIONS###
|
||
|
|
||
|
###POLICYGROUPS###
|
||
|
|
||
|
###READS###
|
||
|
|
||
|
###WRITES###
|
||
|
}
|