forked from OSchip/llvm-project
Remove more references to ptrace_pt_{g,s}et_sigmask
These operations are now obsolete on NetBSD and will be removed. No functional change for other OSes. Sponsored by <The NetBSD Foundation> llvm-svn: 326663
This commit is contained in:
parent
fc44eb07a7
commit
a51ccfd49f
|
@ -367,10 +367,6 @@ POST_SYSCALL(ptrace)
|
|||
POST_READ(addr_, struct_ptrace_ptrace_siginfo_struct_sz);
|
||||
} else if (req_ == ptrace_pt_get_siginfo) {
|
||||
POST_WRITE(addr_, struct_ptrace_ptrace_siginfo_struct_sz);
|
||||
} else if (req_ == ptrace_pt_set_sigmask) {
|
||||
POST_READ(addr_, sizeof(__sanitizer_sigset_t));
|
||||
} else if (req_ == ptrace_pt_get_sigmask) {
|
||||
POST_WRITE(addr_, sizeof(__sanitizer_sigset_t));
|
||||
} else if (req_ == ptrace_pt_setregs) {
|
||||
POST_READ(addr_, struct_ptrace_reg_struct_sz);
|
||||
} else if (req_ == ptrace_pt_getregs) {
|
||||
|
|
|
@ -754,10 +754,6 @@ function syscall_body(syscall, mode)
|
|||
pcmd(" POST_READ(addr_, struct_ptrace_ptrace_siginfo_struct_sz);")
|
||||
pcmd(" } else if (req_ == ptrace_pt_get_siginfo) {")
|
||||
pcmd(" POST_WRITE(addr_, struct_ptrace_ptrace_siginfo_struct_sz);")
|
||||
pcmd(" } else if (req_ == ptrace_pt_set_sigmask) {")
|
||||
pcmd(" POST_READ(addr_, sizeof(__sanitizer_sigset_t));")
|
||||
pcmd(" } else if (req_ == ptrace_pt_get_sigmask) {")
|
||||
pcmd(" POST_WRITE(addr_, sizeof(__sanitizer_sigset_t));")
|
||||
pcmd(" } else if (req_ == ptrace_pt_setregs) {")
|
||||
pcmd(" POST_READ(addr_, struct_ptrace_reg_struct_sz);")
|
||||
pcmd(" } else if (req_ == ptrace_pt_getregs) {")
|
||||
|
|
Loading…
Reference in New Issue