PERFORCE change 108223 for review

Robert Watson rwatson at FreeBSD.org
Sat Oct 21 03:08:15 PDT 2006


http://perforce.freebsd.org/chv.cgi?CH=108223

Change 108223 by rwatson at rwatson_peppercorn on 2006/10/21 10:05:57

	Remove unneeded suser in RELENG_6; this is already gone in HEAD.

Affected files ...

.. //depot/projects/trustedbsd/priv6/src/sys/kern/kern_ktr.c#2 edit

Differences ...

==== //depot/projects/trustedbsd/priv6/src/sys/kern/kern_ktr.c#2 (text+ko) ====

@@ -141,9 +141,6 @@
 	if (enable) {
 		if (ktr_alq_enabled)
 			return (0);
-		error = suser(curthread);
-		if (error)
-			return (error);
 		error = alq_open(&ktr_alq, (const char *)ktr_alq_file,
 		    req->td->td_ucred, ALQ_DEFAULT_CMODE,
 		    sizeof(struct ktr_entry), ktr_alq_depth);


More information about the trustedbsd-cvs mailing list