PERFORCE change 111043 for review

Todd Miller millert at FreeBSD.org
Mon Dec 4 10:33:25 PST 2006


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

Change 111043 by millert at millert_g5tower on 2006/12/04 18:32:24

	Make AVC initialization a printf, not an audit_log

Affected files ...

.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/avc/avc.c#11 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/avc/avc.c#11 (text+ko) ====

@@ -299,13 +299,12 @@
 	    AVC_CACHE_MAXNODES * sizeof(struct avc_node),
 	    AVC_CACHE_RECLAIM * sizeof(struct avc_node), "avc node");
 
-	audit_log(current->audit_context, GFP_KERNEL, AUDIT_KERNEL,
-	    "AVC INITIALIZED");
-
 	if (sebsd_find_data("enforce", &ev, &evsize) == 0) {
 		if (evsize > 0 && strcmp((char *)ev, "true") == 0)
 			selinux_enforcing = 1;
 	}
+
+	printf("AVC INITIALIZED\n");	/* XXX */
 }
 
 #if 0


More information about the p4-projects mailing list