diff options
author | 2016-10-09 22:46:48 +0000 | |
---|---|---|
committer | 2016-10-09 22:46:48 +0000 | |
commit | 6c0fe18513b8ea36a39875b869508a3f01be57cd (patch) | |
tree | 5ce1d27b02fc311cfbfa0debf7a6027870d24fd4 /sys/kern/sys_process.c | |
parent | Remove check for RELEASEDIR permissions, there are usecases where other (diff) | |
download | wireguard-openbsd-6c0fe18513b8ea36a39875b869508a3f01be57cd.tar.xz wireguard-openbsd-6c0fe18513b8ea36a39875b869508a3f01be57cd.zip |
With systrace and procfs gone, process_checkioperm() and process_domem()
are for option PTRACE only
ok kettenis@
Diffstat (limited to 'sys/kern/sys_process.c')
-rw-r--r-- | sys/kern/sys_process.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index 9ebbcc2b720..1f7a5708c1b 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sys_process.c,v 1.70 2016/09/01 12:47:18 akfaew Exp $ */ +/* $OpenBSD: sys_process.c,v 1.71 2016/10/09 22:46:48 guenther Exp $ */ /* $NetBSD: sys_process.c,v 1.55 1996/05/15 06:17:47 tls Exp $ */ /*- @@ -669,7 +669,6 @@ sys_ptrace(struct proc *p, void *v, register_t *retval) #endif return 0; } -#endif /* PTRACE */ /* * Check if a process is allowed to fiddle with the memory of another. @@ -741,7 +740,6 @@ process_domem(struct proc *curp, struct proc *p, struct uio *uio, int req) return (error); } -#ifdef PTRACE int process_auxv_offset(struct proc *curp, struct proc *p, struct uio *uiop) { |