security_check_context(3) centos man page | unix.com

Man Page: security_check_context

Operating Environment: centos

Section: 3

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(security_context_t con); int security_check_context_raw(security_context_t con);
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.
SEE ALSO
selinux(8) russell@coker.com.au 1 January 2004 security_check_context(3)
Related Man Pages
lgetfilecon_raw(3) - centos
fgetfilecon(3) - centos
fgetfilecon_raw(3) - centos
lsetfilecon(3) - centos
setfscreatecon_raw(3) - centos
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
DB2 convert digits to binary format
CentOS7 restoring file capabilities
Controlling user input