Skip to content

seccomp: add Linux x86-64 syscall filtering - #44

Open
VasilyZa wants to merge 1 commit into
mainfrom
xiaobai/seccomp-bpf
Open

VasilyZa wants to merge 1 commit into
mainfrom
xiaobai/seccomp-bpf

Conversation

@VasilyZa

Copy link
Copy Markdown
Contributor

Summary

  • Add native x86-64 syscall filtering through seccomp(2) and prctl, backed by a classic BPF verifier and interpreter.
  • Preserve filters across fork, clone, and exec. Implement thread-group synchronization, filter actions, and SIGSYS delivery. Expose filter status and available actions through /proc.
  • Enable CONFIG_SECCOMP_FILTER by default and add exported UAPI headers, documentation, and host and guest ABI tests.

Validation

  • The default kernel build, ABI layout, UAPI header export, Kbuild source layout, and standalone test ownership checks passed.
  • All 18 test-host-smoke suites and test-tools passed.
  • The ABI probe passed all 14 cases on Linux and all 15 cases in a two-vCPU ReliefNT QEMU/KVM guest.
  • The separate syscall_io host fixture fails to link pty_input_ready on both the main baseline (b63f26e) and this branch.
  • VMware validation is pending.

Validate and interpret classic BPF filters at native syscall entry. Support filter inheritance, thread-group synchronization, SIGSYS delivery and Linux-compatible action probing.

Add UAPI headers, proc status, documentation and standalone host and guest ABI probes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant