summaryrefslogtreecommitdiffstats
path: root/lib/libc/include/libc_private.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2016-09-03 09:03:40 +0000
committerkib <kib@FreeBSD.org>2016-09-03 09:03:40 +0000
commitd10386210203bc911e09b0465c917418f228e54a (patch)
treed03b21baad17eac18eb6bfc7a6f3169a669f0c84 /lib/libc/include/libc_private.h
parent833d85cdfebda1a68898dd0b713a501551739080 (diff)
downloadFreeBSD-src-d10386210203bc911e09b0465c917418f228e54a.zip
FreeBSD-src-d10386210203bc911e09b0465c917418f228e54a.tar.gz
MFC r304928:
Do not obliterate errno value in the main thread during ptrace(2) call on x86. MFC r304931: Follow ABI when calling __error from the ptrace(2) wrapper. MFC r305012: Rewrite ptrace(2) wrappers in C. MFC r305022: Restore the requirement of setting errno to zero before calling ptrace(2).
Diffstat (limited to 'lib/libc/include/libc_private.h')
-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 cf346f1..972eb29 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 *);
OpenPOWER on IntegriCloud