Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /usr/lib64/python3.9/site-packages/setools/__pycache__/
Dosya Yükle :
Şuanki Dosya : //usr/lib64/python3.9/site-packages/setools/__pycache__/boolquery.cpython-39.pyc

a

q�qe��@s^ddlZddlmZmZddlmZddlmZddlm	Z	ddl
mZGdd	�d	ee�ZdS)
�N)�Iterable�Optional�)�CriteriaDescriptor)�	MatchName)�Boolean)�PolicyQuerycsteZdZUdZdZeeed<eeed�dd��Z	e	j
dd�dd��Z	dd��fdd	�Zee
d�d
d�Z�ZS)�	BoolQuerya�Query SELinux policy Booleans.

    Parameter:
    policy          The policy to query.

    Keyword Parameters/Class attributes:
    name            The Boolean name to match.
    name_regex      If true, regular expression matching
                    will be used on the Boolean name.
    default         The default state to match.  If this
                    is None, the default state not be matched.
    N�_default)�returncCs|jS�N)r
)�self�r�7/usr/lib64/python3.9/site-packages/setools/boolquery.py�defaultszBoolQuery.defaultcCs|durd|_n
t|�|_dSr)r
�bool)r
�valuerrrr#scs(tt|�j|fi|��t�t�|_dSr)�superr	�__init__�loggingZ	getLogger�__name__�log)r
�policy�kwargs��	__class__rrr*szBoolQuery.__init__ccsn|j�d�|��|�|j�|j�d�|��|j��D].}|�|�sJq:|jdurb|j	|jkrbq:|Vq:dS)z:Generator which yields all Booleans matching the criteria.z*Generating Boolean results from {0.policy}zDefault: {0.default}N)
r�info�formatZ_match_name_debug�debugrZboolsZ_match_namer�state)r
Zbooleanrrr�results.s
zBoolQuery.results)r�
__module__�__qualname__�__doc__r
rr�__annotations__�propertyr�setterrrrr �
__classcell__rrrrr	s

r	)
r�typingrrZdescriptorsrZmixinsrZ	policyrepr�queryrr	rrrr�<module>s

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4