Date: Sun, 23 Apr 2006 20:36:47 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 95945 for review Message-ID: <200604232036.k3NKallo055654@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95945 Change 95945 by jb@jb_freebsd2 on 2006/04/23 20:36:14 Match only the device name we want to clone. Affected files ... .. //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_clone.c#3 edit Differences ... ==== //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_clone.c#3 (text+ko) ==== @@ -37,6 +37,9 @@ if (*dev != NULL) return; + if (strlen(name) != 6 || bcmp(name,"dtrace",6) != 0) + return; + /* Allocate a unique minor number. */ u = (int) vmem_alloc(dtrace_minor, 1, VM_BESTFIT | VM_SLEEP);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604232036.k3NKallo055654>