Blame SOURCES/0014-boolsub.patch

25bb7d
diff -up ./setools-3.3.7/secmds/seinfo.c~ ./setools-3.3.7/secmds/seinfo.c
25bb7d
--- ./setools-3.3.7/secmds/seinfo.c~	2013-03-14 15:26:31.467121596 -0400
25bb7d
+++ ./setools-3.3.7/secmds/seinfo.c	2013-03-14 15:35:20.154650517 -0400
25bb7d
@@ -1705,7 +1705,7 @@ int main(int argc, char **argv)
25bb7d
 		case 'b':	       /* conditional booleans */
25bb7d
 			bools = 1;
25bb7d
 			if (optarg != 0)
25bb7d
-				bool_name = optarg;
25bb7d
+				bool_name = selinux_boolean_sub(optarg);
25bb7d
 			break;
25bb7d
 		case OPT_INITIALSID:
25bb7d
 			isids = 1;
25bb7d
diff -up ./setools-3.3.7/secmds/sesearch.c~ ./setools-3.3.7/secmds/sesearch.c
25bb7d
--- ./setools-3.3.7/secmds/sesearch.c~	2013-03-14 15:26:31.539121944 -0400
25bb7d
+++ ./setools-3.3.7/secmds/sesearch.c	2013-03-14 15:34:36.615445562 -0400
25bb7d
@@ -1056,7 +1056,7 @@ int main(int argc, char **argv)
25bb7d
 				printf("Missing boolean for -b (--bool)\n");
25bb7d
 				exit(1);
25bb7d
 			}
25bb7d
-			cmd_opts.bool_name = strdup(optarg);
25bb7d
+			cmd_opts.bool_name = strdup(selinux_boolean_sub(optarg));
25bb7d
 			if (!cmd_opts.bool_name) {
25bb7d
 				fprintf(stderr, "%s\n", strerror(errno));
25bb7d
 				exit(1);