examples/apache: manual formatting of seccomp-bpf policy
authorRobert Swiecki <robert@swiecki.net>
Fri, 7 Jul 2017 00:36:23 +0000 (02:36 +0200)
committerRobert Swiecki <robert@swiecki.net>
Fri, 7 Jul 2017 00:36:23 +0000 (02:36 +0200)
configs/apache.cfg

index 1e65a7134b4b0d2a8bafe7fa47ce0ff297a51063..8c46851097ae59a0ae612f4427028ab647fef4f5 100644 (file)
@@ -132,13 +132,12 @@ mount {
 }
 
 seccomp_string: "
-       POLICY example {
-    KILL
-    {
-        ptrace,
+    POLICY example {
+        KILL {
+            ptrace,
             process_vm_readv,
             process_vm_writev
-    }
+        }
        }
        USE example DEFAULT ALLOW
 "