cache ps_auxinfo inside the kernel, to avoid codedump() reading the
authormbuhl <mbuhl@openbsd.org>
Wed, 23 Nov 2022 11:00:27 +0000 (11:00 +0000)
committermbuhl <mbuhl@openbsd.org>
Wed, 23 Nov 2022 11:00:27 +0000 (11:00 +0000)
commit4ec5462fec100929e25f9985f4cfd6b1e6983e64
treed15c13dfc1d522fd52548a133d787cb7d2f0f51d
parent4ed111a22e4101d25528157a72648dad7045a08e
cache ps_auxinfo inside the kernel, to avoid codedump() reading the
copy on userland stack which points at an illicit region.
ok kettenis, deraadt
sys/kern/exec_elf.c
sys/kern/kern_exec.c
sys/sys/proc.h