Skip to content

Commit

Permalink
selinux: Update manpages after removing legacy boolean and user code
Browse files Browse the repository at this point in the history
Remove and update all relevant manpages.

Signed-off-by: Richard Haines <[email protected]>
  • Loading branch information
Richard Haines authored and fishilico committed Jul 29, 2019
1 parent c3f9492 commit 2a1766f
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 425 deletions.
12 changes: 4 additions & 8 deletions libselinux/man/man3/security_load_booleans.3
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
Expand All @@ -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.

Expand All @@ -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.
Expand Down
7 changes: 1 addition & 6 deletions libselinux/man/man3/selinux_binary_policy_path.3
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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]>.
Expand Down
1 change: 0 additions & 1 deletion libselinux/man/man3/selinux_booleans_path.3

This file was deleted.

80 changes: 0 additions & 80 deletions libselinux/man/man5/booleans.5

This file was deleted.

68 changes: 0 additions & 68 deletions libselinux/man/man5/local.users.5

This file was deleted.

83 changes: 0 additions & 83 deletions libselinux/man/ru/man5/booleans.5

This file was deleted.

72 changes: 0 additions & 72 deletions libselinux/man/ru/man5/local.users.5

This file was deleted.

Loading

0 comments on commit 2a1766f

Please sign in to comment.