security_check_context - check the validity of a SELinux context
Contents
Description
security_check_context() returns 0 if SELinux is running and the context is valid, otherwise it returns
-1.
security_check_context_raw() behaves identically to security_check_context() but does not perform context
translation.
Name
security_check_context - check the validity of a SELinux context
See Also
selinux(8) russell@coker.com.au 1 January 2004 security_check_context(3)
Synopsis
#include<selinux/selinux.h>intsecurity_check_context(constchar*con);intsecurity_check_context_raw(constchar*con);
