mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-21 18:10:30 +00:00
Improve pledge() and unveil() further
- Fix getpriority() - Add AT_MINSIGSTKSZ - Fix bugs in BPF code - Show more stuff in printargs.com - Write manual test for pledge.com - pledge() now generates tinier BPF code - Have pledge("exec") only enable execve() - Fix pledge.com chroot setuid functionality - Improve pledge.com unveiling of ape loader
This commit is contained in:
parent
31ac58a57b
commit
f968e2a726
17 changed files with 722 additions and 412 deletions
|
@ -3930,12 +3930,13 @@ UNIX MODULE
|
|||
|
||||
exec
|
||||
|
||||
Allows execve, access, faccessat, openat(O_RDONLY).
|
||||
Allows execve.
|
||||
|
||||
If the executable in question needs a loader, then you may need
|
||||
"prot_exec" too. With APE, security will be stronger if you
|
||||
If the executable in question needs a loader, then you will need
|
||||
"rpath prot_exec" too. With APE, security is strongest when you
|
||||
assimilate your binaries beforehand, using the --assimilate flag,
|
||||
or the o//tool/build/assimilate.com program.
|
||||
or the o//tool/build/assimilate.com program. On OpenBSD this is
|
||||
mandatory.
|
||||
|
||||
prot_exec
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue