CVSROOT: /cvs Module name: src Changes by: guent...@cvs.openbsd.org 2023/07/09 21:31:58
Modified files: sys/kern : kern_exec.c sys/sys : proc.h Log message: Add PS_NOBTCFI, a per-process flag indicating that Branch Target Control Flow Integrity has been disabled for the process. At exec-time, set that flag iff EXEC_NOBTCFI is passed from the ELF exec bits (which set it based on presence of a PT_OPENBSD_NOBTCFI segment). This will be used by the amd64 code. kern_exec.c part by kettenis@ ok guenther@ deraadt@