Skip to contentSkip to conversation

sepolicy: clarify manual page of sepolicy interface

PATCH In review Topi Miettinen 3 participants 3 messages Jun 4, 2023 – Jun 8, 2023 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sepolicy: clarify manual page of sepolicy interface

Expand the description to make it more clear what "interfaces" mean here. They're different from network interfaces used by SELinux command semanage interface.

Add a note that the information comes from on-disk file which has been installed and it doesn't necessarily match the policy loaded to the kernel.

---
 python/sepolicy/sepolicy-interface.8 | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
python/sepolicy/sepolicy-interface.8 +5 -1
index 3e74ea62..c8985afb 100644
@@ -8,7 +8,11 @@ sepolicy-interface \- Print interface information based on the installed SELinux
 .B sepolicy interface  [\-h] [\-c] [\-v] [\-a | \-u | \-l | \-i INTERFACE [INTERFACE ... ]]
 
 .SH "DESCRIPTION"
-Use sepolicy interface to print interfaces information based on SELinux Policy.
+Use sepolicy interface to print information of interface macros
+between domains in SELinux policy modules, as used in Reference
+Policy. The information is based on installed on-disk representation
+of the SELinux Policy and it may be different from the policy which is
+currently loaded.
 
 .SH "OPTIONS"
 .TP
Signature · 1 line
2.39.2
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Topi Miettinen

Expand the description to make it more clear what "interfaces" mean here. They're different from network interfaces used by SELinux command semanage interface.

Add a note that the information comes from on-disk file which has been installed and it doesn't necessarily match the policy loaded to the kernel.

Thanks!

Quoted 23 lines
---
 python/sepolicy/sepolicy-interface.8 | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
python/sepolicy/sepolicy-interface.8 +5 -1
index 3e74ea62..c8985afb 100644
@@ -8,7 +8,11 @@ sepolicy-interface \- Print interface information based on the installed SELinux
 .B sepolicy interface  [\-h] [\-c] [\-v] [\-a | \-u | \-l | \-i INTERFACE [INTERFACE ... ]]
 
 .SH "DESCRIPTION"
-Use sepolicy interface to print interfaces information based on SELinux Policy.
+Use sepolicy interface to print information of interface macros
+between domains in SELinux policy modules, as used in Reference
+Policy. The information is based on installed on-disk representation
+of the SELinux Policy and it may be different from the policy which is
+currently loaded.
 
 .SH "OPTIONS"
 .TP
Signature · 1 line
2.39.2
#2 lore raw
Quoted 7 lines · Petr Lautrbach
Quoted 4 lines · Topi Miettinen

Expand the description to make it more clear what "interfaces" mean here. They're different from network interfaces used by SELinux command semanage interface.

Quoted 8 lines
Quoted 5 lines

Add a note that the information comes from on-disk file which has been installed and it doesn't necessarily match the policy loaded to the kernel.

Merged.
Thanks,
Jim

Quoted 26 lines

Thanks!

Quoted 23 lines
---
 python/sepolicy/sepolicy-interface.8 | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
python/sepolicy/sepolicy-interface.8 +5 -2
index 3e74ea62..c8985afb 100644
@@ -8,7 +8,11 @@ sepolicy-interface \- Print interface information based on the installed SELinux
 .B sepolicy interface  [\-h] [\-c] [\-v] [\-a | \-u | \-l | \-i INTERFACE [INTERFACE ... ]]
 
 .SH "DESCRIPTION"
-Use sepolicy interface to print interfaces information based on SELinux Policy.
+Use sepolicy interface to print information of interface macros
+between domains in SELinux policy modules, as used in Reference
+Policy. The information is based on installed on-disk representation
+of the SELinux Policy and it may be different from the policy which is
+currently loaded.
 
 .SH "OPTIONS"
 .TP
--

2.39.2