forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjusts for ReST markup and moves under LSM admin guide. Cc: Paul Moore <[email protected]> Signed-off-by: Kees Cook <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
- Loading branch information
Showing
5 changed files
with
19 additions
and
9 deletions.
There are no files selected for viewing
18 changes: 12 additions & 6 deletions
18
Documentation/security/SELinux.txt → Documentation/admin-guide/LSM/SELinux.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,33 @@ | ||
======= | ||
SELinux | ||
======= | ||
|
||
If you want to use SELinux, chances are you will want | ||
to use the distro-provided policies, or install the | ||
latest reference policy release from | ||
|
||
http://oss.tresys.com/projects/refpolicy | ||
|
||
However, if you want to install a dummy policy for | ||
testing, you can do using 'mdp' provided under | ||
testing, you can do using ``mdp`` provided under | ||
scripts/selinux. Note that this requires the selinux | ||
userspace to be installed - in particular you will | ||
need checkpolicy to compile a kernel, and setfiles and | ||
fixfiles to label the filesystem. | ||
|
||
1. Compile the kernel with selinux enabled. | ||
2. Type 'make' to compile mdp. | ||
2. Type ``make`` to compile ``mdp``. | ||
3. Make sure that you are not running with | ||
SELinux enabled and a real policy. If | ||
you are, reboot with selinux disabled | ||
before continuing. | ||
4. Run install_policy.sh: | ||
4. Run install_policy.sh:: | ||
|
||
cd scripts/selinux | ||
sh install_policy.sh | ||
|
||
Step 4 will create a new dummy policy valid for your | ||
kernel, with a single selinux user, role, and type. | ||
It will compile the policy, will set your SELINUXTYPE to | ||
dummy in /etc/selinux/config, install the compiled policy | ||
as 'dummy', and relabel your filesystem. | ||
It will compile the policy, will set your ``SELINUXTYPE`` to | ||
``dummy`` in ``/etc/selinux/config``, install the compiled policy | ||
as ``dummy``, and relabel your filesystem. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11551,6 +11551,7 @@ S: Supported | |
F: include/linux/selinux* | ||
F: security/selinux/ | ||
F: scripts/selinux/ | ||
F: Documentation/admin-guide/LSM/SELinux.rst | ||
|
||
APPARMOR SECURITY MODULE | ||
M: John Johansen <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Please see Documentation/security/SELinux.txt for information on | ||
Please see Documentation/admin-guide/LSM/SELinux.rst for information on | ||
installing a dummy SELinux policy. |