libselinux/libselinux-rhat.patch

31 lines
1.3 KiB
Diff

diff --exclude-from=exclude -N -u -r nsalibselinux/man/man8/getsebool.8 libselinux-1.27.25/man/man8/getsebool.8
--- nsalibselinux/man/man8/getsebool.8 2005-11-16 21:39:52.000000000 -0500
+++ libselinux-1.27.25/man/man8/getsebool.8 2005-11-29 14:19:22.000000000 -0500
@@ -9,7 +9,7 @@
.SH "DESCRIPTION"
.B getsebool
reports where a particular SELinux boolean or
-all SELinux booleans are active or inactive.
+all SELinux booleans are on or off
In certain situations a boolean can be in one state with a pending
change to the other state. getsebool will report this as a pending change.
The pending value indicates
diff --exclude-from=exclude -N -u -r nsalibselinux/utils/getsebool.c libselinux-1.27.25/utils/getsebool.c
--- nsalibselinux/utils/getsebool.c 2004-11-30 15:56:56.000000000 -0500
+++ libselinux-1.27.25/utils/getsebool.c 2005-11-29 14:09:58.000000000 -0500
@@ -85,11 +85,11 @@
}
if (pending != active) {
printf("%s --> %s pending: %s\n", names[i],
- ( active ? "active" : "inactive"),
- ( pending ? "active" : "inactive"));
+ ( active ? "on" : "off"),
+ ( pending ? "on" : "off"));
} else {
printf("%s --> %s\n", names[i],
- ( active ? "active" : "inactive"));
+ ( active ? "on" : "off"));
}
}