diff options
author | Dan Walsh <dwalsh@redhat.com> | 2012-05-24 05:52:17 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2012-09-12 12:16:17 -0400 |
commit | e4f0a20ee14b5ee3d80f4617ec0d68f61ab36ea1 (patch) | |
tree | 5ec63cc9fedeb9cbe9836546660f85d08237c6a3 /libselinux/utils/getsebool.c | |
parent | cef1d08d1e81cc3e230553966060a7da59eabf6b (diff) | |
download | android_external_selinux-e4f0a20ee14b5ee3d80f4617ec0d68f61ab36ea1.tar.gz android_external_selinux-e4f0a20ee14b5ee3d80f4617ec0d68f61ab36ea1.tar.bz2 android_external_selinux-e4f0a20ee14b5ee3d80f4617ec0d68f61ab36ea1.zip |
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>
Diffstat (limited to 'libselinux/utils/getsebool.c')
0 files changed, 0 insertions, 0 deletions