aboutsummaryrefslogtreecommitdiff
path: root/test/testdata/apparmor_test_deny_write
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/apparmor_test_deny_write')
-rw-r--r--test/testdata/apparmor_test_deny_write10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/testdata/apparmor_test_deny_write b/test/testdata/apparmor_test_deny_write
new file mode 100644
index 000000000..55311aaf5
--- /dev/null
+++ b/test/testdata/apparmor_test_deny_write
@@ -0,0 +1,10 @@
+#include <tunables/global>
+
+profile apparmor-test-deny-write flags=(attach_disconnected) {
+ #include <abstractions/base>
+
+ file,
+
+ # Deny all file writes.
+ deny /** w,
+}