Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libct/seccomp: enable seccomp binary tree optimization #3405

Merged
merged 1 commit into from
Nov 1, 2022

Commits on Oct 31, 2022

  1. 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 <kolyshkin@gmail.com>
    kolyshkin committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    b265d12 View commit details
    Browse the repository at this point in the history