Up to [local] / src / usr.bin / env
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_5_9_BASE
Revision 1.16 / (download) - annotate - [select for diffs], Sat Oct 10 21:19:14 2015 UTC (8 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.15: +4 -1 lines
Diff to previous 1.15 (colored)
env(1) is obviously a program falling into pledge "stdio exec". It does stdio, and it does a raw execve(). It is so obvious. It gets only _exit(2), kbind(2), and 46 system calls -- over half of which are deeply gutted in their functionality to only serve narrow libc needs for "stdio (includes malloc)". the other 161 system calls kill it.