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 : /proc/self/root/usr/lib64/python3.6/site-packages/setools/__pycache__/ |
Upload File : |
3 �^� � @ s$ d dl mZmZ G dd� de�ZdS )� )�ABC�abstractmethodc @ s$ e Zd ZdZdd� Zedd� �ZdS )�PolicyQueryz/Abstract base class for SELinux policy queries.c K sV || _ xJt|j� dd�D ]6}t| |d �}t|�r>tdj|���t| ||| � qW d S )NT)�reversez0Keyword parameter {0} conflicts with a callable.)�policy�sorted�keys�getattr�callable� ValueError�format�setattr)�selfr �kwargs�name�attr� r �/usr/lib64/python3.6/query.py�__init__ s zPolicyQuery.__init__c C s dS )z} Generator which returns the matches for the query. This method should be overridden by subclasses. Nr )r r r r �results* s zPolicyQuery.resultsN)�__name__� __module__�__qualname__�__doc__r r r r r r r r s r N)�abcr r r r r r r �<module> s