Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Apr 2006 23:39:36 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 95908 for review
Message-ID:  <200604222339.k3MNdaib022660@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95908

Change 95908 by jb@jb_freebsd2 on 2006/04/22 23:39:23

	For the time being, just hack the privileges to 'all'.

Affected files ...

.. //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_util.c#2 edit

Differences ...

==== //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_util.c#2 (text+ko) ====

@@ -57,6 +57,7 @@
 
 	*uidp = crgetuid(cr);
 	*zoneidp = crgetzoneid(cr);
+#ifdef DOODAD
 	if (PRIV_POLICY_ONLY(cr, PRIV_ALL, B_FALSE)) {
 		priv = DTRACE_PRIV_ALL;
 	} else {
@@ -72,6 +73,9 @@
 		if (PRIV_POLICY_ONLY(cr, PRIV_PROC_ZONE, B_FALSE))
 			priv |= DTRACE_PRIV_ZONEOWNER;
 	}
+#else
+priv = DTRACE_PRIV_ALL;
+#endif
 
 	*privp = priv;
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604222339.k3MNdaib022660>