From c47ed1d2e54eb225d01dae7e9646e8d9f67993ee Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Wed, 9 May 2018 21:57:37 +0200 Subject: [PATCH] add more rule types to test/cleanprof.* profile --- utils/test/cleanprof_test.in | 5 +++++ utils/test/cleanprof_test.out | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/utils/test/cleanprof_test.in b/utils/test/cleanprof_test.in index e26462430..6d76b6285 100644 --- a/utils/test/cleanprof_test.in +++ b/utils/test/cleanprof_test.in @@ -42,6 +42,11 @@ ^foo, # hat declarations are obsolete and will be removed when aa-cleanprof or aa-logprof writes the profile + mount options=(rw,suid) /c -> /3, + + pivot_root oldroot=/mnt/root/old/, + + unix shutdown addr=@HypotheticalServiceDaemon, link subset /alpha/beta -> /tmp/**, diff --git a/utils/test/cleanprof_test.out b/utils/test/cleanprof_test.out index 09acc466e..e4d5ded9d 100644 --- a/utils/test/cleanprof_test.out +++ b/utils/test/cleanprof_test.out @@ -16,9 +16,14 @@ alias /foo -> /bar, dbus send bus=session, + mount options=(rw,suid) /c -> /3, + signal set=(abrt alrm bus chld fpe hup ill int kill pipe quit segv stkflt term trap usr1 usr2), + pivot_root oldroot=/mnt/root/old/, + unix (receive) type=dgram, + unix shutdown addr=@HypotheticalServiceDaemon, link subset /alpha/beta -> /tmp/**,