PERFORCE change 20415 for review

Robert Watson rwatson at freebsd.org
Wed Oct 30 15:41:35 GMT 2002


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

Change 20415 by rwatson at rwatson_sproing on 2002/10/30 07:41:11

	These functions accept processes, not credentials.  Really
	they should accept neither.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/security/mac_lomac/mac_lomac.c#24 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/security/mac_lomac/mac_lomac.c#24 (text+ko) ====

@@ -565,7 +565,7 @@
 }
 
 static void
-mac_lomac_init_proc_label(struct ucred *ucred, struct label *label)
+mac_lomac_init_proc_label(struct proc *p, struct label *label)
 {
 
 	PSLOT(label) = malloc(sizeof(struct mac_lomac_proc), M_MACLOMAC,
@@ -582,7 +582,7 @@
 }
 
 static void
-mac_lomac_destroy_proc_label(struct ucred *ucred, struct label *label)
+mac_lomac_destroy_proc_label(struct proc *p, struct label *label)
 {
 
 	mtx_destroy(&PSLOT(label)->mtx);
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