Şuanki Dizin: /lib64/python3.9/site-packages/setools/__pycache__/ |
Şuanki Dosya : //lib64/python3.9/site-packages/setools/__pycache__/polcapquery.cpython-39.pyc |
a q�qex�@sNddlZddlmZddlmZddlmZddlmZGdd�dee�Z dS) �N)�Iterable�)� MatchName)�PolicyCapability)�PolicyQuerycs8eZdZdZdd��fdd�Zeed�dd�Z�ZS)�PolCapQuerya/ Query SELinux policy capabilities Parameter: policy The policy to query. Keyword Parameters/Class attributes: name The name of the policy capability to match. name_regex If true, regular expression matching will be used for matching the name. N)�returncs(tt|�j|fi|��t�t�|_dS)N)�superr�__init__�loggingZ getLogger�__name__�log)�self�policy�kwargs�� __class__��9/usr/lib64/python3.9/site-packages/setools/polcapquery.pyr szPolCapQuery.__init__ccsD|j�d�|��|�|j�|j��D]}|�|�s8q(|Vq(dS)z8Generator which yields all matching policy capabilities.z4Generating policy capability results from {0.policy}N)r �info�formatZ_match_name_debugrZpolcapsZ_match_name)rZcaprrr�resultss zPolCapQuery.results) r� __module__�__qualname__�__doc__r rrr� __classcell__rrrrr sr) r�typingrZmixinsrZ policyrepr�queryrrrrrr�<module>s
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