selinux-policy/libselinux/man/man3/security_check_context.3
2005-10-07 13:42:05 +00:00

13 lines
410 B
Groff

.TH "security_check_context" "3" "1 January 2004" "russell@coker.com.au" "SE Linux API documentation"
.SH "NAME"
security_check_context \- check the validity of a context
.SH "SYNOPSIS"
.B #include <selinux/selinux.h>
.sp
.BI "int security_check_context(security_context_t "con );
.SH "DESCRIPTION"
.B security_check_context
returns 0 if SE Linux is running and the context is valid, otherwise it
returns -1.