Module Name: src Committed By: christos Date: Wed May 25 17:43:58 UTC 2016
Modified Files: src/sys/kern: kern_pax.c kern_proc.c subr_copy.c sys_process.c src/sys/rump/librump/rumpkern: rumpcopy.c src/sys/sys: pax.h src/sys/uvm: uvm_extern.h uvm_io.c uvm_map.c uvm_map.h Log Message: Introduce security.pax.mprotect.ptrace sysctl which can be used to bypass mprotect settings so that debuggers can write to the text segment of traced processes so that they can insert breakpoints. Turned off by default. Ok: chuq (for now) To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sys/kern/kern_pax.c cvs rdiff -u -r1.195 -r1.196 src/sys/kern/kern_proc.c cvs rdiff -u -r1.6 -r1.7 src/sys/kern/subr_copy.c cvs rdiff -u -r1.168 -r1.169 src/sys/kern/sys_process.c cvs rdiff -u -r1.21 -r1.22 src/sys/rump/librump/rumpkern/rumpcopy.c cvs rdiff -u -r1.22 -r1.23 src/sys/sys/pax.h cvs rdiff -u -r1.196 -r1.197 src/sys/uvm/uvm_extern.h cvs rdiff -u -r1.27 -r1.28 src/sys/uvm/uvm_io.c cvs rdiff -u -r1.336 -r1.337 src/sys/uvm/uvm_map.c cvs rdiff -u -r1.72 -r1.73 src/sys/uvm/uvm_map.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.