Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/dev/dtrace DTrace: enable access to kern...



details:   https://anonhg.NetBSD.org/src/rev/a4674ae60b34
branches:  trunk
changeset: 752501:a4674ae60b34
user:      darran <darran%NetBSD.org@localhost>
date:      Sun Feb 28 07:01:43 2010 +0000

description:
DTrace: enable access to kernel space for DTrace scripts.

diffstat:

 external/cddl/osnet/dev/dtrace/dtrace_hacks.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 29f5d814cf28 -r a4674ae60b34 external/cddl/osnet/dev/dtrace/dtrace_hacks.c
--- a/external/cddl/osnet/dev/dtrace/dtrace_hacks.c     Sat Feb 27 23:43:52 2010 +0000
+++ b/external/cddl/osnet/dev/dtrace/dtrace_hacks.c     Sun Feb 28 07:01:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dtrace_hacks.c,v 1.2 2010/02/21 01:46:33 darran Exp $  */
+/*     $NetBSD: dtrace_hacks.c,v 1.3 2010/02/28 07:01:43 darran Exp $  */
 
 /* $FreeBSD: src/sys/cddl/dev/dtrace/dtrace_hacks.c,v 1.1.4.1 2009/08/03 08:13:06 kensmith Exp $ */
 /* XXX Hacks.... */
@@ -13,5 +13,5 @@
 boolean_t
 priv_policy_only(const cred_t *a, int b, boolean_t c)
 {
-       return 0;
+       return 1;
 }



Home | Main Index | Thread Index | Old Index