Commit b21da7a8 authored by Luis Hector Chavez's avatar Luis Hector Chavez
Browse files

tools/compile_seccomp_policy: Coalesce contiguous syscall actions

This change introduces SyscallPolicyRange, which can coalesce contiguous
syscalls with identical actions into a single range. This produces much
more compact BSTs, which in turn are more efficient.

Bug: chromium:856315
Test: ./tools/compiler_unittest.py

Change-Id: I5b4b1b41d08bf517c194cd49a9752cf5d7bcb013
parent 7a21ffee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment