sepol_check_context(3) debian man page | unix.com

Man Page: sepol_check_context

Operating Environment: debian

Section: 3

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 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 VALUE
Returns 0 on success or -1 with errno set otherwise. sds@tycho.nsa.gov 15 March 2005 sepol_check_context(3)
Related Man Pages
checkmodule(8) - centos
sepol_genusers(3) - debian
set_matchpathcon_flags(3) - centos
set_matchpathcon_invalidcon(3) - centos
set_matchpathcon_printf(3) - centos
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
How can I do this in VI editor?
Find columns in a file based on header and print to new file
How to copy a column of multiple files and paste into new excel file (next to column)?
New UNIX and Linux History Sections