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