2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 22:05:27 +00:00

Update and extend cleanprof tests for link rules

This commit is contained in:
Christian Boltz
2019-04-22 23:41:08 +02:00
parent aa1e315e77
commit 09a761ed80
2 changed files with 3 additions and 1 deletions

View File

@@ -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/**,

View File

@@ -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,