Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2002 19:01:31 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 10628 for review
Message-ID:  <200205020201.g4221VA47538@freefall.freebsd.org>

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

Change 10628 by rwatson@rwatson_curry on 2002/05/01 19:01:20

	Don't #ifdef MAC this module: since it's only included as a module,
	it can assume MAC.

Affected files ...

... //depot/projects/trustedbsd/mac/sys/security/mac_ifoff/mac_ifoff.c#3 edit

Differences ...

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

@@ -68,8 +68,6 @@
 #include <net/if_types.h>
 #include <net/if_var.h>
 
-#ifdef MAC
-
 SYSCTL_DECL(_security_mac);
 
 SYSCTL_NODE(_security_mac, OID_AUTO, ifoff, CTLFLAG_RW, 0,
@@ -167,5 +165,3 @@
 };
 
 MAC_POLICY_SET(mac_ifoff_ops, trustedbsd_mac_ifoff, "TrustedBSD MAC/ifoff", 0);
-
-#endif /* !MAC */

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?200205020201.g4221VA47538>