|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21585/root/usr/lib64/python2.4/site-packages/sepolgen/ |
Upload File : |
mò
d&KRc @ sª d Z d k Z d k Z d k Z d k Z d k Z d k l Z d f d „ ƒ YZ d „ Z d „ Z
d „ Z d „ Z d „ Z
d
f d „ ƒ YZ d f d
„ ƒ YZ d S( s7
Classes for representing and manipulating interfaces.
N( t _t Paramc B sS t Z d Z d „ Z d „ Z d „ Z e e e ƒ Z e d d „ ƒ Z d „ Z RS( s;
Object representing a paramater for an interface.
c C s1 d | _ t i | _ t i ƒ | _ t | _ d S( Nt ( t selft _Param__namet refpolicyt SRC_TYPEt typet IdSett obj_classest Truet required( R ( ( t9 /usr/lib64/python2.4/site-packages/sepolgen/interfaces.pyt __init__$ s c C s1 t i | ƒ p t d | ƒ ‚ n | | _ d S( Ns Name [%s] is not a param( t accesst
is_idparamt namet
ValueErrorR R ( R R ( ( R t set_name* s c C s | i S( N( R R ( R ( ( R t get_name/ s t fgetc C s t | i d ƒ S( Ni ( t intR R ( R ( ( R t <lambda>4 s c C s* d | i t i | i d i | i ƒ f S( Ns0 <sepolgen.policygen.Param instance [%s, %s, %s]>t ( R R R t field_to_strR t joinR ( R ( ( R t __repr__6 s (
t __name__t
__module__t __doc__R
R R t propertyR t numR ( ( ( R R s c C s= d } | | j oà | | } | | i j o d Sn | t i j p | t i j o” | i t i j p | i t i j on d } | o | i g } n g } x8 t i | i
| ƒ D]! } | t i j o d } Pq´ q´ Wt i | _ qd } n) t ƒ } | | _ | | _ | | | i <| o | i
i | i ƒ n | S( Ni i ( t retR t paramst pR R R t TGT_TYPEt avt obj_classt avobjst itertoolst chainR t objt objectmodelt implicitly_typed_objectsR t add( R R R$ R! R&