Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2002 07:41:35 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 20415 for review
Message-ID:  <200210301541.g9UFfZFE054674@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=20415

Change 20415 by rwatson@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@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?200210301541.g9UFfZFE054674>