Skip to content

improve semanage man pages: Add examples for -r RANGE flag

Pranav Lawate selinux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1improve semanage man pages: Add examples for -r RANGE flag usagepython/semanage/semanage-fcontext.8 python/semanage/semanage-port.8+7 -02 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchStephen Smalley
1/1A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/1] improve semanage man pages: Add examples for -r RANGE flag

From: Pranav Lawate <[email protected]>

This patch addresses feedback from Stephen Smalley on my previous submission.

Changes made:
- Added -F flag to restorecon in fcontext example (required to force relabeling)
- Changed port example from 443 to custom port 9999 (more realistic use case)
- Added seinfo --portcon -x verification command to demonstrate that MLS range is actually applied (semanage port -l only shows type information, not the MLS range)

The seinfo verification output shows:
portcon tcp 9999 system_u:object_r:http_port_t:s0:c0.c255

Pranav Lawate (1):
improve semanage man pages: Add examples for -r RANGE flag usage

 python/semanage/semanage-fcontext.8 | 4 ++++
 python/semanage/semanage-port.8     | 3 +++
 2 files changed, 7 insertions(+)
Signature · 1 line
2.51.0