ok
Direktori : /proc/self/root/proc/thread-self/root/usr/lib64/python2.7/site-packages/sepolgen/ |
Current File : //proc/self/root/proc/thread-self/root/usr/lib64/python2.7/site-packages/sepolgen/defaults.pyc |
� ��^c @ sh d d l Z d d l Z d e f d � � YZ d � Z d � Z d � Z d � Z d � Z d � Z d S( i����Nt PathChoooserc B s e Z d � Z d d � Z RS( c C s� t � | _ t j j | � s8 d | _ d | j d <d S| | _ t j d � } t j d � } x� t t | � � D]r \ } } | j | � r� qr n | j | � } | s� t d | | d f � � n | j d � | j | j d � <qr Wd S( Ns (defaults)sJ /usr/share/selinux/default:/usr/share/selinux/mls:/usr/share/selinux/develt SELINUX_DEVEL_PATHs ^\s*(?:#.+)?$s ^\s*(\w+)\s*=\s*(.+?)\s*$s( %s:%d: line is not in key = value formati i ( t dictt configt ost patht existst config_pathnamet ret compilet enumeratet opent matcht ValueErrort group( t selft pathnamet ignoret considert linenot linet mo( ( s7 /usr/lib64/python2.7/site-packages/sepolgen/defaults.pyt __init__ s R c C s� | j j | d � } | d k r= t d | | j f � � n | j d � } x9 | D]1 } t j j | | � } t j j | � rS | SqS Wt j j | d | � S( Ns %s was not in %st :i ( R t gett NoneR R t splitR R t joinR ( R t testfilenamet pathsett pathst pt target( ( s7 /usr/lib64/python2.7/site-packages/sepolgen/defaults.pyt __call__+ s ( t __name__t __module__R R! ( ( ( s7 /usr/lib64/python2.7/site-packages/sepolgen/defaults.pyR s c C s d S( Ns /var/lib/sepolgen( ( ( ( s7 /usr/lib64/python2.7/site-packages/sepolgen/defaults.pyt data_dir: s c C s t � d S( Ns /perm_map( R$ ( ( ( s7 /usr/lib64/python2.7/site-packages/sepolgen/defaults.pyt perm_map= s c C s t � d S( Ns /interface_info( R$ ( ( ( s7 /usr/lib64/python2.7/site-packages/sepolgen/defaults.pyt interface_info@ s c C s t � d S( Ns /attribute_info( R$ ( ( ( s7 /usr/lib64/python2.7/site-packages/sepolgen/defaults.pyt attribute_infoC s c C s t d � } | d � S( Ns /etc/selinux/sepolgen.conft Makefile( R ( t chooser( ( s7 /usr/lib64/python2.7/site-packages/sepolgen/defaults.pyt refpolicy_makefileF s c C s t d � } | d � S( Ns /etc/selinux/sepolgen.conft include( R ( R) ( ( s7 /usr/lib64/python2.7/site-packages/sepolgen/defaults.pyt headersJ s ( R R t objectR R$ R% R&