From: Pranav Lawate <plawate@redhat.com>
To: selinux@vger.kernel.org
Cc: pran.lawate@gmail.com, vmojzis@redhat.com,
Stephen Smalley <stephen.smalley.work@gmail.com>
Subject: [PATCH 0/1] improve semanage man pages: Add examples for -r RANGE flag
Date: Tue, 7 Oct 2025 20:36:12 +0530 [thread overview]
Message-ID: <20251007150659.33954-1-plawate@redhat.com> (raw)
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
next reply other threads:[~2025-10-07 15:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-07 15:06 Pranav Lawate [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251007150659.33954-1-plawate@redhat.com \
--to=plawate@redhat.com \
--cc=pran.lawate@gmail.com \
--cc=selinux@vger.kernel.org \
--cc=stephen.smalley.work@gmail.com \
--cc=vmojzis@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).