PERFORCE change 19554 for review

Brian Feldman green at freebsd.org
Fri Oct 18 17:20:33 GMT 2002


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

Change 19554 by green at green_laptop_2 on 2002/10/18 10:20:18

	Correct a bunch of externalization calls that were made
	to call entirely the wrong functions (!).

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#314 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#314 (text+ko) ====

@@ -1621,7 +1621,7 @@
 {
 	int error;
 
-	MAC_EXTERNALIZE(cred_label, label, elements, outbuf, outbuflen);
+	MAC_EXTERNALIZE(ifnet_label, label, elements, outbuf, outbuflen);
 
 	return (error);
 }
@@ -1632,7 +1632,7 @@
 {
 	int error;
 
-	MAC_EXTERNALIZE(cred_label, label, elements, outbuf, outbuflen);
+	MAC_EXTERNALIZE(pipe_label, label, elements, outbuf, outbuflen);
 
 	return (error);
 }
@@ -1643,7 +1643,7 @@
 {
 	int error;
 
-	MAC_EXTERNALIZE(cred_label, label, elements, outbuf, outbuflen);
+	MAC_EXTERNALIZE(socket_label, label, elements, outbuf, outbuflen);
 
 	return (error);
 }
@@ -1654,7 +1654,7 @@
 {
 	int error;
 
-	MAC_EXTERNALIZE(cred_label, label, elements, outbuf, outbuflen);
+	MAC_EXTERNALIZE(socket_peer_label, label, elements, outbuf, outbuflen);
 
 	return (error);
 }
@@ -1665,7 +1665,7 @@
 {
 	int error;
 
-	MAC_EXTERNALIZE(cred_label, label, elements, outbuf, outbuflen);
+	MAC_EXTERNALIZE(vnode_label, label, elements, outbuf, outbuflen);
 
 	return (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