sepol_check_context man page on CentOS

Man page or keyword search:  
man Server   8420 pages
apropos Keyword Search (all sections)
Output format
CentOS logo
[printable version]

sepol_check_contextSE)Linux binary policy API documentatsepol_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 vali‐
       dating a context against the active policy on  a	 SELinux  system,  use
       security_check_context from libselinux instead.

RETURN VALUE
       Returns 0 on success or -EINVAL otherwise.

sds@tycho.nsa.gov		 15 March 2005		sepol_check_context(3)
[top]

List of man pages available for CentOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net