debian man page for security_check_context

Query: security_check_context

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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);
DESCRIPTION
security_check_context returns 0 if SELinux is running and the context is valid, otherwise it returns -1.
SEE ALSO
selinux(8) russell@coker.com.au 1 January 2004 security_check_context(3)
Related Man Pages
fgetfilecon(3) - debian
set_matchpathcon_flags(3) - debian
set_matchpathcon_printf(3) - debian
fsetfilecon(3) - centos
set_matchpathcon_printf(3) - centos
Similar Topics in the Unix Linux Community
Introduction
Detecting unused variables...
One instance of comparing grep and awk
New UNIX and Linux History Sections