platform_external_selinux/policycoreutils/setsebool
Dan Walsh e4f0a20ee1 polciycoreutils: setsebool: error when setting multiple options
If one were to use multiple options such as both -P and -N we would have
problems.  The issue is that for some reason instead of looking at
optind (the first non-option) we were looking at argc-optind.  These
happen to be the same if there are 0 or 1 options, but doesn't work with
more than 1 option.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
2012-09-12 12:16:17 -04:00
..
Makefile policycoreutils: Add bash-completion scripts for setsebool and semanage 2012-03-28 14:52:13 -04:00
setsebool-bash-completion.sh policycoreutils: Add bash-completion scripts for setsebool and semanage 2012-03-28 14:52:13 -04:00
setsebool.8 policycoreutils: setsebool: -N should not reload policy on changes 2012-09-12 12:16:14 -04:00
setsebool.c polciycoreutils: setsebool: error when setting multiple options 2012-09-12 12:16:17 -04:00