logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

security_check_context - check the validity of a SELinux context

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);

See Also