Date: Sat, 22 Apr 2006 23:33:27 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 95904 for review Message-ID: <200604222333.k3MNXRk3017848@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95904 Change 95904 by jb@jb_freebsd2 on 2006/04/22 23:33:11 On FreeBSD we need different arguments to dtrace_state_create() because we deal with struct cdev's and not dev_t's. Our credentials are obtained from struct cdev. Affected files ... .. //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace.c#10 edit Differences ... ==== //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace.c#10 (text+ko) ==== @@ -420,7 +420,7 @@ (act)->dta_difo->dtdo_rtype.dtdt_kind == DIF_TYPE_STRING) dtrace_dynvar_t *dtrace_dynvar(dtrace_dstate_t *, uint_t, dtrace_key_t *, size_t, dtrace_dynvar_op_t); -dtrace_state_t *dtrace_state_create(dev_t *, cred_t *); +dtrace_state_t *dtrace_state_create(struct cdev *); int dtrace_dstate_init(dtrace_dstate_t *, size_t); static char *dtrace_strdup(const char *); static dof_hdr_t *dtrace_dof_copyin(uintptr_t, int *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604222333.k3MNXRk3017848>