selinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] python/semanage: Start exporting "ibendport" and "ibpkey" entries
@ 2018-12-04 16:44 Vit Mojzis
  2018-12-09 15:32 ` Nicolas Iooss
  0 siblings, 1 reply; 2+ messages in thread
From: Vit Mojzis @ 2018-12-04 16:44 UTC (permalink / raw)
  To: selinux

Include "ibendport" and "ibpkey" entries in "semanage export".

Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
---
 python/semanage/semanage | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/semanage/semanage b/python/semanage/semanage
index f4be9750..a192fac8 100644
--- a/python/semanage/semanage
+++ b/python/semanage/semanage
@@ -776,7 +776,7 @@ def setupDontauditParser(subparsers):
 
 
 def handleExport(args):
-    manageditems = ["boolean", "login", "interface", "user", "port", "node", "fcontext", "module"]
+    manageditems = ["boolean", "login", "interface", "user", "port", "node", "fcontext", "module", "ibendport", "ibpkey"]
     for i in manageditems:
         print("%s -D" % i)
     for i in manageditems:
-- 
2.17.2


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

* Re: [PATCH] python/semanage: Start exporting "ibendport" and "ibpkey" entries
  2018-12-04 16:44 [PATCH] python/semanage: Start exporting "ibendport" and "ibpkey" entries Vit Mojzis
@ 2018-12-09 15:32 ` Nicolas Iooss
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Iooss @ 2018-12-09 15:32 UTC (permalink / raw)
  To: Vit Mojzis; +Cc: selinux

On Tue, Dec 4, 2018 at 5:45 PM Vit Mojzis <vmojzis@redhat.com> wrote:
>
> Include "ibendport" and "ibpkey" entries in "semanage export".
>
> Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
> ---
>  python/semanage/semanage | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/python/semanage/semanage b/python/semanage/semanage
> index f4be9750..a192fac8 100644
> --- a/python/semanage/semanage
> +++ b/python/semanage/semanage
> @@ -776,7 +776,7 @@ def setupDontauditParser(subparsers):
>
>
>  def handleExport(args):
> -    manageditems = ["boolean", "login", "interface", "user", "port", "node", "fcontext", "module"]
> +    manageditems = ["boolean", "login", "interface", "user", "port", "node", "fcontext", "module", "ibendport", "ibpkey"]
>      for i in manageditems:
>          print("%s -D" % i)
>      for i in manageditems:
> --
> 2.17.2

Thanks, I have successfully tested it and merged this patch.
Nicolas


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

end of thread, other threads:[~2018-12-09 15:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-04 16:44 [PATCH] python/semanage: Start exporting "ibendport" and "ibpkey" entries Vit Mojzis
2018-12-09 15:32 ` Nicolas Iooss

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).