From owner-p4-projects Wed Jul 10 11: 8:32 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id F138A37B401; Wed, 10 Jul 2002 11:08:27 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1B6537B400 for ; Wed, 10 Jul 2002 11:08:27 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FA0B43E31 for ; Wed, 10 Jul 2002 11:08:27 -0700 (PDT) (envelope-from cvance@tislabs.com) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6AI8RJU016805 for ; Wed, 10 Jul 2002 11:08:27 -0700 (PDT) (envelope-from cvance@tislabs.com) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6AI8RrS016802 for perforce@freebsd.org; Wed, 10 Jul 2002 11:08:27 -0700 (PDT) Date: Wed, 10 Jul 2002 11:08:27 -0700 (PDT) Message-Id: <200207101808.g6AI8RrS016802@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to cvance@tislabs.com using -f From: Chris Vance Subject: PERFORCE change 14050 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=14050 Change 14050 by cvance@cvance_korben on 2002/07/10 11:07:52 Add a target to re-label the filesystem Affected files ... .. //depot/projects/trustedbsd/mac/contrib/sebsd/policy/Makefile#3 edit Differences ... ==== //depot/projects/trustedbsd/mac/contrib/sebsd/policy/Makefile#3 (text+ko) ==== @@ -1,4 +1,5 @@ CHECKPOLICY = /sbin/sebsd_checkpolicy +SETFILES = /sbin/sebsd_setfiles M4 = m4 -Imacros -s INSTALLDIR = /etc/security/sebsd @@ -25,6 +26,9 @@ PROGRAMFILES != ls domains/program/*.te TYPEFILES != ls types/*.te +FC = file_contexts/file_contexts +FCFILES != ls file_contexts/*.fc file_contexts/program/*.fc + ALLTEFILES := macros/global_macros.te attrib.te tmp/all_types.te tmp/all_program_macros.te tmp/all_domains.te assert.te ALLDOMAINS != ls domains/*.te domains/misc/*.te domains/program/*.te @@ -59,5 +63,11 @@ tmp/all_domains.te: $(ALLDOMAINS) cat $> > $@ +relabel: $(FC) + $(SETFILES) $(FC) / + +$(FC): $(FCFILES) + cat $> > $@ + clean: rm -f policy.11 policy.conf tmp/* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message