aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2016-08-29 18:47:51 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2016-08-29 18:47:51 +0000
commitafd3e268d2560b0b878c07adf086ddbca58ca524 (patch)
tree143e063376e5b849f52168d6d9ad4f45757cd1ec /lib/libc/include
parent771e2c7753d3f4e85f9abfc50e069d32cd317b5b (diff)
Rewrite ptrace(2) wrappers in C.
Besides removing hand-translation to assembler, this also adds missing wrappers for arm64 and risc-v. Reviewed by: emaste, jhb Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D7694
Notes
svn path=/head/; revision=305012
Diffstat (limited to 'lib/libc/include')
-rw-r--r--lib/libc/include/libc_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h
index cf346f1367f0..972eb2938ed4 100644
--- a/lib/libc/include/libc_private.h
+++ b/lib/libc/include/libc_private.h
@@ -335,6 +335,7 @@ int __sys_openat(int, const char *, int, ...);
int __sys_pselect(int, struct fd_set *, struct fd_set *,
struct fd_set *, const struct timespec *,
const __sigset_t *);
+int __sys_ptrace(int, __pid_t, char *, int);
int __sys_poll(struct pollfd *, unsigned, int);
int __sys_ppoll(struct pollfd *, unsigned, const struct timespec *,
const __sigset_t *);