[PATCH 32/90] policycoreutils: semanage: bash completion for modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


   This patch looks good to me. acked.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/I+KEACgkQrlYvE4MpobPlWACgjtLEjWO9VH9RoQYjlPlrNcZv
EgoAn3kJX10blAViA1tGYZv8l4w8HnEn
=hDI2
-----END PGP SIGNATURE-----
>From 34007165a7aa9e86f403f69ef31f79ab70bc48bf Mon Sep 17 00:00:00 2001
From: Dan Walsh <dwalsh@xxxxxxxxxx>
Date: Thu, 29 Mar 2012 12:43:25 -0400
Subject: [PATCH 32/90] policycoreutils: semanage: bash completion for modules
 should include -a,-m, -d

Signed-off-by: Eric Paris <eparis@xxxxxxxxxx>
---
 policycoreutils/semanage/semanage-bash-completion.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/policycoreutils/semanage/semanage-bash-completion.sh b/policycoreutils/semanage/semanage-bash-completion.sh
index ff1285a..edefd9a 100644
--- a/policycoreutils/semanage/semanage-bash-completion.sh
+++ b/policycoreutils/semanage/semanage-bash-completion.sh
@@ -61,7 +61,7 @@ __get_port_opts () { echo '$ALL_OPTS $MANAGED_OPTS -t -type -r --range -p --prot
 __get_interface_opts () { echo '$ALL_OPTS $MANAGED_OPTS -t --type '; }
 __get_node_opts () { echo '$ALL_OPTS $MANAGED_OPTS -t --type -M --mask -p --proto'; }
 __get_fcontext_opts () { echo '$ALL_OPTS $MANAGED_OPTS -t --type -e --equal -f --ftype '; }
-__get_module_opts () { echo '$ALL_OPTS --enable --disable '; }
+__get_module_opts () { echo '$ALL_OPTS $MANAGED_OPTS --enable --disable '; }
 __get_dontaudit_opts () { echo '-S on off' ; }
 __get_permissive_opts () { echo '$ALL_OPTS -a --add -d --delete' ; }
 
-- 
1.7.10.2


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux