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:

    print_access_vector

    
           SELinux class and permission values and string names.
    
           print_access_vector  - display an access vector in human-readable form.
    
    
    

    SYNOPSIS

           #include <selinux/selinux.h>
    
           #include <selinux/flask.h>
    
           const char * security_class_to_string(security_class_t tclass);
    
           const  char   *   security_av_perm_to_string(security_class_t   tclass,
           access_vector_t av);
    
           int  security_av_string(security_class_t  tclass,  access_vector_t  av,
           char **result);
    
           security_class_t string_to_security_class(const char *name);
    
           access_vector_t string_to_av_perm(security_class_t tclass,  const  char
           *name);
    
           void print_access_vector(security_class_t tclass, access_vector_t av);
    
    
    

    DESCRIPTION

           security_class_to_string  returns  a  string  name for class tclass, or
           NULL if the class is invalid.  The returned string must not be modified
           or freed.
    
           security_av_perm_to_string  returns a string name for the access vector
           bit av of class tclass, or NULL if either  argument  is  invalid.   The
           returned string must not be modified or freed.
    
           security_av_string  computes a full access vector string representation
           using tclass and av, which may have multiple bits set.  The  string  is
           returned in the memory pointed to by result, and should be freed by the
           caller using free(3).
    
           string_to_security_class returns the class value corresponding  to  the
           string name name, or zero if no such class exists.
    
           string_to_av_perm  returns  the  access vector bit corresponding to the
           string name name and security class tclass, or zero if  no  such  value
           exists.
    
           print_access_vector displays an access vector in human-readable form on
           the standard output stream.
    
    
    

    RETURN VALUE

           Eamon Walsh <ewalsh@tycho.nsa.gov>
    
    
    

    SEE ALSO

           selinux(8), getcon(3), getfilecon(3)
    
                                      30 Mar 2007      security_class_to_string(3)
    
  • MORE RESOURCE


  • Linux

    The Distributions





    Linux

    The Software





    Linux

    The News



  • MARKETING






  • Toll Free

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