Skip to content(if available)orjump to list(if available)

Reliable system call interception

Reliable system call interception

1 comments

·January 5, 2025

IshKebab

I've looked into using Seccomp for this before for sandboxing. It was kind of a mess. Very awkward to work with. Especially for syscalls where the information you want isn't directly in the parameters - e.g. for strings. You have to do some crazy stuff to make that work.

Especially annoying because it only supports cBPF (Classic BPF) which is very limited compared to eBPF. Apparently they aren't ever going to add eBPF to more things since it is such a security risk.

You may want to look into this if your use-case is not security sensitive: https://docs.kernel.org/admin-guide/syscall-user-dispatch.ht...