aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-05-17 20:59:40 +0200
committerbptato <nincsnevem662@gmail.com>2025-05-17 20:59:40 +0200
commit3a8ae1b0bcd3e2b271a8e9e0a65db65ae8ac32a5 (patch)
tree1b5508b5fd5e4e404cf72629c858f58629f13fc9
parent1be4f6a0239a334182a6989d1e5389935eecb5ae (diff)
downloadchawan-master.tar.gz
Update docsHEADmaster
-rw-r--r--lib/chaseccomp/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chaseccomp/README.md b/lib/chaseccomp/README.md
index d04704d9..5f9d342e 100644
--- a/lib/chaseccomp/README.md
+++ b/lib/chaseccomp/README.md
@@ -24,6 +24,9 @@ ifdef. This lets us use the same filters for all platforms - if it
doesn't support a syscall, its "allow" rule just doesn't get compiled
in.
+Ideally, the filter should be constructed by sorting the syscalls in
+order of usage frequency and then checking each syscall with ifeqdef.
+
Also note, the following statement is prepended to every filter, with an
automatically determined audit arch nr:
@@ -32,9 +35,6 @@ load arch
ifne {audit arch nr of computer} deny
```
-Ideally, the filter should be constructed by sorting the syscalls in
-order of usage frequency and then checking each syscall with ifeqdef.
-
The assembler runs in three steps:
* gen_defs generates a C file from `$<.chasc` (and any chasc file it