Skip to contentSkip to conversation

Documentation/admin-guide/LSM/SELinux.rst: add links to resources

PATCH In review Stephen Smalley 2 participants 3 messages Jun 17, 2025 – Jun 20, 2025

Subsystems (2)
lore
Share & tools
lore

Stephen Smalley

author maintainer
#0 lore raw

PATCH v2 1/1 Documentation/admin-guide/LSM/SELinux.rst: add links to resources

Add links to the SELinux kernel subsystem README.md file, the SELinux kernel wiki, and the SELinux userspace wiki to the SELinux guide.

---
v2 adds a link to the SELinux userspace wiki as well.

 Documentation/admin-guide/LSM/SELinux.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)
Documentation/admin-guide/LSM/SELinux.rst +11 -0
index 520a1c2c6fd2..22b9f91b220d 100644
@@ -2,6 +2,17 @@
 SELinux
 =======
 
+Information about the SELinux kernel subsystem can be found at the
+following links:
+
+	  https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git/tree/README.md
+
+	  https://github.com/selinuxproject/selinux-kernel/wiki
+
+Information about the SELinux userspace can be found at
+
+	    https://github.com/SELinuxProject/selinux/wiki
+
 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
Signature · 1 line
2.49.0
maintainer
#1 lore raw
Quoted 11 lines · On Jun 17, 2025 Stephen Smalley <[email protected]> wrote:

Add links to the SELinux kernel subsystem README.md file, the SELinux kernel wiki, and the SELinux userspace wiki to the SELinux guide.

---
v2 adds a link to the SELinux userspace wiki as well.

 Documentation/admin-guide/LSM/SELinux.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)

I'm going to merge this into selinux/dev, but I applied some tweaks as there were some odd inconsistencies in the patch, more below.

Quoted 6 lines
Documentation/admin-guide/LSM/SELinux.rst +0 -0
index 520a1c2c6fd2..22b9f91b220d 100644
@@ -2,6 +2,17 @@
 SELinux

Documentation/admin-guide/LSM/SELinux.rst line 12

Quoted 10 lines
Documentation/admin-guide/LSM/SELinux.rst +8 -0
 =======
 
+Information about the SELinux kernel subsystem can be found at the
+following links:
+
+	  https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git/tree/README.md
+
+	  https://github.com/selinuxproject/selinux-kernel/wiki
+
+Information about the SELinux userspace can be found at

I added a colon to the end of the line above, "... found at:", to match the style used previously in the file.

Documentation/admin-guide/LSM/SELinux.rst line 15

Quoted 3 lines
Documentation/admin-guide/LSM/SELinux.rst +3 -0
+
+	    https://github.com/SELinuxProject/selinux/wiki
+

I'm not sure if you were using an odd editor, but the horizontal white space before the URLs was odd, including a varying combination of tabs and spaces. I changed the whitespace to just a single tab to match the rest of the file, but if your spacing was intentional please let me know and I'll back out my changes.

Quoted 5 lines
Documentation/admin-guide/LSM/SELinux.rst +0 -0
 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
Signature · 1 line
2.49.0

--
paul-moore.com

author maintainer
#2 lore raw
Quoted 37 lines · Paul Moore
Quoted 11 lines · On Jun 17, 2025 Stephen Smalley <[email protected]> wrote:

Add links to the SELinux kernel subsystem README.md file, the SELinux kernel wiki, and the SELinux userspace wiki to the SELinux guide.

---
v2 adds a link to the SELinux userspace wiki as well.

 Documentation/admin-guide/LSM/SELinux.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)

I'm going to merge this into selinux/dev, but I applied some tweaks as there were some odd inconsistencies in the patch, more below.

Quoted 6 lines
Documentation/admin-guide/LSM/SELinux.rst +0 -0
index 520a1c2c6fd2..22b9f91b220d 100644
@@ -2,6 +2,17 @@
 SELinux

Documentation/admin-guide/LSM/SELinux.rst line 12

Quoted 10 lines
Documentation/admin-guide/LSM/SELinux.rst +8 -0
 =======
 
+Information about the SELinux kernel subsystem can be found at the
+following links:
+
+       https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git/tree/README.md
+
+       https://github.com/selinuxproject/selinux-kernel/wiki
+
+Information about the SELinux userspace can be found at

I added a colon to the end of the line above, "... found at:", to match the style used previously in the file.

Quoted 9 lines

Documentation/admin-guide/LSM/SELinux.rst line 15

Quoted 3 lines
Documentation/admin-guide/LSM/SELinux.rst +3 -0
+
+         https://github.com/SELinuxProject/selinux/wiki
+

I'm not sure if you were using an odd editor, but the horizontal white space before the URLs was odd, including a varying combination of tabs and spaces. I changed the whitespace to just a single tab to match the rest of the file, but if your spacing was intentional please let me know and I'll back out my changes.

Sorry about that - I am going to blame emacs ;)

Quoted 9 lines
Quoted 6 lines
Documentation/admin-guide/LSM/SELinux.rst +0 -1
 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
--

2.49.0

--
paul-moore.com