CVSROOT: /cvs Module name: src Changes by: guent...@cvs.openbsd.org 2014/03/25 23:23:42
Modified files: sys/sys : proc.h sysctl.h ktrace.h sys/kern : exec_elf.c init_main.c kern_exec.c kern_exit.c kern_fork.c kern_ktrace.c kern_proc.c kern_sig.c kern_xxx.c sys_process.c sys/uvm : uvm_unix.c sys/compat/common: compat_util.c compat_util.h sys/compat/linux: linux_cdrom.c linux_exec.c linux_file.c linux_file64.c linux_hdio.c linux_ipc.c linux_misc.c linux_signal.c linux_socket.c linux_termios.c sys/dev : systrace.c sys/arch/alpha/alpha: machdep.c trap.c sys/arch/amd64/amd64: machdep.c trap.c sys/arch/arm/arm: sig_machdep.c syscall.c sys/arch/hppa/hppa: machdep.c trap.c sys/arch/hppa64/hppa64: machdep.c trap.c sys/arch/i386/i386: linux_machdep.c machdep.c trap.c sys/arch/m88k/m88k: sig_machdep.c trap.c sys/arch/macppc/macppc: machdep.c sys/arch/mips64/mips64: sendsig.c trap.c sys/arch/powerpc/powerpc: trap.c sys/arch/sh/sh : sh_machdep.c trap.c sys/arch/socppc/socppc: machdep.c sys/arch/solbourne/solbourne: machdep.c trap.c sys/arch/sparc/sparc: machdep.c trap.c sys/arch/sparc64/sparc64: machdep.c trap.c sys/arch/vax/vax: machdep.c trap.c Log message: Move p_emul and p_sigcode from proc to process. Tweak the handling of ktrace EMUL when changing ktracing: only generate one per process (not one per thread) and pass the correct proc pointer down to the VFS layer. Permit generating of NAMI and CSW records inside ktrace(2) itself. ok deraadt@ millert@