selinux/libsemanage
Dan Walsh c9b09be424 libsemanage: Cleanup/fix enable/disable/remove module.
If you specified a portion of the module name the code would disable the module rather
then giving you an error.  For example.

semodule -d http

Would disable the httpd module.
As a matter of fact

semodule -r h

Would disable the first module file name that began with h.

This patch gets the real file name out of the modules and compares it to the name specified.
It also consolodates a bunch of duplicated code, and fixes a return code bug.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
2013-02-05 20:14:42 -05:00
..
example Author: Daniel J Walsh 2008-09-15 09:25:33 -04:00
include whole tree: default make target to all not install 2011-09-16 11:54:04 -04:00
man libsemanage: add ignoredirs config for genhomedircon 2011-12-21 12:25:28 -05:00
src libsemanage: Cleanup/fix enable/disable/remove module. 2013-02-05 20:14:42 -05:00
tests libsemanage: fix semanage_store_access_check calling arguments 2011-09-16 11:54:04 -04:00
.gitignore Add subdirectory .gitignore files. 2009-10-20 21:25:55 -04:00
ChangeLog Version bumps for upstream push 2012-09-13 10:33:58 -04:00
COPYING initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile libselinux: libsemanage: remove build warning when build swig c files 2012-06-28 11:21:16 -04:00
VERSION Version bumps for upstream push 2012-09-13 10:33:58 -04:00