Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libct/seccomp: enable binary tree optimization
This makes libseccomp produce a BPF which uses a binary tree for syscalls (instead of linear set of if statements). It does not make sense to enable binary tree for small set of rules, so don't do that if we have less than 8 syscalls (the number is chosen arbitrarily). Signed-off-by: Kir Kolyshkin <[email protected]>
- Loading branch information