forked from topjohnwu/selinux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
selinux: Update manpages after removing legacy boolean and user code
Remove and update all relevant manpages. Signed-off-by: Richard Haines <[email protected]>
- Loading branch information
Showing
11 changed files
with
8 additions
and
425 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
.TH "security_get_boolean_names" "3" "15 November 2004" "[email protected]" "SELinux API Documentation" | ||
.SH "NAME" | ||
security_load_booleans, security_set_boolean, security_commit_booleans, | ||
security_set_boolean, security_commit_booleans, | ||
security_get_boolean_names, security_get_boolean_active, | ||
security_get_boolean_pending \- routines for manipulating SELinux boolean values | ||
. | ||
.SH "SYNOPSIS" | ||
.B #include <selinux/selinux.h> | ||
.sp | ||
.BI "int security_load_booleans(char *" path ");" | ||
.sp | ||
.BI "int security_get_boolean_names(char ***" names ", int *" len ");" | ||
.sp | ||
|
@@ -30,10 +28,6 @@ policy without having to load a new policy. | |
The SELinux API allows for a transaction based update. So you can | ||
set several boolean values and then commit them all at once. | ||
|
||
.BR security_load_booleans () | ||
loads policy boolean settings. Path may be NULL, in which case the | ||
booleans are loaded from the active policy boolean configuration file. | ||
|
||
.BR security_get_boolean_names () | ||
provides a list of boolean names, currently supported by the loaded policy. | ||
|
||
|
@@ -47,7 +41,9 @@ returns the active value for boolean or \-1 on failure. | |
sets the pending value for boolean | ||
|
||
.BR security_set_boolean_list () | ||
saves a list of booleans in a single transaction. | ||
saves a list of booleans in a single transaction. Note that the | ||
.BI int " permanent " | ||
flag is deprecated and should be set to zero. | ||
|
||
.BR security_commit_booleans () | ||
commits all pending values for the booleans. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ selinux_path, selinux_policy_root, selinux_binary_policy_path, selinux_current_p | |
selinux_failsafe_context_path, selinux_removable_context_path, | ||
selinux_default_context_path, selinux_user_contexts_path, | ||
selinux_file_context_path, selinux_media_context_path, | ||
selinux_contexts_path, selinux_booleans_path \- These functions return the paths to the active SELinux policy configuration | ||
selinux_contexts_path \- These functions return the paths to the active SELinux policy configuration | ||
directories and files | ||
. | ||
.SH "SYNOPSIS" | ||
|
@@ -40,8 +40,6 @@ directories and files | |
.B const char *selinux_securetty_types_path(void); | ||
.sp | ||
.B const char *selinux_contexts_path(void); | ||
.sp | ||
.B const char *selinux_booleans_path(void); | ||
. | ||
.SH "DESCRIPTION" | ||
These functions return the paths to the active policy configuration | ||
|
@@ -104,9 +102,6 @@ returns the directory containing all of the context configuration files. | |
.sp | ||
.BR selinux_securetty_types_path () | ||
returns the defines tty types for newrole securettys. | ||
.sp | ||
.BR selinux_booleans_path () | ||
returns the initial policy boolean settings. | ||
. | ||
.SH AUTHOR | ||
This manual page was written by Dan Walsh <[email protected]>. | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.