2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-23 10:37:27 +00:00

30 lines
530 B
Plaintext
Raw Permalink Normal View History

#
# 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###
# AppArmor policy for ###NAME###
#include <tunables/global>
###VAR###
###PROFILEATTACH### {
#include <abstractions/base>
/ r,
/**/ r,
/usr/** r,
###ABSTRACTIONS###
###POLICYGROUPS###
###READS###
###WRITES###
}
# vim:ft=apparmor