|
|
Subscribe / Log in / New account

Deferring seccomp decisions to user space

Deferring seccomp decisions to user space

Posted Jun 2, 2018 20:07 UTC (Sat) by TheJH (subscriber, #101155)
In reply to: Deferring seccomp decisions to user space by smurf
Parent article: Deferring seccomp decisions to user space

But doing that reasonably safely (without race conditions) is a big PITA, especially if the sandboxed process is multithreaded. If you look at the path argument of an open() call and use that to determine whether the call should be allowed, it's probably safest to do the actual open() in the supervisor process and then install the resulting FD in the sandboxed process.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds