selinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] improve semanage man pages: Add examples for -r RANGE flag
@ 2025-10-07 15:06 Pranav Lawate
  2025-10-07 15:06 ` [PATCH 1/1] improve semanage man pages: Add examples for -r RANGE flag usage Pranav Lawate
  0 siblings, 1 reply; 4+ messages in thread
From: Pranav Lawate @ 2025-10-07 15:06 UTC (permalink / raw)
  To: selinux; +Cc: pran.lawate, vmojzis, Stephen Smalley

From: Pranav Lawate <pran.lawate@gmail.com>

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(+)

-- 
2.51.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-10-08 13:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-07 15:06 [PATCH 0/1] improve semanage man pages: Add examples for -r RANGE flag Pranav Lawate
2025-10-07 15:06 ` [PATCH 1/1] improve semanage man pages: Add examples for -r RANGE flag usage Pranav Lawate
2025-10-07 15:14   ` Stephen Smalley
2025-10-08 13:15     ` Stephen Smalley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).