Static binaries which do not call execve() were not calling
authorderaadt <deraadt@openbsd.org>
Thu, 12 Oct 2023 16:37:05 +0000 (16:37 +0000)
committerderaadt <deraadt@openbsd.org>
Thu, 12 Oct 2023 16:37:05 +0000 (16:37 +0000)
commit15330de0e9e18a84264594ec9595f478ea3a3d8a
tree05bf17fe47218fd651e79b6b1f293d72f12faefd
parente97dbaaa05dba504f48924634c852816625a689f
Static binaries which do not call execve() were not calling
pinsyscall(SYS_execve, ...).  Upon review, this is a fairly small
set of programs which either pledge() aggressively or don't usually
operate in a risky operating environment.  We now point at a location
which is definately not a "syscall" instruction.
ok kettenis
lib/libc/dlfcn/init.c