diff mbox series

semanage-node.8: describe netmask

Message ID 20200603101534.4666-1-toiwoton@gmail.com (mailing list archive)
State Accepted
Headers show
Series semanage-node.8: describe netmask | expand

Commit Message

Topi Miettinen June 3, 2020, 10:15 a.m. UTC
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(-)

Comments

Stephen Smalley June 8, 2020, 3:20 p.m. UTC | #1
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
>
Stephen Smalley June 9, 2020, 7:49 p.m. UTC | #2
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
diff mbox series

Patch

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