blob: 58a8dd2c93a2eee8924f03f143b4d6036cc15796 (
plain)
1
2
3
4
5
6
7
8
9
|
#include <sys/syscall.h>
#include <errno.h>
#include <sys/ptrace.h>
int ptrace(int request, pid_t pid, void *addr, void *data) {
int ret;
SYSCALL4(SYSCALL_PTRACE, request, pid, addr, data);
return ret;
}
|