diff options
author | 2016-03-01 16:43:08 +0000 | |
---|---|---|
committer | 2016-03-01 16:43:08 +0000 | |
commit | 4420e0ddea003df17a2c6b693516cce22eebfa88 (patch) | |
tree | f9fbe6da60d6e949243070bebcd6a8f6a290effd /sys/dev/systrace.h | |
parent | drop Linux emulation support; ok sthen@ visa@ (diff) | |
download | wireguard-openbsd-4420e0ddea003df17a2c6b693516cce22eebfa88.tar.xz wireguard-openbsd-4420e0ddea003df17a2c6b693516cce22eebfa88.zip |
Copy the stackgap_init() and stackgap_alloc() functions from
compat/common/compat_util.c to dev/systrace.c, the one place they
are used, and remove the remaining kernel references to compat/*.
ok visa@
Diffstat (limited to 'sys/dev/systrace.h')
-rw-r--r-- | sys/dev/systrace.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/systrace.h b/sys/dev/systrace.h index a94d4806458..62d7e8efa78 100644 --- a/sys/dev/systrace.h +++ b/sys/dev/systrace.h @@ -1,4 +1,4 @@ -/* $OpenBSD: systrace.h,v 1.25 2015/01/20 01:48:13 deraadt Exp $ */ +/* $OpenBSD: systrace.h,v 1.26 2016/03/01 16:43:08 naddy Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -236,5 +236,8 @@ void systrace_execve0(struct proc *); void systrace_execve1(char *, struct proc *); int systrace_scriptname(struct proc *, char *); +caddr_t stackgap_init(struct proc *); +void *stackgap_alloc(caddr_t *, size_t); + #endif /* _KERNEL */ #endif /* _SYSTRACE_H_ */ |