Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Oct 2002 06:59:27 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 18806 for review
Message-ID:  <200210061359.g96DxRk9014233@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18806

Change 18806 by rwatson@rwatson_tislabs on 2002/10/06 06:59:19

	MAC checks in sys_socket.c will work much better if we include
	opt_mac.h.  We weren't enforcing file-descriptor driven sends
	and receives.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/sys_socket.c#16 edit

Differences ...

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

@@ -34,9 +34,12 @@
  * $FreeBSD: src/sys/kern/sys_socket.c,v 1.45 2002/10/03 02:12:58 truckman Exp $
  */
 
+#include "opt_mac.h"
+
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/file.h>
+#include <sys/mac.h>
 #include <sys/protosw.h>
 #include <sys/socket.h>
 #include <sys/socketvar.h>

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?200210061359.g96DxRk9014233>