aboutsummaryrefslogtreecommitdiff
blob: c68809a1c434c629e2166a13513e74dc54f63c9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Reference Policy has the following build requirements:
	* libsepol 2.6
	* libsemanage 2.6
	* checkpolicy 2.6
	* policycoreutils 2.6
	* Python >= 2.6
	* GCC

To install Reference Policy sources into /etc/selinux/refpolicy/src/policy:

	make install-src

This will back up a pre-existing source policy to the
/etc/selinux/refpolicy/src/policy.bak directory.

If you do not have a modules.conf, one can be generated:

	make conf

This will create a default modules.conf.  Options for the policy
build process can be found in build.conf.  After installing the policy sources,
the old Make targets have been maintained for the monolithic policy:

Local policy development:

	make policy

Compile and install the policy:

	make install

Compile, install, and load the policy:

	make load

Filesystem labeling:

	make relabel
	make checklabels
	make restorelabels

See the README for more information on available make targets.