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:

    selinux_file_context_verify

    
    
    
    

    SYNOPSIS

           #include <selinux/selinux.h>
    
           int selinux_file_context_cmp(const security_context_t  a,  const  secu-
           rity_context_t b);
    
           int selinux_file_context_verify(const char *path, mode_t mode);
    
    
    

    DESCRIPTION

           selinux_file_context_cmp  compares  two  file  contexts to see if their
           differences are "significant", the function runs  the  strcmp  function
           ignoring the user componant of the file context.
    
           selinux_file_context_verify  compares  the  file context on disk to the
           system default.
    
    
    

    RETURN VALUE

           Returns zero on success or -1 otherwise.
    
    
    

    SEE ALSO

           selinux(8), selinux_lsetfilecon(3), matchpathcon(3),  freecon(3),  set-
           filecon(3), setfscreatecon(3)
    
    
    

    sds@tycho.nsa.gov 21 November 2009 selinux_file_context_cmp(3)

    
    
  • MORE RESOURCE


  • Linux

    The Distributions





    Linux

    The Software





    Linux

    The News



  • MARKETING






  • Toll Free

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