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:
Kamil Rytarowski 2018-03-03 18:41:38 +00:00
parent fc44eb07a7
commit a51ccfd49f
2 changed files with 0 additions and 8 deletions

View File

@ -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) {

View File

@ -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) {")