From 09a761ed8055c17696c43889719736bf03e86c6d Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Mon, 22 Apr 2019 23:41:08 +0200 Subject: [PATCH] Update and extend cleanprof tests for link rules --- utils/test/cleanprof_test.in | 1 + utils/test/cleanprof_test.out | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/test/cleanprof_test.in b/utils/test/cleanprof_test.in index b50c97edd..c215f0484 100644 --- a/utils/test/cleanprof_test.in +++ b/utils/test/cleanprof_test.in @@ -53,6 +53,7 @@ pivot_root oldroot=/mnt/root/old/, + deny owner link /some/thing -> /foo/bar , unix shutdown addr=@HypotheticalServiceDaemon, link subset /alpha/beta -> /tmp/**, diff --git a/utils/test/cleanprof_test.out b/utils/test/cleanprof_test.out index 48b2eea1d..e327cd907 100644 --- a/utils/test/cleanprof_test.out +++ b/utils/test/cleanprof_test.out @@ -32,10 +32,11 @@ alias /foo -> /bar, unix (receive) type=dgram, unix shutdown addr=@HypotheticalServiceDaemon, - link subset /alpha/beta -> /tmp/**, + deny owner link /some/thing -> /foo/bar, allow /home/*/** r, allow /home/foo/** w, + link subset /alpha/beta -> /tmp/**, change_profile,