Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   kamil
Date:           Thu May 14 13:32:15 UTC 2020

Modified Files:
        src/lib/libc/sys: ptrace.2
        src/sys/kern: kern_sig.c sys_ptrace_common.c
        src/sys/sys: ptrace.h signalvar.h

Log Message:
Introduce new ptrace(2) operations: PT_SET_SIGPASS and PT_GET_SIGPASS

They deliver the logic of bypassing selected signals directly to the
debuggee, without informing the debugger.

This can be used to implement the QPassSignals GDB/LLDB protocol.

This call can be useful to avoid signal races in ATF ptrace tests.


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/lib/libc/sys/ptrace.2
cvs rdiff -u -r1.388 -r1.389 src/sys/kern/kern_sig.c
cvs rdiff -u -r1.79 -r1.80 src/sys/kern/sys_ptrace_common.c
cvs rdiff -u -r1.69 -r1.70 src/sys/sys/ptrace.h
cvs rdiff -u -r1.101 -r1.102 src/sys/sys/signalvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index