PostgreSQL considers seccomp() filters
PostgreSQL considers seccomp() filters
Posted Oct 2, 2019 23:44 UTC (Wed) by roc (subscriber, #30627)In reply to: PostgreSQL considers seccomp() filters by mjg59
Parent article: PostgreSQL considers seccomp() filters
You probably know this but I haven't seen it mentioned: Firefox and Chrome sandboxes implement path filtering by having seccomp filters trigger SIGSYS on path-related syscalls, and having the signal handler fake the syscall using IPC to a trusted broker process.
It's not great for performance, but a pledge-like sandboxing library/API can take this approach.