NetBSD/src RsVpRfjsys/kern sys_ptrace_common.c

   Relax prohibition of Program Counter set to 0x0 in ptrace(2)

   In PT_CONTINUE, PT_SYSCALL and PT_DETACH the 3rd argument of ptrace(2)
   allows to set PC. It used to be allowed to set PC to 0x0 without
   restrictions, later prohibited unconditionally.

   Change the condition and make it depending on vm.user_va0_disable. Whenever
   the VA 0 mapping is disallowed, reject setting PC to 0x0.

   While there comment truncated and empty transfers in PT_READ/PT_WRITE
   and PT_IO.
VersionDeltaFile
1.54+25-22sys/kern/sys_ptrace_common.c
+25-221 files

UnifiedSplitRaw