selinux/libselinux/man/man3/security_check_context.3
Guillem Jover 9acdd37989 libselinux: man: Add references and man page links to _raw function variants
Signed-off-by: Guillem Jover <guillem@debian.org>
Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
2013-02-05 20:14:43 -05:00

24 lines
658 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(security_context_t "con );
.sp
.BI "int security_check_context_raw(security_context_t "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)"