Date: Tue, 22 Apr 2008 05:52:06 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 140384 for review Message-ID: <200804220552.m3M5q6WY096739@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=140384 Change 140384 by jb@freebsd3 on 2008/04/22 05:51:27 Update the BSD ioctl function to suit the IFopensolaris. It's a shame that BSD and SYSV ioctl designs differ so much that we have to have a separate code base. Sigh. Affected files ... .. //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_ioctl.c#22 edit Differences ... ==== //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_ioctl.c#22 (text+ko) ==== @@ -342,13 +342,9 @@ * cue to reevaluate our enablings. */ if (p->dof == NULL) { - mutex_enter(&cpu_lock); - mutex_enter(&dtrace_lock); - err = dtrace_enabling_matchstate(state, &p->n_matched); - mutex_exit(&dtrace_lock); - mutex_exit(&cpu_lock); + dtrace_enabling_matchall(); - return (err); + return (0); } if ((dof = dtrace_dof_copyin((uintptr_t) p->dof, &rval)) == NULL)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804220552.m3M5q6WY096739>