|
Chris PeBenito |
fedd3ca |
To install Reference Policy sources into /etc/selinux/refpolicy/src/policy:
|
|
Chris PeBenito |
337e4af |
|
|
Chris PeBenito |
337e4af |
make install-src
|
|
Chris PeBenito |
337e4af |
|
|
Chris PeBenito |
fedd3ca |
This will back up a pre-existing source policy to the
|
|
Chris PeBenito |
fedd3ca |
/etc/selinux/refpolicy/src/policy.bak directory.
|
|
Chris PeBenito |
fedd3ca |
|
|
Chris PeBenito |
c767b14 |
If you do not have a modules.conf, one can be generated:
|
|
Chris PeBenito |
c767b14 |
|
|
Chris PeBenito |
c767b14 |
make conf
|
|
Chris PeBenito |
c767b14 |
|
|
Chris PeBenito |
c767b14 |
This will create a default modules.conf. After installing the policy sources,
|
|
Chris PeBenito |
c767b14 |
the old Make targets have been maintained for the monolithic policy:
|
|
Chris PeBenito |
337e4af |
|
|
Chris PeBenito |
337e4af |
Local policy development:
|
|
Chris PeBenito |
337e4af |
|
|
Chris PeBenito |
337e4af |
make policy
|
|
Chris PeBenito |
337e4af |
|
|
Chris PeBenito |
337e4af |
Compile and install the policy:
|
|
Chris PeBenito |
337e4af |
|
|
Chris PeBenito |
337e4af |
make install
|
|
Chris PeBenito |
337e4af |
|
|
Chris PeBenito |
337e4af |
Compile, install, and load the policy:
|
|
Chris PeBenito |
337e4af |
|
|
Chris PeBenito |
337e4af |
make load
|
|
Chris PeBenito |
337e4af |
|
|
Chris PeBenito |
337e4af |
Filesystem labeling:
|
|
Chris PeBenito |
337e4af |
|
|
Chris PeBenito |
337e4af |
make relabel
|
|
Chris PeBenito |
337e4af |
make checklabels
|
|
Chris PeBenito |
337e4af |
make restorelabels
|
|
Chris PeBenito |
fedd3ca |
|
|
Chris PeBenito |
fedd3ca |
See the README for more information on available make targets.
|