x SuSE Linux 13.1-RELEASE x
x SuSE Linux 13.1-RELEASEx
security_check_context(3) SELinux API documentation security_check_context(3)
NAME
security_check_context - check the validity of a SELinux context
SYNOPSIS
#include <selinux/selinux.h>
int security_check_context(const char *con);
int security_check_context_raw(const char *con);
DESCRIPTION
security_check_context() returns 0 if SELinux is running and the con-
text is valid, otherwise it returns -1.
security_check_context_raw() behaves identically to
security_check_context() but does not perform context translation.
SEE ALSO
selinux(8)
russell@coker.com.au 1 January 2004 security_check_context(3)
Want to link to this manual page? Use this URL:
<https://star2.abcm.com/cgi-bin/bsdi-man?query=security_check_context&sektion=3&manpath=>