diff mbox series

python/semanage: Start exporting "ibendport" and "ibpkey" entries

Message ID 20181204164455.13353-1-vmojzis@redhat.com (mailing list archive)
State Not Applicable
Headers show
Series python/semanage: Start exporting "ibendport" and "ibpkey" entries | expand

Commit Message

Vit Mojzis Dec. 4, 2018, 4:44 p.m. UTC
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(-)

Comments

Nicolas Iooss Dec. 9, 2018, 3:32 p.m. UTC | #1
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
diff mbox series

Patch

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: