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__/properties.cpython-36.pyc
3

�^U	�@sHddlmZddlmZddlmZeddddg�ZGd	d
�d
e�ZdS)�)�
namedtuple�)�DiffResultDescriptor)�
DifferenceZmodified_property�propertyZaddedZremovedc@s(eZdZdZed�Zdd�Zdd�ZdS)�PropertiesDifferencezr
    Determine the difference in policy properties
    (unknown permissions, MLS, etc.) between two policies.
    �diff_propertiescCs�g|_|jj|jjkr2|jjtd|jj|jj��|jj|jjkr^|jjtd|jj|jj��|jj|jjkr�|jjtd|jj|jj��dS)N�handle_unknownZMLS�version)�modified_propertiesZleft_policyr	Zright_policy�append�modified_properties_recordZmlsr
)�self�r�"/usr/lib64/python3.6/properties.pyr%s z$PropertiesDifference.diff_propertiescCs|jjd�d|_dS)z%Reset diff results on policy changes.zResetting property differencesN)�log�debugr)rrrr�_reset_diff=sz PropertiesDifference._reset_diffN)�__name__�
__module__�__qualname__�__doc__rrrrrrrrrsrN)�collectionsrZdescriptorsr�
differencerr
rrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit