News for hackers. Stuff that matters.
Re:VDSO, 32-bit time, and seccomp by the8472 on Saturday August 03, 2019 @02:08PM (#20601751)
Afaik it's not even possible to implement a pledge-like wrapper around seccomp because seccomp is inherited while pledge leaves the responsibility of securing itself to each process.
Re:VDSO, 32-bit time, and seccomp by X-Istence on Sunday August 04, 2019 @02:57AM (#20604845)
> Allows a process to call execve(2). Coupled with the proc promise, this allows a process to fork and execute another program. If execpromises has been previously set the new program begins with those promises, unless setuid/setgid bits are set in which case execution is blocked with EACCES. Otherwise the new program starts running without pledge active, and hopefully makes a new pledge soon.

https://man.openbsd.org/pledge

Pledge can be inherited by child processes too.