[lkml]   [2020]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v5 seccomp 0/5]seccomp: Add bitmap cache of constant allow filter results
On Sun, 11 Oct 2020 10:47:41 -0500, YiFei Zhu wrote:
> Alternative:
> Major differences from the linked alternative by Kees:
> * No x32 special-case handling -- not worth the complexity
> * No caching of denylist -- not worth the complexity
> * No seccomp arch pinning -- I think this is an independent feature
> * The bitmaps are part of the filters rather than the task.
> [...]

Applied to for-next/seccomp, thanks! I left off patch 5 for now until
we sort out the rest of the SECCOMP_FILTER architectures, and tweaked
patch 3 to include the architecture names.

[1/4] seccomp/cache: Lookup syscall allowlist bitmap for fast path
[2/4] seccomp/cache: Add "emulator" to check if filter is constant allow
[3/4] x86: Enable seccomp architecture tracking
[4/4] selftests/seccomp: Compare bitmap vs filter overhead

Kees Cook

 \ /
  Last update: 2020-10-27 20:18    [W:0.178 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site