summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2018-03-03 18:41:38 +0000
committerKamil Rytarowski <n54@gmx.com>2018-03-03 18:41:38 +0000
commit4507b0d0e458b2a4f4795b7c86b39cbaaf89483c (patch)
tree1fe98eefd30553660e1a64c9642c63963f98ea67
parent18248228f8a8c234ccded870041a79eb7e832663 (diff)
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> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@326663 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/sanitizer_common/sanitizer_syscalls_netbsd.inc4
-rwxr-xr-xutils/generate_netbsd_syscalls.awk4
2 files changed, 0 insertions, 8 deletions
diff --git a/lib/sanitizer_common/sanitizer_syscalls_netbsd.inc b/lib/sanitizer_common/sanitizer_syscalls_netbsd.inc
index dc21df5b8..4f7661008 100644
--- a/lib/sanitizer_common/sanitizer_syscalls_netbsd.inc
+++ b/lib/sanitizer_common/sanitizer_syscalls_netbsd.inc
@@ -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) {
diff --git a/utils/generate_netbsd_syscalls.awk b/utils/generate_netbsd_syscalls.awk
index 5c08ca3ef..5e08900a1 100755
--- a/utils/generate_netbsd_syscalls.awk
+++ b/utils/generate_netbsd_syscalls.awk
@@ -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) {")