Submit
Path:
~
/
/
usr
/
lib64
/
python3.6
/
site-packages
/
setools
/
diff
/
__pycache__
/
File Content:
properties.cpython-36.pyc
3 �^U � @ sH d dl mZ ddlmZ ddlmZ eddddg�ZG d d � d e�ZdS )� )� namedtuple� )�DiffResultDescriptor)� DifferenceZmodified_property�propertyZaddedZremovedc @ s( e Zd ZdZed�Zdd� Zdd� ZdS )�PropertiesDifferencezr Determine the difference in policy properties (unknown permissions, MLS, etc.) between two policies. �diff_propertiesc C s� g | _ | jj| jjkr2| j jtd| jj| jj�� | jj| jjkr^| j jtd| jj| jj�� | jj| jjkr�| j jtd| jj| jj�� d S )N�handle_unknownZMLS�version)�modified_propertiesZleft_policyr Zright_policy�append�modified_properties_recordZmlsr )�self� r �"/usr/lib64/python3.6/properties.pyr % s z$PropertiesDifference.diff_propertiesc C s | j jd� d| _dS )z%Reset diff results on policy changes.zResetting property differencesN)�log�debugr )r r r r �_reset_diff= s z PropertiesDifference._reset_diffN)�__name__� __module__�__qualname__�__doc__r r r r r r r r r s r N)�collectionsr Zdescriptorsr � differencer r r r r r r �<module> s
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
__init__.cpython-36.opt-1.pyc
2040 bytes
0644
__init__.cpython-36.pyc
2040 bytes
0644
bool.cpython-36.opt-1.pyc
2175 bytes
0644
bool.cpython-36.pyc
2175 bytes
0644
bounds.cpython-36.opt-1.pyc
3498 bytes
0644
bounds.cpython-36.pyc
3498 bytes
0644
commons.cpython-36.opt-1.pyc
1866 bytes
0644
commons.cpython-36.pyc
1866 bytes
0644
conditional.cpython-36.opt-1.pyc
1457 bytes
0644
conditional.cpython-36.pyc
1457 bytes
0644
constraints.cpython-36.opt-1.pyc
7194 bytes
0644
constraints.cpython-36.pyc
7194 bytes
0644
context.cpython-36.opt-1.pyc
1487 bytes
0644
context.cpython-36.pyc
1487 bytes
0644
default.cpython-36.opt-1.pyc
2915 bytes
0644
default.cpython-36.pyc
2915 bytes
0644
descriptors.cpython-36.opt-1.pyc
1098 bytes
0644
descriptors.cpython-36.pyc
1098 bytes
0644
difference.cpython-36.opt-1.pyc
4946 bytes
0644
difference.cpython-36.pyc
5118 bytes
0644
fsuse.cpython-36.opt-1.pyc
2701 bytes
0644
fsuse.cpython-36.pyc
2701 bytes
0644
genfscon.cpython-36.opt-1.pyc
2794 bytes
0644
genfscon.cpython-36.pyc
2794 bytes
0644
ibendportcon.cpython-36.opt-1.pyc
2814 bytes
0644
ibendportcon.cpython-36.pyc
2814 bytes
0644
ibpkeycon.cpython-36.opt-1.pyc
2799 bytes
0644
ibpkeycon.cpython-36.pyc
2799 bytes
0644
initsid.cpython-36.opt-1.pyc
1900 bytes
0644
initsid.cpython-36.pyc
1900 bytes
0644
mls.cpython-36.opt-1.pyc
8822 bytes
0644
mls.cpython-36.pyc
8822 bytes
0644
mlsrules.cpython-36.opt-1.pyc
3484 bytes
0644
mlsrules.cpython-36.pyc
3484 bytes
0644
netifcon.cpython-36.opt-1.pyc
2823 bytes
0644
netifcon.cpython-36.pyc
2823 bytes
0644
nodecon.cpython-36.opt-1.pyc
2700 bytes
0644
nodecon.cpython-36.pyc
2700 bytes
0644
objclass.cpython-36.opt-1.pyc
2485 bytes
0644
objclass.cpython-36.pyc
2485 bytes
0644
polcap.cpython-36.opt-1.pyc
1470 bytes
0644
polcap.cpython-36.pyc
1470 bytes
0644
portcon.cpython-36.opt-1.pyc
2742 bytes
0644
portcon.cpython-36.pyc
2742 bytes
0644
properties.cpython-36.opt-1.pyc
1330 bytes
0644
properties.cpython-36.pyc
1330 bytes
0644
rbacrules.cpython-36.opt-1.pyc
4965 bytes
0644
rbacrules.cpython-36.pyc
4965 bytes
0644
roles.cpython-36.opt-1.pyc
2445 bytes
0644
roles.cpython-36.pyc
2445 bytes
0644
terules.cpython-36.opt-1.pyc
14590 bytes
0644
terules.cpython-36.pyc
14590 bytes
0644
typeattr.cpython-36.opt-1.pyc
2583 bytes
0644
typeattr.cpython-36.pyc
2583 bytes
0644
types.cpython-36.opt-1.pyc
3154 bytes
0644
types.cpython-36.pyc
3154 bytes
0644
users.cpython-36.opt-1.pyc
3126 bytes
0644
users.cpython-36.pyc
3126 bytes
0644
N4ST4R_ID | Naxtarrr