403Webshell
Server IP : 172.24.0.40  /  Your IP : 216.73.216.10
Web Server : Apache
System : Linux dbweb26.ust.edu.ph 4.18.0-513.5.1.el8_9.x86_64 #1 SMP Fri Sep 29 05:21:10 EDT 2023 x86_64
User : apache ( 48)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib64/python3.6/site-packages/setools/diff/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib64/python3.6/site-packages/setools/diff/__pycache__/polcap.cpython-36.pyc
3

�^��@s0ddlmZddlmZmZGdd�de�ZdS)�)�DiffResultDescriptor)�
Difference�
SymbolWrapperc@s0eZdZdZed�Zed�Zdd�Zdd�ZdS)�PolCapsDifferencez9Determine the difference in polcaps between two policies.�diff_polcapscCsL|jjdj|��|jdd�|jj�D�dd�|jj�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	�/usr/lib64/python3.6/polcap.py�	<genexpr>%sz1PolCapsDifference.diff_polcaps.<locals>.<genexpr>css|]}t|�VqdS)N)r)rrr	r	r
r&sN)	�log�info�formatZ	_set_diffZleft_policyZpolcapsZright_policy�
added_polcaps�removed_polcaps)�self�_r	r	r
rs

zPolCapsDifference.diff_polcapscCs|jjd�d|_d|_dS)z%Reset diff results on policy changes.z'Resetting policy capability differencesN)r�debugrr)rr	r	r
�_reset_diff+szPolCapsDifference._reset_diffN)	�__name__�
__module__�__qualname__�__doc__rrrrrr	r	r	r
rs

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

Youez - 2016 - github.com/yon3zu
LinuXploit