sepol_check_context(3) SE Linux binary policy API documentation sepol_check_context(3) NAME sepol_check_context - Check the validity of a security context against a binary policy. SYNOPSIS #include <sepol/sepol.h> int sepol_check_context(const char *context); int sepol_set_policydb_from_file(FILE *fp); DESCRIPTION sepol_check_context checks the validity of a security context against a binary policy pre- viously loaded from a file via sepol_set_policydb_from_file. It is used by setfiles -c to validate a file contexts configuration against the binary policy upon policy builds. For validating a context against the active policy on a SELinux system, use secu- rity_check_context from libselinux instead. RETURN VALUE Returns 0 on success or -1 with errno set otherwise. sds AT tycho.gov 15 March 2005 sepol_check_context(3)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-11-23 17:27 @18.119.163.95 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)