Source-Changes archive

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

CVS commit: [netbsd-8] src



Module Name:    src
Committed By:   martin
Date:           Tue Mar  6 09:52:09 UTC 2018

Modified Files:
        src/doc [netbsd-8]: CHANGES
        src/lib/libc/sys [netbsd-8]: ptrace.2
        src/sys/kern [netbsd-8]: sys_ptrace_common.c
        src/sys/sys [netbsd-8]: ptrace.h
        src/tests/lib/libc/sys [netbsd-8]: t_ptrace_wait.c

Log Message:
Pull up following revision(s) (requested by kamil in ticket #602):
        doc/CHANGES{,.prev}: revision 1.138
        sys/sys/ptrace.h: revision 1.63
        lib/libc/sys/ptrace.2: revision 1.68
        sys/kern/sys_ptrace_common.c: revision 1.35 (via patch)
        tests/lib/libc/sys/t_ptrace_wait.c: revision 1.23

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.2286.2.2 -r1.2286.2.3 src/doc/CHANGES
cvs rdiff -u -r1.67 -r1.67.2.1 src/lib/libc/sys/ptrace.2
cvs rdiff -u -r1.22 -r1.22.2.1 src/sys/kern/sys_ptrace_common.c
cvs rdiff -u -r1.60 -r1.60.6.1 src/sys/sys/ptrace.h
cvs rdiff -u -r1.9.2.1 -r1.9.2.2 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.




Home | Main Index | Thread Index | Old Index