Up to [local] / src / usr.bin / kdump
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_6_3
Revision 1.24 / (download) - annotate - [select for diffs], Tue Dec 12 01:12:34 2017 UTC (6 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE,
OPENBSD_6_3
Changes since 1.23: +6 -6 lines
Diff to previous 1.23 (colored)
pledge()'s 2nd argument becomes char *execpromises, which becomes the pledge for a new execve image immediately upon start. Also introduces "error" which makes violations return -1 ENOSYS instead of killing the program ("error" may not be handed to a setuid/setgid program, which may be missing/ignoring syscall return values and would continue with inconsistant state) Discussion with many florian has used this to improve the strictness of a daemon