ok
Direktori : /usr/lib64/python2.7/site-packages/sepolgen/ |
Current File : //usr/lib64/python2.7/site-packages/sepolgen/access.pyo |
� ��^c @ s� d Z d d l m Z d d l m Z d d l m Z d � Z d e j f d � � YZ d � Z d d d � � YZ d � Z d � Z d d d � � YZ d S( sV Classes representing basic access. SELinux - at the most basic level - represents access as the 4-tuple subject (type or context), target (type or context), object class, permission. The policy language elaborates this basic access to faciliate more concise rules (e.g., allow rules can have multiple source or target types - see refpolicy for more information). This module has objects for representing the most basic access (AccessVector) and sets of that access (AccessVectorSet). These objects are used in Madison in a variety of ways, but they are the fundamental representation of access. i ( t refpolicy( t utili����( t audit2whyc C sU t | � d k rM | d d k rM y t | d � Wn t k rH t SXt St Sd S( s� Determine if an id is a paramater in the form $N, where N is an integer. Returns: True if the id is a paramater False if the id is not a paramater i i t $N( t lent intt ValueErrort Falset True( t id( ( s5 /usr/lib64/python2.7/site-packages/sepolgen/access.pyt is_idparam'