selinux(8): fix display of man page references
PATCH 1/2 selinux(8): fix display of man page references
The section number shouldn't be bolded. Fix a few references in selinux(8) to match all the other man pages.
Signed-off-by Mike Frysinger <[email protected]>
--- libselinux/man/man8/selinux.8 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
libselinux/man/man8/selinux.8 +5 -5
@@ -95,17 +95,17 @@ This manual page was written by Dan Walsh <[email protected]>. .BR fixfiles (8), .BR setfiles (8), .BR semanage (8), -.BR sepolicy(8) +.BR sepolicy (8) Every confined service on the system has a man page in the following format: .br -.B <servicename>_selinux(8) +.BR <servicename>_selinux (8) -For example, httpd has the -.B httpd_selinux(8) +For example, httpd has the +.BR httpd_selinux (8) man page. -.B man -k selinux +.B man -k selinux Will list all SELinux man pages.
Signature · 1 line
2.11.0.rc2
PATCH 2/2 man: standardize spacing with pointers in prototypes
The majority of prototypes don't put a space between the "*" and the parameter name. i.e. this style is incorrect:
char * foo; Instead, we want: char *foo;
Fix a bunch of references that use this uncommon style.
Signed-off-by Mike Frysinger <[email protected]>
--- libselinux/man/man3/avc_context_to_sid.3 | 2 +- libselinux/man/man3/get_ordered_context_list.3 | 12 ++++----- libselinux/man/man3/getcon.3 | 6 ++--- libselinux/man/man3/getexeccon.3 | 4 +-- libselinux/man/man3/getfscreatecon.3 | 4 +-- libselinux/man/man3/getkeycreatecon.3 | 4 +-- libselinux/man/man3/getsockcreatecon.3 | 4 +-- libselinux/man/man3/is_context_customizable.3 | 2 +- libselinux/man/man3/security_check_context.3 | 4 +-- libselinux/man/man3/security_compute_av.3 | 30 +++++++++++----------- .../man/man3/selinux_check_securetty_context.3 | 2 +- libselinux/man/man3/selinux_file_context_cmp.3 | 4 +-- libselinux/man/man3/selinux_raw_context_to_color.3 | 2 +- libselinux/man/man3/setfilecon.3 | 12 ++++----- 14 files changed, 46 insertions(+), 46 deletions(-)
libselinux/man/man3/avc_context_to_sid.3 +1 -1
@@ -10,7 +10,7 @@ avc_context_to_sid, avc_sid_to_context, avc_get_initial_sid \- obtain and manipu .br .B #include <selinux/avc.h> .sp -.BI "int avc_context_to_sid(char * " ctx ", security_id_t *" sid ");" +.BI "int avc_context_to_sid(char *" ctx ", security_id_t *" sid ");" .sp .BI "int avc_sid_to_context(security_id_t " sid ", char **" ctx ");" .sp
libselinux/man/man3/get_ordered_context_list.3 +6 -6
@@ -7,17 +7,17 @@ get_ordered_context_list, get_ordered_context_list_with_level, get_default_conte .br .B #include <selinux/get_context_list.h> .sp -.BI "int get_ordered_context_list(const char *" user ", char * "fromcon ", char ***" list ); +.BI "int get_ordered_context_list(const char *" user ", char *" fromcon ", char ***" list ); .sp -.BI "int get_ordered_context_list_with_level(const char *" user ", const char *" level ", char * "fromcon ", char ***" list ); +.BI "int get_ordered_context_list_with_level(const char *" user ", const char *" level ", char *" fromcon ", char ***" list ); .sp -.BI "int get_default_context(const char *" user ", char * "fromcon ", char **" newcon ); +.BI "int get_default_context(const char *" user ", char *" fromcon ", char **" newcon ); .sp -.BI "int get_default_context_with_level(const char *" user ", const char *" level ", char * "fromcon ", char **" newcon ); +.BI "int get_default_context_with_level(const char *" user ", const char *" level ", char *" fromcon ", char **" newcon ); .sp -.BI "int get_default_context_with_role(const char *" user ", const char *" role ", char * " fromcon ", char **" newcon "); +.BI "int get_default_context_with_role(const char *" user ", const char *" role ", char *" fromcon ", char **" newcon "); .sp -.BI "int get_default_context_with_rolelevel(const char *" user ", const char *" level ", const char *" role ", char * " fromcon ", char **" newcon "); +.BI "int get_default_context_with_rolelevel(const char *" user ", const char *" level ", const char *" role ", char *" fromcon ", char **" newcon "); .sp .BI "int query_user_context(char **" list ", char **" newcon ); .sp
libselinux/man/man3/getcon.3 +3 -3
@@ -27,13 +27,13 @@ setcon \- set current security context of a process .sp .BI "int getpeercon_raw(int " fd ", char **" context ); .sp -.BI "void freecon(char * "con ); +.BI "void freecon(char *" con ); .sp .BI "void freeconary(char **" con ); .sp -.BI "int setcon(char * " context ); +.BI "int setcon(char *" context ); .sp -.BI "int setcon_raw(char * " context ); +.BI "int setcon_raw(char *" context ); . .SH "DESCRIPTION" .BR getcon ()
libselinux/man/man3/getexeccon.3 +2 -2
@@ -11,9 +11,9 @@ rpm_execcon \- run a helper for rpm in an appropriate security context .sp .BI "int getexeccon_raw(char **" context ); .sp -.BI "int setexeccon(char * "context ); +.BI "int setexeccon(char *" context ); .sp -.BI "int setexeccon_raw(char * "context ); +.BI "int setexeccon_raw(char *" context ); .sp .BI "int setexecfilecon(const char *" filename ", const char *" fallback_type ); .sp
libselinux/man/man3/getfscreatecon.3 +2 -2
@@ -9,9 +9,9 @@ getfscreatecon, setfscreatecon \- get or set the SELinux security context used f .sp .BI "int getfscreatecon_raw(char **" con ); .sp -.BI "int setfscreatecon(char * "context ); +.BI "int setfscreatecon(char *" context ); .sp -.BI "int setfscreatecon_raw(char * "context ); +.BI "int setfscreatecon_raw(char *" context ); . .SH "DESCRIPTION" .BR getfscreatecon ()
libselinux/man/man3/getkeycreatecon.3 +2 -2
@@ -9,9 +9,9 @@ getkeycreatecon, setkeycreatecon \- get or set the SELinux security context used .sp .BI "int getkeycreatecon_raw(char **" con ); .sp -.BI "int setkeycreatecon(char * "context ); +.BI "int setkeycreatecon(char *" context ); .sp -.BI "int setkeycreatecon_raw(char * "context ); +.BI "int setkeycreatecon_raw(char *" context ); . .SH "DESCRIPTION" .BR getkeycreatecon ()
libselinux/man/man3/getsockcreatecon.3 +2 -2
@@ -9,9 +9,9 @@ getsockcreatecon, setsockcreatecon \- get or set the SELinux security context us .sp .BI "int getsockcreatecon_raw(char **" con ); .sp -.BI "int setsockcreatecon(char * "context ); +.BI "int setsockcreatecon(char *" context ); .sp -.BI "int setsockcreatecon_raw(char * "context ); +.BI "int setsockcreatecon_raw(char *" context ); . .SH "DESCRIPTION" .BR getsockcreatecon ()
libselinux/man/man3/is_context_customizable.3 +1 -1
@@ -5,7 +5,7 @@ is_context_customizable \- check whether SELinux context type is customizable by .SH "SYNOPSIS" .B #include <selinux/selinux.h> .sp -.BI "int is_context_customizable(char * " scon ); +.BI "int is_context_customizable(char *" scon ); . .SH "DESCRIPTION" This function checks whether the type of scon is in the
libselinux/man/man3/security_check_context.3 +2 -2
@@ -5,9 +5,9 @@ security_check_context \- check the validity of a SELinux context .SH "SYNOPSIS" .B #include <selinux/selinux.h> .sp -.BI "int security_check_context(char * "con ); +.BI "int security_check_context(char *" con ); .sp -.BI "int security_check_context_raw(char * "con ); +.BI "int security_check_context_raw(char *" con ); . .SH "DESCRIPTION" .BR security_check_context ()
libselinux/man/man3/security_compute_av.3 +15 -15
@@ -7,39 +7,39 @@ the SELinux policy database in the kernel .SH "SYNOPSIS" .B #include <selinux/selinux.h> .sp -.BI "int security_compute_av(char * "scon ", char * "tcon ", security_class_t "tclass ", access_vector_t "requested ", struct av_decision *" avd ); +.BI "int security_compute_av(char *" scon ", char *" tcon ", security_class_t "tclass ", access_vector_t "requested ", struct av_decision *" avd ); .sp -.BI "int security_compute_av_raw(char * "scon ", char * "tcon ", security_class_t "tclass ", access_vector_t "requested ", struct av_decision *" avd ); +.BI "int security_compute_av_raw(char *" scon ", char *" tcon ", security_class_t "tclass ", access_vector_t "requested ", struct av_decision *" avd ); .sp -.BI "int security_compute_av_flags(char * "scon ", char * "tcon ", security_class_t "tclass ", access_vector_t "requested ", struct av_decision *" avd ); +.BI "int security_compute_av_flags(char *" scon ", char *" tcon ", security_class_t "tclass ", access_vector_t "requested ", struct av_decision *" avd ); .sp -.BI "int security_compute_av_flags_raw(char * "scon ", char * "tcon ", security_class_t "tclass ", access_vector_t "requested ", struct av_decision *" avd ); +.BI "int security_compute_av_flags_raw(char *" scon ", char *" tcon ", security_class_t "tclass ", access_vector_t "requested ", struct av_decision *" avd ); .sp -.BI "int security_compute_create(char * "scon ", char * "tcon ", security_class_t "tclass ", char **" newcon ); +.BI "int security_compute_create(char *" scon ", char *" tcon ", security_class_t "tclass ", char **" newcon ); .sp -.BI "int security_compute_create_raw(char * "scon ", char * "tcon ", security_class_t "tclass ", char **" newcon ); +.BI "int security_compute_create_raw(char *" scon ", char *" tcon ", security_class_t "tclass ", char **" newcon ); .sp -.BI "int security_compute_create_name(char * "scon ", char * "tcon ", security_class_t "tclass ", const char *"objname ", char **" newcon ); +.BI "int security_compute_create_name(char *" scon ", char *" tcon ", security_class_t "tclass ", const char *" objname ", char **" newcon ); .sp -.BI "int security_compute_create_name_raw(char * "scon ", char * "tcon ", security_class_t "tclass ", const char *"objname ", char **" newcon ); +.BI "int security_compute_create_name_raw(char *" scon ", char *" tcon ", security_class_t "tclass ", const char *" objname ", char **" newcon ); .sp -.BI "int security_compute_relabel(char * "scon ", char * "tcon ", security_class_t "tclass ", char **" newcon ); +.BI "int security_compute_relabel(char *" scon ", char *" tcon ", security_class_t "tclass ", char **" newcon ); .sp -.BI "int security_compute_relabel_raw(char * "scon ", char * "tcon ", security_class_t "tclass ", char **" newcon ); +.BI "int security_compute_relabel_raw(char *" scon ", char *" tcon ", security_class_t "tclass ", char **" newcon ); .sp -.BI "int security_compute_member(char * "scon ", char * "tcon ", security_class_t "tclass ", char **" newcon ); +.BI "int security_compute_member(char *" scon ", char *" tcon ", security_class_t "tclass ", char **" newcon ); .sp -.BI "int security_compute_member_raw(char * "scon ", char * "tcon ", security_class_t "tclass ", char **" newcon ); +.BI "int security_compute_member_raw(char *" scon ", char *" tcon ", security_class_t "tclass ", char **" newcon ); .sp -.BI "int security_compute_user(char * "scon ", const char *" username ", char ***" con ); +.BI "int security_compute_user(char *" scon ", const char *" username ", char ***" con ); .sp -.BI "int security_compute_user_raw(char * "scon ", const char *" username ", char ***" con ); +.BI "int security_compute_user_raw(char *" scon ", const char *" username ", char ***" con ); .sp .BI "int security_get_initial_context(const char *" name ", char **" con ); .sp .BI "int security_get_initial_context_raw(const char *" name ", char **" con ); .sp -.BI "int selinux_check_access(const char * " scon ", const char * " tcon ", const char *" class ", const char *" perm ", void *" auditdata); +.BI "int selinux_check_access(const char *" scon ", const char *" tcon ", const char *" class ", const char *" perm ", void *" auditdata); .sp .BI "int selinux_check_passwd_access(access_vector_t " requested ); .sp
libselinux/man/man3/selinux_check_securetty_context.3 +1 -1
@@ -5,7 +5,7 @@ selinux_check_securetty_context \- check whether a SELinux tty security context .SH "SYNOPSIS" .B #include <selinux/selinux.h> .sp -.BI "int selinux_check_securetty_context(char * "tty_context ); +.BI "int selinux_check_securetty_context(char *" tty_context ); . .SH "DESCRIPTION" .BR selinux_check_securetty_context ()
libselinux/man/man3/selinux_file_context_cmp.3 +2 -2
@@ -5,9 +5,9 @@ selinux_file_context_cmp \- Compare two SELinux security contexts excluding the .SH "SYNOPSIS" .B #include <selinux/selinux.h> .sp -.BI "int selinux_file_context_cmp(const char * " a ", " +.BI "int selinux_file_context_cmp(const char *" a ", " .RS -.BI "const char * " b ");" +.BI "const char *" b ");" .RE . .SH "DESCRIPTION"
libselinux/man/man3/selinux_raw_context_to_color.3 +1 -1
@@ -5,7 +5,7 @@ selinux_raw_context_to_color \- Return RGB color string for an SELinux security .SH "SYNOPSIS" .B #include <selinux/selinux.h> .sp -.BI "int selinux_raw_context_to_color(char * " raw ", " +.BI "int selinux_raw_context_to_color(char *" raw ", " .RS .BI "char **" color_str ");" .RE
libselinux/man/man3/setfilecon.3 +6 -6
@@ -5,17 +5,17 @@ setfilecon, fsetfilecon, lsetfilecon \- set SELinux security context of a file .SH "SYNOPSIS" .B #include <selinux/selinux.h> .sp -.BI "int setfilecon(const char *" path ", char * "con ); +.BI "int setfilecon(const char *" path ", char *" con ); .sp -.BI "int setfilecon_raw(const char *" path ", char * "con ); +.BI "int setfilecon_raw(const char *" path ", char *" con ); .sp -.BI "int lsetfilecon(const char *" path ", char * "con ); +.BI "int lsetfilecon(const char *" path ", char *" con ); .sp -.BI "int lsetfilecon_raw(const char *" path ", char * "con ); +.BI "int lsetfilecon_raw(const char *" path ", char *" con ); .sp -.BI "int fsetfilecon(int "fd ", char * "con ); +.BI "int fsetfilecon(int "fd ", char *" con ); .sp -.BI "int fsetfilecon_raw(int "fd ", char * "con ); +.BI "int fsetfilecon_raw(int "fd ", char *" con ); . .SH "DESCRIPTION" .BR setfilecon ()
Signature · 1 line
2.11.0.rc2
Stephen Smalley
AppliedRe: [PATCH 2/2] man: standardize spacing with pointers in prototypes
Quoted 9 lines · Mike Frysinger
The majority of prototypes don't put a space between the "*" and the parameter name. i.e. this style is incorrect:
char * foo; Instead, we want: char *foo;Fix a bunch of references that use this uncommon style.
Signed-off-by Mike Frysinger <[email protected]>
Thanks, applied both patches.
Quoted 302 lines
--- libselinux/man/man3/avc_context_to_sid.3 | 2 +- libselinux/man/man3/get_ordered_context_list.3 | 12 ++++----- libselinux/man/man3/getcon.3 | 6 ++--- libselinux/man/man3/getexeccon.3 | 4 +-- libselinux/man/man3/getfscreatecon.3 | 4 +-- libselinux/man/man3/getkeycreatecon.3 | 4 +-- libselinux/man/man3/getsockcreatecon.3 | 4 +-- libselinux/man/man3/is_context_customizable.3 | 2 +- libselinux/man/man3/security_check_context.3 | 4 +-- libselinux/man/man3/security_compute_av.3 | 30 +++++++++++----------- .../man/man3/selinux_check_securetty_context.3 | 2 +- libselinux/man/man3/selinux_file_context_cmp.3 | 4 +-- libselinux/man/man3/selinux_raw_context_to_color.3 | 2 +- libselinux/man/man3/setfilecon.3 | 12 ++++----- 14 files changed, 46 insertions(+), 46 deletions(-)libselinux/man/man3/avc_context_to_sid.3 +1
-1@@ -10,7 +10,7 @@ avc_context_to_sid, avc_sid_to_context, avc_get_initial_sid \- obtain and manipu .br .B #include <selinux/avc.h> .sp -.BI "int avc_context_to_sid(char * " ctx ", security_id_t *" sid ");" +.BI "int avc_context_to_sid(char *" ctx ", security_id_t *" sid ");" .sp .BI "int avc_sid_to_context(security_id_t " sid ", char **" ctx ");" .splibselinux/man/man3/get_ordered_context_list.3 +6
-6@@ -7,17 +7,17 @@ get_ordered_context_list, get_ordered_context_list_with_level, get_default_conte .br .B #include <selinux/get_context_list.h> .sp -.BI "int get_ordered_context_list(const char *" user ", char * "fromcon ", char ***" list ); +.BI "int get_ordered_context_list(const char *" user ", char *" fromcon ", char ***" list ); .sp -.BI "int get_ordered_context_list_with_level(const char *" user ", const char *" level ", char * "fromcon ", char ***" list ); +.BI "int get_ordered_context_list_with_level(const char *" user ", const char *" level ", char *" fromcon ", char ***" list ); .sp -.BI "int get_default_context(const char *" user ", char * "fromcon ", char **" newcon ); +.BI "int get_default_context(const char *" user ", char *" fromcon ", char **" newcon ); .sp -.BI "int get_default_context_with_level(const char *" user ", const char *" level ", char * "fromcon ", char **" newcon ); +.BI "int get_default_context_with_level(const char *" user ", const char *" level ", char *" fromcon ", char **" newcon ); .sp -.BI "int get_default_context_with_role(const char *" user ", const char *" role ", char * " fromcon ", char **" newcon "); +.BI "int get_default_context_with_role(const char *" user ", const char *" role ", char *" fromcon ", char **" newcon "); .sp -.BI "int get_default_context_with_rolelevel(const char *" user ", const char *" level ", const char *" role ", char * " fromcon ", char **" newcon "); +.BI "int get_default_context_with_rolelevel(const char *" user ", const char *" level ", const char *" role ", char *" fromcon ", char **" newcon "); .sp .BI "int query_user_context(char **" list ", char **" newcon ); .splibselinux/man/man3/getcon.3 +3
-3@@ -27,13 +27,13 @@ setcon \- set current security context of a process .sp .BI "int getpeercon_raw(int " fd ", char **" context ); .sp -.BI "void freecon(char * "con ); +.BI "void freecon(char *" con ); .sp .BI "void freeconary(char **" con ); .sp -.BI "int setcon(char * " context ); +.BI "int setcon(char *" context ); .sp -.BI "int setcon_raw(char * " context ); +.BI "int setcon_raw(char *" context ); . .SH "DESCRIPTION" .BR getcon ()libselinux/man/man3/getexeccon.3 +2
-2@@ -11,9 +11,9 @@ rpm_execcon \- run a helper for rpm in an appropriate security context .sp .BI "int getexeccon_raw(char **" context ); .sp -.BI "int setexeccon(char * "context ); +.BI "int setexeccon(char *" context ); .sp -.BI "int setexeccon_raw(char * "context ); +.BI "int setexeccon_raw(char *" context ); .sp .BI "int setexecfilecon(const char *" filename ", const char *" fallback_type ); .splibselinux/man/man3/getfscreatecon.3 +2
-2@@ -9,9 +9,9 @@ getfscreatecon, setfscreatecon \- get or set the SELinux security context used f .sp .BI "int getfscreatecon_raw(char **" con ); .sp -.BI "int setfscreatecon(char * "context ); +.BI "int setfscreatecon(char *" context ); .sp -.BI "int setfscreatecon_raw(char * "context ); +.BI "int setfscreatecon_raw(char *" context ); . .SH "DESCRIPTION" .BR getfscreatecon ()libselinux/man/man3/getkeycreatecon.3 +2
-2@@ -9,9 +9,9 @@ getkeycreatecon, setkeycreatecon \- get or set the SELinux security context used .sp .BI "int getkeycreatecon_raw(char **" con ); .sp -.BI "int setkeycreatecon(char * "context ); +.BI "int setkeycreatecon(char *" context ); .sp -.BI "int setkeycreatecon_raw(char * "context ); +.BI "int setkeycreatecon_raw(char *" context ); . .SH "DESCRIPTION" .BR getkeycreatecon ()libselinux/man/man3/getsockcreatecon.3 +2
-2@@ -9,9 +9,9 @@ getsockcreatecon, setsockcreatecon \- get or set the SELinux security context us .sp .BI "int getsockcreatecon_raw(char **" con ); .sp -.BI "int setsockcreatecon(char * "context ); +.BI "int setsockcreatecon(char *" context ); .sp -.BI "int setsockcreatecon_raw(char * "context ); +.BI "int setsockcreatecon_raw(char *" context ); . .SH "DESCRIPTION" .BR getsockcreatecon ()libselinux/man/man3/is_context_customizable.3 +1
-1@@ -5,7 +5,7 @@ is_context_customizable \- check whether SELinux context type is customizable by .SH "SYNOPSIS" .B #include <selinux/selinux.h> .sp -.BI "int is_context_customizable(char * " scon ); +.BI "int is_context_customizable(char *" scon ); . .SH "DESCRIPTION" This function checks whether the type of scon is in thelibselinux/man/man3/security_check_context.3 +2
-2@@ -5,9 +5,9 @@ security_check_context \- check the validity of a SELinux context .SH "SYNOPSIS" .B #include <selinux/selinux.h> .sp -.BI "int security_check_context(char * "con ); +.BI "int security_check_context(char *" con ); .sp -.BI "int security_check_context_raw(char * "con ); +.BI "int security_check_context_raw(char *" con ); . .SH "DESCRIPTION" .BR security_check_context ()libselinux/man/man3/security_compute_av.3 +15
-15@@ -7,39 +7,39 @@ the SELinux policy database in the kernel .SH "SYNOPSIS" .B #include <selinux/selinux.h> .sp -.BI "int security_compute_av(char * "scon ", char * "tcon ", security_class_t "tclass ", access_vector_t "requested ", struct av_decision *" avd ); +.BI "int security_compute_av(char *" scon ", char *" tcon ", security_class_t "tclass ", access_vector_t "requested ", struct av_decision *" avd ); .sp -.BI "int security_compute_av_raw(char * "scon ", char * "tcon ", security_class_t "tclass ", access_vector_t "requested ", struct av_decision *" avd ); +.BI "int security_compute_av_raw(char *" scon ", char *" tcon ", security_class_t "tclass ", access_vector_t "requested ", struct av_decision *" avd ); .sp -.BI "int security_compute_av_flags(char * "scon ", char * "tcon ", security_class_t "tclass ", access_vector_t "requested ", struct av_decision *" avd ); +.BI "int security_compute_av_flags(char *" scon ", char *" tcon ", security_class_t "tclass ", access_vector_t "requested ", struct av_decision *" avd ); .sp -.BI "int security_compute_av_flags_raw(char * "scon ", char * "tcon ", security_class_t "tclass ", access_vector_t "requested ", struct av_decision *" avd ); +.BI "int security_compute_av_flags_raw(char *" scon ", char *" tcon ", security_class_t "tclass ", access_vector_t "requested ", struct av_decision *" avd ); .sp -.BI "int security_compute_create(char * "scon ", char * "tcon ", security_class_t "tclass ", char **" newcon ); +.BI "int security_compute_create(char *" scon ", char *" tcon ", security_class_t "tclass ", char **" newcon ); .sp -.BI "int security_compute_create_raw(char * "scon ", char * "tcon ", security_class_t "tclass ", char **" newcon ); +.BI "int security_compute_create_raw(char *" scon ", char *" tcon ", security_class_t "tclass ", char **" newcon ); .sp -.BI "int security_compute_create_name(char * "scon ", char * "tcon ", security_class_t "tclass ", const char *"objname ", char **" newcon ); +.BI "int security_compute_create_name(char *" scon ", char *" tcon ", security_class_t "tclass ", const char *" objname ", char **" newcon ); .sp -.BI "int security_compute_create_name_raw(char * "scon ", char * "tcon ", security_class_t "tclass ", const char *"objname ", char **" newcon ); +.BI "int security_compute_create_name_raw(char *" scon ", char *" tcon ", security_class_t "tclass ", const char *" objname ", char **" newcon ); .sp -.BI "int security_compute_relabel(char * "scon ", char * "tcon ", security_class_t "tclass ", char **" newcon ); +.BI "int security_compute_relabel(char *" scon ", char *" tcon ", security_class_t "tclass ", char **" newcon ); .sp -.BI "int security_compute_relabel_raw(char * "scon ", char * "tcon ", security_class_t "tclass ", char **" newcon ); +.BI "int security_compute_relabel_raw(char *" scon ", char *" tcon ", security_class_t "tclass ", char **" newcon ); .sp -.BI "int security_compute_member(char * "scon ", char * "tcon ", security_class_t "tclass ", char **" newcon ); +.BI "int security_compute_member(char *" scon ", char *" tcon ", security_class_t "tclass ", char **" newcon ); .sp -.BI "int security_compute_member_raw(char * "scon ", char * "tcon ", security_class_t "tclass ", char **" newcon ); +.BI "int security_compute_member_raw(char *" scon ", char *" tcon ", security_class_t "tclass ", char **" newcon ); .sp -.BI "int security_compute_user(char * "scon ", const char *" username ", char ***" con ); +.BI "int security_compute_user(char *" scon ", const char *" username ", char ***" con ); .sp -.BI "int security_compute_user_raw(char * "scon ", const char *" username ", char ***" con ); +.BI "int security_compute_user_raw(char *" scon ", const char *" username ", char ***" con ); .sp .BI "int security_get_initial_context(const char *" name ", char **" con ); .sp .BI "int security_get_initial_context_raw(const char *" name ", char **" con ); .sp -.BI "int selinux_check_access(const char * " scon ", const char * " tcon ", const char *" class ", const char *" perm ", void *" auditdata); +.BI "int selinux_check_access(const char *" scon ", const char *" tcon ", const char *" class ", const char *" perm ", void *" auditdata); .sp .BI "int selinux_check_passwd_access(access_vector_t " requested ); .splibselinux/man/man3/selinux_check_securetty_context.3 +1
-1@@ -5,7 +5,7 @@ selinux_check_securetty_context \- check whether a SELinux tty security context .SH "SYNOPSIS" .B #include <selinux/selinux.h> .sp -.BI "int selinux_check_securetty_context(char * "tty_context ); +.BI "int selinux_check_securetty_context(char *" tty_context ); . .SH "DESCRIPTION" .BR selinux_check_securetty_context ()libselinux/man/man3/selinux_file_context_cmp.3 +2
-2@@ -5,9 +5,9 @@ selinux_file_context_cmp \- Compare two SELinux security contexts excluding the .SH "SYNOPSIS" .B #include <selinux/selinux.h> .sp -.BI "int selinux_file_context_cmp(const char * " a ", " +.BI "int selinux_file_context_cmp(const char *" a ", " .RS -.BI "const char * " b ");" +.BI "const char *" b ");" .RE . .SH "DESCRIPTION"libselinux/man/man3/selinux_raw_context_to_color.3 +1
-1@@ -5,7 +5,7 @@ selinux_raw_context_to_color \- Return RGB color string for an SELinux security .SH "SYNOPSIS" .B #include <selinux/selinux.h> .sp -.BI "int selinux_raw_context_to_color(char * " raw ", " +.BI "int selinux_raw_context_to_color(char *" raw ", " .RS .BI "char **" color_str ");" .RElibselinux/man/man3/setfilecon.3 +6
-6@@ -5,17 +5,17 @@ setfilecon, fsetfilecon, lsetfilecon \- set SELinux security context of a file .SH "SYNOPSIS" .B #include <selinux/selinux.h> .sp -.BI "int setfilecon(const char *" path ", char * "con ); +.BI "int setfilecon(const char *" path ", char *" con ); .sp -.BI "int setfilecon_raw(const char *" path ", char * "con ); +.BI "int setfilecon_raw(const char *" path ", char *" con ); .sp -.BI "int lsetfilecon(const char *" path ", char * "con ); +.BI "int lsetfilecon(const char *" path ", char *" con ); .sp -.BI "int lsetfilecon_raw(const char *" path ", char * "con ); +.BI "int lsetfilecon_raw(const char *" path ", char *" con ); .sp -.BI "int fsetfilecon(int "fd ", char * "con ); +.BI "int fsetfilecon(int "fd ", char *" con ); .sp -.BI "int fsetfilecon_raw(int "fd ", char * "con ); +.BI "int fsetfilecon_raw(int "fd ", char *" con ); . .SH "DESCRIPTION" .BR setfilecon ()