Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2002 11:57:19 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 8395 for review
Message-ID:  <200203251957.g2PJvJU89422@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=8395

Change 8395 by jhb@jhb_laptop on 2002/03/25 11:57:11

	Manually fixup a suser_xxx() as a temporary hack for now.

Affected files ...

... //depot/projects/smpng/sys/kern/kern_ktrace.c#17 edit

Differences ...

==== //depot/projects/smpng/sys/kern/kern_ktrace.c#17 (text+ko) ====

@@ -594,7 +594,7 @@
 {
 
 	if (targetp->p_traceflag & KTRFAC_ROOT &&
-	    suser_xxx(NULL, callp, PRISON_ROOT))
+	    suser_cred(callp->p_ucred, PRISON_ROOT))
 		return (0);
 
 	if (p_candebug(callp, targetp) != 0)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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