From 3a8ae1b0bcd3e2b271a8e9e0a65db65ae8ac32a5 Mon Sep 17 00:00:00 2001 From: bptato Date: Sat, 17 May 2025 20:59:40 +0200 Subject: Update docs --- lib/chaseccomp/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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 -- cgit