HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //lib/python3.6/site-packages/sepolicy/__pycache__/transition.cpython-36.pyc
3

>�\��@s0ddlZdgZdd�Zdd�ZGdd�d�ZdS)�N�setranscCs.tjtjgtj|i�}tdd�tdd�|��S)NcSs
|tjS)N)�sepolicyZTARGET)�y�r� /usr/lib/python3.6/transition.py�<lambda>sz_entrypoint.<locals>.<lambda>cSsd|tjkS)NZ
entrypoint)rZPERMS)�xrrrrs)r�searchZALLOWZSOURCE�map�filter)�src�transrrr�_entrypointsrcsF�gtt�fdd�tj���dd�tt�fdd�tj���}|S)Ncs|d�kS)N�namer)r)rrrr sz_get_trans.<locals>.<lambda>rZ
attributescs|d�ko|ddkS)N�source�class�processr)r)�src_listrrr!s)�listrrZget_all_types_infoZget_all_transitions)rZ
trans_listr)rrr�
_get_transs(rc@s0eZdZddd�Zdd�Zddd�Zd	d
�ZdS)
rNcCs(g|_i|_||_||_|j|j�dS)N)�seen�sdictr�dest�_process)�selfrrrrr�__init__'s
zsetrans.__init__cs���jkr�j�Si�j�<t��}|s.dS��j�d<�jsR|�j�d<nxttdd�t�fdd�|����j�d<ttdd�t��fdd�|����j�d<x �j�dD]}�j|�q�WdS)	Nrr
cSs|S)Nr)rrrrr9sz"setrans._process.<locals>.<lambda>cs|d�jkS)N�	transtype)r)r)rrrr9scSs|dS)Nrr)rrrrr:scs|d�j�gkS)Nr)r)r)rrrrr:s�child)rrrrr
rr)rrr
�sr)rrrr.s


*,zsetrans._process�c	Cs�d}||jkr|S|jj|�d|j|kr�x~|j|dD]l}tj|d|dddg�}|r�|d||d|d|dtj|�f7}q<|d	||d|d|df7}q<Wd
|j|kr�x.|j|d
D]}||j|d||f�7}q�W|S)Nrr
rrrZ
transitionz%s%s @ %s --> %s %s
�targetz%s%s @ %s --> %s
rz	%s%s ... )r�appendrrZget_conditionalsZget_conditionals_format_text�out)rr�headerZbuf�tZcondrrrrr">s
*$zsetrans.outcCsg|_t|j|j��dS)N)r�printr"r)rrrr�outputQszsetrans.output)N)r)�__name__�
__module__�__qualname__rrr"r&rrrrr%s

)r�__all__rrrrrrr�<module>s