diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2013-06-01 16:27:38 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2013-06-01 16:27:38 +0000 |
commit | 39052196d44a25242d28845774b70928131837bb (patch) | |
tree | f379196a5202e9e7959c90438a6d674fdb93c109 /sys/kern/kern_ktrace.c | |
parent | aedbb718fa5c0cf868beadc84888f716aa40a518 (diff) |
always implement stub utrace syscall, but keep the body #ifdef KTRACE
ok guenther matthew
Diffstat (limited to 'sys/kern/kern_ktrace.c')
-rw-r--r-- | sys/kern/kern_ktrace.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/kern/kern_ktrace.c b/sys/kern/kern_ktrace.c index dc268aa8d5a..7eb25f0498a 100644 --- a/sys/kern/kern_ktrace.c +++ b/sys/kern/kern_ktrace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_ktrace.c,v 1.59 2013/06/01 09:49:50 miod Exp $ */ +/* $OpenBSD: kern_ktrace.c,v 1.60 2013/06/01 16:27:37 tedu Exp $ */ /* $NetBSD: kern_ktrace.c,v 1.23 1996/02/09 18:59:36 christos Exp $ */ /* @@ -648,19 +648,3 @@ ktrcanset(struct proc *callp, struct process *targetpr) return (0); } - -/* - * utrace system call - */ -/* ARGSUSED */ -int -sys_utrace(struct proc *curp, void *v, register_t *retval) -{ - struct sys_utrace_args /* { - syscallarg(const char *) label; - syscallarg(const void *) addr; - syscallarg(size_t) len; - } */ *uap = v; - return (ktruser(curp, SCARG(uap, label), SCARG(uap, addr), - SCARG(uap, len))); -} |