1security_check_context(3) SELinux API documentation security_check_context(3)
23
4
NAME
6security_check_context - check the validity of a SELinux context
7
SYNOPSIS
9#include <selinux/selinux.h>
1011
int security_check_context(security_context_t con);
1213
DESCRIPTION
15security_check_context returns 0 if SELinux is running and the context
16is valid, otherwise it returns -1.
1718
SEE ALSO
20selinux(8)
2122
23
24
25
russell@coker.com.au 1 January 2004 security_check_context(3)