psss / rpms / libselinux

Forked from rpms/libselinux 5 years ago
Clone
fed1ce5
diff --exclude-from=exclude -N -u -r nsalibselinux/man/man8/booleans.8 libselinux-1.30.1/man/man8/booleans.8
fed1ce5
--- nsalibselinux/man/man8/booleans.8	2004-11-02 11:44:38.000000000 -0500
fed1ce5
+++ libselinux-1.30.1/man/man8/booleans.8	2006-04-11 15:01:19.000000000 -0400
fed1ce5
@@ -17,17 +17,10 @@
fed1ce5
 value.  
fed1ce5
 
fed1ce5
 The policy defines a default value for each boolean, typically false.
fed1ce5
-These default values can be overridden at boot-time based on the
fed1ce5
-settings in the
fed1ce5
-.I /etc/selinux/SELINUXTYPE/booleans
fed1ce5
-file, where
fed1ce5
-SELINUXTYPE is the type of policy currently being run on the system as
fed1ce5
-defined in the
fed1ce5
-.I /etc/selinux/config
fed1ce5
-file.  The
fed1ce5
+These default values can be overridden.  The
fed1ce5
 .B system-config-securitylevel
fed1ce5
 tool provides an interface for altering
fed1ce5
-the settings in this file.  The
fed1ce5
+the settings of booleans.  The
fed1ce5
 .B load_policy(8)
fed1ce5
 program will preserve
fed1ce5
 current boolean settings upon a policy reload by default, or can
fed1ce5
@@ -41,8 +34,11 @@
fed1ce5
 .B setsebool(8)
fed1ce5
 utility or the
fed1ce5
 .B togglesebool
fed1ce5
-utility.  These utilities only change the
fed1ce5
+utility.  These utilities change the
fed1ce5
 current boolean value and do not affect the boot-time settings.
fed1ce5
+You can use 
fed1ce5
+.B setsebool -P 
fed1ce5
+to permanantly change the setting of a boolean.
fed1ce5
 
fed1ce5
 .SH AUTHOR	
fed1ce5
 This manual page was written by Dan Walsh <dwalsh@redhat.com>.
fed1ce5
@@ -51,5 +47,3 @@
fed1ce5
 .SH "SEE ALSO"
fed1ce5
 getsebool(8), setsebool(8), selinux(8), togglesebool(8)
fed1ce5
 
fed1ce5
-.SH FILES
fed1ce5
-/etc/selinux/SELINUXTYPE/booleans, /etc/selinux/config
c8030dc
diff --exclude-from=exclude -N -u -r nsalibselinux/src/selinuxswig.i libselinux-1.30.1/src/selinuxswig.i
c8030dc
--- nsalibselinux/src/selinuxswig.i	2006-01-04 10:37:35.000000000 -0500
fed1ce5
+++ libselinux-1.30.1/src/selinuxswig.i	2006-04-11 14:55:35.000000000 -0400
c8030dc
@@ -29,8 +29,9 @@
c8030dc
 	$1 = &tem;;
c8030dc
 }
c8030dc
 %typemap(argout) security_context_t * {
c8030dc
-	$result = t_output_helper($result, PyString_FromString(*$1));
c8030dc
+	$result = SWIG_Python_AppendOutput($result, PyString_FromString(*$1));
c8030dc
 }
c8030dc
+%typedef unsigned mode_t;
c8030dc
 
c8030dc
 extern int is_selinux_enabled(void);
c8030dc
 extern int is_selinux_mls_enabled(void);
c8030dc
@@ -114,6 +115,6 @@
c8030dc
 }
c8030dc
 
c8030dc
 %typemap(argout) char ** {
c8030dc
-	$result = t_output_helper($result, PyString_FromString(*$1));
c8030dc
+	$result = SWIG_Python_AppendOutput($result, PyString_FromString(*$1));
c8030dc
 }
c8030dc
 extern int getseuserbyname(const char *linuxuser, char **seuser, char **level);