mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00

apparmor packaging. These were originally 0030-easyprof-sdk.patch and 0037-easyprof-sdk-pt2.patch. Jamie posted an updated 0030-easyprof-sdk_v2.patch and I squashed both patches into one commit. Acked-By: Jamie Strandboge <jamie@canonical.com>
29 lines
534 B
Text
29 lines
534 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###
|
|
|
|
###PROFILEATTACH### {
|
|
#include <abstractions/base>
|
|
/ r,
|
|
/**/ r,
|
|
/usr/** r,
|
|
|
|
###ABSTRACTIONS###
|
|
|
|
###POLICYGROUPS###
|
|
|
|
###READS###
|
|
|
|
###WRITES###
|
|
}
|