All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Lautrbach <lautrbach@redhat.com>
To: Topi Miettinen <toiwoton@gmail.com>, selinux@vger.kernel.org
Cc: Topi Miettinen <toiwoton@gmail.com>
Subject: Re: [PATCH] sepolicy: clarify manual page of sepolicy interface
Date: Mon, 05 Jun 2023 10:56:03 +0200	[thread overview]
Message-ID: <877csijnj0.fsf@redhat.com> (raw)
In-Reply-To: <20230604115726.11247-1-toiwoton@gmail.com>

Topi Miettinen <toiwoton@gmail.com> writes:

> 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.
>
> Signed-off-by: Topi Miettinen <toiwoton@gmail.com>

Acked-by: Petr Lautrbach <lautrbach@redhat.com>

Thanks!

> ---
>  python/sepolicy/sepolicy-interface.8 | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/python/sepolicy/sepolicy-interface.8 b/python/sepolicy/sepolicy-interface.8
> index 3e74ea62..c8985afb 100644
> --- a/python/sepolicy/sepolicy-interface.8
> +++ b/python/sepolicy/sepolicy-interface.8
> @@ -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


  reply	other threads:[~2023-06-05  8:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-04 11:57 [PATCH] sepolicy: clarify manual page of sepolicy interface Topi Miettinen
2023-06-05  8:56 ` Petr Lautrbach [this message]
2023-06-08 19:52   ` James Carter

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=877csijnj0.fsf@redhat.com \
    --to=lautrbach@redhat.com \
    --cc=selinux@vger.kernel.org \
    --cc=toiwoton@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.