selinux/libselinux/man/man3/security_check_context.3
Christian Göttsche 21fb5f20da libselinux: use full argument specifiers for security_check_context in man page
The argument for security_check_context(_raw) is defined as `const char *`.

Say so in the man page.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>
2020-08-26 14:21:54 -04:00

24 lines
646 B
Groff

.TH "security_check_context" "3" "1 January 2004" "russell@coker.com.au" "SELinux API documentation"
.SH "NAME"
security_check_context \- check the validity of a SELinux context
.
.SH "SYNOPSIS"
.B #include <selinux/selinux.h>
.sp
.BI "int security_check_context(const char *" con );
.sp
.BI "int security_check_context_raw(const char *" con );
.
.SH "DESCRIPTION"
.BR security_check_context ()
returns 0 if SELinux is running and the context is valid, otherwise it
returns \-1.
.BR security_check_context_raw ()
behaves identically to
.BR \%security_check_context ()
but does not perform context translation.
.
.SH "SEE ALSO"
.BR selinux "(8)"