Skip to content
Snippets Groups Projects
Commit d0a356f2 authored by Simon McVittie's avatar Simon McVittie
Browse files

apparmor/automated: Avoid overwriting a production AppArmor profile


Loading these profiles would overwrite the real Telepathy profiles.
Prefix them with a distinctive path owned by apertis-tests instead,
so that they cannot cause false positives or false negatives in
tests that exercise Telepathy.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
Reviewed-by: default avatarEmanuele Aina <emanuele.aina@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D6919
parent 6a007ac5
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
#include <tunables/global>
/usr/lib/telepathy/mission-control-5 {
/usr/lib/apertis-tests/apparmor/automated/telepathy/mission-control-5 {
#include <abstractions/base>
#include <abstractions/nameservice>
#include <abstractions/user-tmp>
......@@ -36,7 +36,7 @@
}
# This could be broken out into the various binaries, but for now, ok
/usr/lib/telepathy/telepathy-* {
/usr/lib/apertis-tests/apparmor/automated/telepathy/telepathy-* {
#include <abstractions/base>
#include <abstractions/dbus-session>
#include <abstractions/p11-kit>
......
......@@ -3,7 +3,7 @@
#include <tunables/global>
/usr/lib/telepathy/mission-control-5 {
/usr/lib/apertis-tests/apparmor/automated/telepathy/mission-control-5 {
#include <abstractions/base>
#include <abstractions/nameservice>
#include <abstractions/user-tmp>
......@@ -32,7 +32,7 @@
}
# This could be broken out into the various binaries, but for now, ok
/usr/lib/telepathy/telepathy-* {
/usr/lib/apertis-tests/apparmor/automated/telepathy/telepathy-* {
#include <abstractions/base>
#include <abstractions/dbus-session>
#include <abstractions/p11-kit>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment