Module Name: src Committed By: christos Date: Thu Mar 23 21:59:55 UTC 2017
Modified Files: src/sys/kern: kern_sig.c kern_syscall.c sys_process.c src/sys/sys: ptrace.h Log Message: kern/5201{2,8,9}: Fix PT_SYSCALL stopping. 1. Supply the siginfo we expect TRAP_SC{E,X} to process_stoptrace() and set it. 2. Change the second argument of proc_stop from notify, to now meaning that we want to stop right now. Wait in process_stoptrace until that has happened. 3. While here, fix the locking order in process_stoptrace(). To generate a diff of this commit: cvs rdiff -u -r1.332 -r1.333 src/sys/kern/kern_sig.c cvs rdiff -u -r1.14 -r1.15 src/sys/kern/kern_syscall.c cvs rdiff -u -r1.176 -r1.177 src/sys/kern/sys_process.c cvs rdiff -u -r1.58 -r1.59 src/sys/sys/ptrace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.