mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 06:10:12 +00:00
Remove obsolete ptrace(2) operations from NetBSD
PT_SET_SIGMASK and PT_GET_SIGMASK will be removed from NetBSD without backward compat (it shortlived in a development branch). Sponsored by <The NetBSD Foundation> llvm-svn: 326657
This commit is contained in:
parent
4d50ab86e6
commit
9f2a4e212c
@ -21,7 +21,7 @@
|
||||
// DO NOT EDIT! THIS FILE HAS BEEN GENERATED!
|
||||
//
|
||||
// Generated with: generate_netbsd_syscalls.awk
|
||||
// Generated date: 2018-02-15
|
||||
// Generated date: 2018-03-03
|
||||
// Generated from: syscalls.master,v 1.291 2018/01/06 16:41:23 kamil Exp
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
@ -258,8 +258,6 @@ int ptrace_pt_get_event_mask = PT_GET_EVENT_MASK;
|
||||
int ptrace_pt_get_process_state = PT_GET_PROCESS_STATE;
|
||||
int ptrace_pt_set_siginfo = PT_SET_SIGINFO;
|
||||
int ptrace_pt_get_siginfo = PT_GET_SIGINFO;
|
||||
int ptrace_pt_set_sigmask = PT_SET_SIGMASK;
|
||||
int ptrace_pt_get_sigmask = PT_GET_SIGMASK;
|
||||
int ptrace_piod_read_d = PIOD_READ_D;
|
||||
int ptrace_piod_write_d = PIOD_WRITE_D;
|
||||
int ptrace_piod_read_i = PIOD_READ_I;
|
||||
|
@ -384,8 +384,6 @@ extern int ptrace_pt_get_event_mask;
|
||||
extern int ptrace_pt_get_process_state;
|
||||
extern int ptrace_pt_set_siginfo;
|
||||
extern int ptrace_pt_get_siginfo;
|
||||
extern int ptrace_pt_set_sigmask;
|
||||
extern int ptrace_pt_get_sigmask;
|
||||
extern int ptrace_piod_read_d;
|
||||
extern int ptrace_piod_write_d;
|
||||
extern int ptrace_piod_read_i;
|
||||
|
@ -43,7 +43,7 @@
|
||||
// DO NOT EDIT! THIS FILE HAS BEEN GENERATED!
|
||||
//
|
||||
// Generated with: generate_netbsd_syscalls.awk
|
||||
// Generated date: 2018-02-15
|
||||
// Generated date: 2018-03-03
|
||||
// Generated from: syscalls.master,v 1.291 2018/01/06 16:41:23 kamil Exp
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
@ -324,10 +324,6 @@ PRE_SYSCALL(ptrace)
|
||||
PRE_READ(addr_, struct_ptrace_ptrace_siginfo_struct_sz);
|
||||
} else if (req_ == ptrace_pt_get_siginfo) {
|
||||
PRE_WRITE(addr_, struct_ptrace_ptrace_siginfo_struct_sz);
|
||||
} else if (req_ == ptrace_pt_set_sigmask) {
|
||||
PRE_READ(addr_, sizeof(__sanitizer_sigset_t));
|
||||
} else if (req_ == ptrace_pt_get_sigmask) {
|
||||
PRE_WRITE(addr_, sizeof(__sanitizer_sigset_t));
|
||||
} else if (req_ == ptrace_pt_setregs) {
|
||||
PRE_READ(addr_, struct_ptrace_reg_struct_sz);
|
||||
} else if (req_ == ptrace_pt_getregs) {
|
||||
|
@ -718,10 +718,6 @@ function syscall_body(syscall, mode)
|
||||
pcmd(" PRE_READ(addr_, struct_ptrace_ptrace_siginfo_struct_sz);")
|
||||
pcmd("} else if (req_ == ptrace_pt_get_siginfo) {")
|
||||
pcmd(" PRE_WRITE(addr_, struct_ptrace_ptrace_siginfo_struct_sz);")
|
||||
pcmd("} else if (req_ == ptrace_pt_set_sigmask) {")
|
||||
pcmd(" PRE_READ(addr_, sizeof(__sanitizer_sigset_t));")
|
||||
pcmd("} else if (req_ == ptrace_pt_get_sigmask) {")
|
||||
pcmd(" PRE_WRITE(addr_, sizeof(__sanitizer_sigset_t));")
|
||||
pcmd("} else if (req_ == ptrace_pt_setregs) {")
|
||||
pcmd(" PRE_READ(addr_, struct_ptrace_reg_struct_sz);")
|
||||
pcmd("} else if (req_ == ptrace_pt_getregs) {")
|
||||
|
Loading…
Reference in New Issue
Block a user