Module Name:    src
Committed By:   kamil
Date:           Mon Mar  5 11:24:35 UTC 2018

Modified Files:
        src/doc: CHANGES.prev
        src/lib/libc/sys: ptrace.2
        src/sys/kern: sys_ptrace_common.c
        src/sys/sys: ptrace.h
        src/tests/lib/libc/sys: t_ptrace_wait.c

Log Message:
Remove PT_GET_SIGMASK / PT_SET_SIGMASK

These operations cloned Linux's specific PTRACE_GETSIGMASK / PTRACE_SETSIGMASK.
This feature was useful in applications like rr/criu/reptyr-like, where
the ptrace(2) interface is abused for the purpose of constructing an arbitrary
process. It's not reliable and not portable. For the NetBSD case it will be
better to invent something dedicated for serializing and deserializing a
process with threads.

Noted on tech-toolchain@ and blog entry

"LLDB restoration and return to ptrace(2)"
https://blog.netbsd.org/tnf/entry/lldb_restoration_and_return_to


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/doc/CHANGES.prev
cvs rdiff -u -r1.67 -r1.68 src/lib/libc/sys/ptrace.2
cvs rdiff -u -r1.34 -r1.35 src/sys/kern/sys_ptrace_common.c
cvs rdiff -u -r1.62 -r1.63 src/sys/sys/ptrace.h
cvs rdiff -u -r1.22 -r1.23 src/tests/lib/libc/sys/t_ptrace_wait.c

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

Reply via email to