403Webshell
Server IP : 188.151.22.197  /  Your IP : 216.73.217.74
Web Server : Apache/2.4.62 (Rocky Linux) OpenSSL/3.5.5
System : Linux wsten.se 5.14.0-687.30.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 27 13:09:21 UTC 2026 x86_64
User : apache ( 48)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib64/python3.9/site-packages/setools/diff/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib64/python3.9/site-packages/setools/diff/__pycache__/polcap.cpython-39.opt-1.pyc
a

q�qea�@s0ddlmZddlmZmZGdd�de�ZdS)�)�DiffResultDescriptor)�
Difference�
SymbolWrapperc@s<eZdZdZed�Zed�Zdd�dd�Zdd�dd�ZdS)	�PolCapsDifferencez9Determine the difference in polcaps between two policies.�diff_polcapsN)�returncCsL|j�d�|��|�dd�|j��D�dd�|j��D��\|_|_}dS)z8Generate the difference in polcaps between the policies.zJGenerating policy cap differences from {0.left_policy} to {0.right_policy}css|]}t|�VqdS�N�r��.0�n�r
�9/usr/lib64/python3.9/site-packages/setools/diff/polcap.py�	<genexpr>�z1PolCapsDifference.diff_polcaps.<locals>.<genexpr>css|]}t|�VqdSrr	r
r
r
rrrN)	�log�info�formatZ	_set_diffZleft_policyZpolcapsZright_policy�
added_polcaps�removed_polcaps)�self�_r
r
rrs
��zPolCapsDifference.diff_polcapscCs|j�d�d|_d|_dS)z%Reset diff results on policy changes.z'Resetting policy capability differencesN)r�debugrr)rr
r
r�_reset_diffszPolCapsDifference._reset_diff)	�__name__�
__module__�__qualname__�__doc__rrrrrr
r
r
rr	s

rN)Zdescriptorsr�
differencerrrr
r
r
r�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit