selinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] semanage-node.8: describe netmask
@ 2020-06-03 10:15 Topi Miettinen
  2020-06-08 15:20 ` Stephen Smalley
  0 siblings, 1 reply; 3+ messages in thread
From: Topi Miettinen @ 2020-06-03 10:15 UTC (permalink / raw)
  To: selinux; +Cc: Topi Miettinen

Network Mask argument for `semanage node` accepts also the simple CIDR
mask format, so let's document it.

Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
---
 python/semanage/semanage-node.8 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/semanage/semanage-node.8 b/python/semanage/semanage-node.8
index e0b0e56c..a0098221 100644
--- a/python/semanage/semanage-node.8
+++ b/python/semanage/semanage-node.8
@@ -45,7 +45,7 @@ Extract customizable commands, for use within a transaction
 Remove all local customizations
 .TP
 .I   \-M NETMASK, \-\-netmask NETMASK
-Network Mask
+Network Mask, either in CIDR (/16) or address mask notation (255.255.0.0, ffff::)
 .TP
 .I   \-t TYPE, \-\-type TYPE
 SELinux type for the object
-- 
2.26.2


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

* Re: [PATCH] semanage-node.8: describe netmask
  2020-06-03 10:15 [PATCH] semanage-node.8: describe netmask Topi Miettinen
@ 2020-06-08 15:20 ` Stephen Smalley
  2020-06-09 19:49   ` Stephen Smalley
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Smalley @ 2020-06-08 15:20 UTC (permalink / raw)
  To: Topi Miettinen; +Cc: SElinux list

On Wed, Jun 3, 2020 at 6:16 AM Topi Miettinen <toiwoton@gmail.com> wrote:
>
> Network Mask argument for `semanage node` accepts also the simple CIDR
> mask format, so let's document it.
>
> Signed-off-by: Topi Miettinen <toiwoton@gmail.com>

Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>

> ---
>  python/semanage/semanage-node.8 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/python/semanage/semanage-node.8 b/python/semanage/semanage-node.8
> index e0b0e56c..a0098221 100644
> --- a/python/semanage/semanage-node.8
> +++ b/python/semanage/semanage-node.8
> @@ -45,7 +45,7 @@ Extract customizable commands, for use within a transaction
>  Remove all local customizations
>  .TP
>  .I   \-M NETMASK, \-\-netmask NETMASK
> -Network Mask
> +Network Mask, either in CIDR (/16) or address mask notation (255.255.0.0, ffff::)
>  .TP
>  .I   \-t TYPE, \-\-type TYPE
>  SELinux type for the object
> --
> 2.26.2
>

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

* Re: [PATCH] semanage-node.8: describe netmask
  2020-06-08 15:20 ` Stephen Smalley
@ 2020-06-09 19:49   ` Stephen Smalley
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Smalley @ 2020-06-09 19:49 UTC (permalink / raw)
  To: Topi Miettinen; +Cc: SElinux list

On Mon, Jun 8, 2020 at 11:20 AM Stephen Smalley
<stephen.smalley.work@gmail.com> wrote:
>
> On Wed, Jun 3, 2020 at 6:16 AM Topi Miettinen <toiwoton@gmail.com> wrote:
> >
> > Network Mask argument for `semanage node` accepts also the simple CIDR
> > mask format, so let's document it.
> >
> > Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
>
> Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>

Applied

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

end of thread, other threads:[~2020-06-09 19:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-03 10:15 [PATCH] semanage-node.8: describe netmask Topi Miettinen
2020-06-08 15:20 ` Stephen Smalley
2020-06-09 19:49   ` 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).