LinuxGuruz
  • Last 5 Forum Topics
    Replies
    Views
    Last post


The Web Only This Site
  • BOOKMARK

  • ADD TO FAVORITES

  • REFERENCES


  • MARC

    Mailing list ARChives
    - Search by -
     Subjects
     Authors
     Bodies





    FOLDOC

    Computing Dictionary




  • Text Link Ads






  • LINUX man pages
  • Linux Man Page Viewer


    The following form allows you to view linux man pages.

    Command:

    sepol_check_context

    
    
    
    

    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 -1 with errno set otherwise.
    
    
    

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

    
    
  • MORE RESOURCE


  • Linux

    The Distributions





    Linux

    The Software





    Linux

    The News



  • MARKETING






  • Toll Free

webmaster@linuxguruz.com
Copyright © 1999 - 2016 by LinuxGuruz