Query: sepol_check_context
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
sepol_check_context(3) SE Linux binary policy API documentation sepol_check_context(3)NAMEsepol_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);DESCRIPTIONsepol_check_context checks the validity of a security context against a binary policy previously loaded from a file via sepol_set_poli- cydb_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 security_check_context from libselinux instead.RETURN VALUEReturns 0 on success or -1 with errno set otherwise. sds@tycho.nsa.gov 15 March 2005 sepol_check_context(3)
Related Man Pages |
---|
semodule_package(8) - centos |
set_matchpathcon_flags(3) - debian |
checkpolicy(8) - debian |
sepol_genusers(3) - centos |
set_matchpathcon_invalidcon(3) - centos |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
One instance of comparing grep and awk |
Weird 'find' results |
New UNIX and Linux History Sections |