selinux-refpolicy/refpolicy
Chris PeBenito 77f6e2cd27 partial (most of it) merge of selinux-policy-strict-sources-1.27.1-15 2005-10-13 20:59:36 +00:00
..
config add appconfig for mls and mcs 2005-09-20 14:20:02 +00:00
doc * Updated to sedoctool to read bool files and tunable 2005-10-07 18:08:50 +00:00
policy partial (most of it) merge of selinux-policy-strict-sources-1.27.1-15 2005-10-13 20:59:36 +00:00
support * Updated to sedoctool to read bool files and tunable 2005-10-07 18:08:50 +00:00
COPYING
Changelog add sechecker targets 2005-10-12 19:13:49 +00:00
INSTALL update INSTALL and start work on README 2005-10-10 21:02:49 +00:00
Makefile add sechecker targets 2005-10-12 19:13:49 +00:00
README update INSTALL and start work on README 2005-10-10 21:02:49 +00:00
Rules.modular update INSTALL and start work on README 2005-10-10 21:02:49 +00:00
Rules.monolithic add sechecker targets 2005-10-12 19:13:49 +00:00
VERSION update for release 2005-09-22 19:05:26 +00:00

README

1) Reference Policy make targets:

General Make targets:

install-src		Install the policy sources into
			/etc/selinux/NAME/src/policy, where NAME is defined in
			the Makefile.  If not defined, the TYPE, as defined in
			the Makefile, is used.  The default NAME is refpolicy.
			A pre-existing source policy will be moved to
			/etc/selinux/NAME/src/policy.bak.

conf			Regenerate policy.xml, and update/create modules.conf
			and booleans.conf.  This should be done after adding
			or removing modules, or after running the bare target.
			If the configuration files exist, their settings will
			be preserved.  This must be ran on policy sources that
			are checked out from the CVS repository before they can
			be used.

clean			Delete all temporary files, compiled policies,
			and file_contexts.  Configuration files are left intact.

bare			Do the clean make target and also delete configuration
			files, web page documentation, and policy.xml.

html			Regenerate policy.xml and create web page documentation
			in the doc/html directory.

Make targets specific to modular (loadable modules) policies:

base			Compile and package the base module.  This is the
			default target for modular policies.

modules			Compile and package all Reference Policy modules
			configured to be built as loadable modules.

MODULENAME.pp		Compile and package the MODULENAME Reference Policy
			module.

Make targets specific to monolithic policies:

policy			Compile a policy locally for development and testing.
			This is the default target for monolithic policies.

install			Compile and install the policy and file contexts.

load			Compile and install the policy and file contexts, then
			load the policy.

enableaudit		Remove all dontaudit rules from policy.conf.

relabel			Relabel the filesystem.

checklabels		Check the labels on the filesystem, and report when
			a file would be relabeled, but do not change its label.

restorelabels		Relabel the filesystem and report each file that is
			relabeled.