| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/python2.6/site-packages/sepolgen/ |
Upload File : |
Ñò
†·Jc @ s¼ d Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k l Z d d d „ ƒ YZ d „ Z d „ Z
d „ Z d „ Z d
„ Z
d d d „ ƒ YZ d
d d „ ƒ YZ d S( s7
Classes for representing and manipulating interfaces.
iÿÿÿÿN( t _t Paramc B sS e 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 _Param__namet refpolicyt SRC_TYPEt typet IdSett obj_classest Truet required( t self( ( s7 /usr/lib/python2.6/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
ValueErrorR ( R t name( ( s7 /usr/lib/python2.6/site-packages/sepolgen/interfaces.pyt set_name* s c C s | i S( N( R ( R ( ( s7 /usr/lib/python2.6/site-packages/sepolgen/interfaces.pyt get_name/ s t fgetc C s t | i d ƒ S( i ( t intR ( R ( ( s7 /usr/lib/python2.6/site-packages/sepolgen/interfaces.pyt <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 t field_to_strR t joinR ( R ( ( s7 /usr/lib/python2.6/site-packages/sepolgen/interfaces.pyt __repr__6 s (
t __name__t
__module__t __doc__R R R t propertyR t numR ( ( ( s7 /usr/lib/python2.6/site-packages/sepolgen/interfaces.pyR s c C s: d } | | j oÝ | | } | | i j o d S| 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 (
R R R t TGT_TYPEt obj_classt itertoolst chainR t objectmodelt implicitly_typed_objectsR R t add( R R t avt paramst rett pt avobjst obj( ( s7 /usr/lib/python2.6/site-packages/sepolgen/interfaces.pyt __param_insert<