PERFORCE change 18600 for review

Chris Vance cvance at freebsd.org
Thu Oct 3 19:35:32 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18600

Change 18600 by cvance at cvance_laptop on 2002/10/03 12:34:50

	Fix compiler warnings

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/security/sebsd/avc/avc.c#7 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/security/sebsd/avc/avc.c#7 (text+ko) ====

@@ -40,6 +40,7 @@
 MALLOC_DEFINE(M_SEBSD_AVC, "sebsd", 
 	      "Security Enhanced BSD Access Vector Cache");
 
+extern int ss_initialized;
 int avc_debug_always_allow = 1;
 
 typedef struct avc_node {
@@ -498,7 +499,7 @@
 				    VOP_GETATTR(vp, &va,
 						curthread->td_ucred,
 						curthread)) {
-					printf(" inode=%d, fsid=%d, ftype=%d",
+					printf(" inode=%ld, fsid=%d, ftype=%d",
 					       va.va_fileid, va.va_fsid, 
 					       vp->v_type);
 				} else {
@@ -841,7 +842,6 @@
 int
 sys_avc_toggle(struct thread *td) 
 {
-	extern int ss_initialized;
 	int error;
 
 	/*
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list