← Back
Editing: setenforce.cpython-312.opt-1.pyc
� �Z`� � � � d dl Z e j dd�� Zej Zd dl� d dlmZ ed� Z ed� Z ed � Z G d � de� Z y)� Nzsetroubleshoot-pluginsT)�fallback)�*)�Pluginz7If you did not directly cause this AVC through testing.z,if you think that you might have been hacked�:Contact your security administrator and report this issue.c �p � e Zd Z ed� Z ed� ZdZdZ ed� Z ed� Z ed� Z d� Zd� Zy ) �pluginze Your system may be seriously compromised! $SOURCE_PATH tried to modify SELinux enforcement. a� SELinux has prevented $SOURCE from writing to a file under /sys/fs/selinux. Files under /sys/fs/selinux control the way SELinux is configured. All programs that need to write to files under /sys/fs/selinux should have already had policy written for them. If a compromised application tries to turn off SELinux this AVC will be generated. This is a serious issue. Your system may very well be compromised. r � z5If you believe $SOURCE_PATH tried to disable SELinux.z_you may be under attack by a hacker, since confined applications should never need this access.c �F � t j | t � d| _ y )N�red)r �__init__�__name__�level)�selfs �//usr/share/setroubleshoot/plugins/setenforce.pyr zplugin.__init__4 s � �����h�'��� � c �l � |j dg� r"|j dg� r| j � S y )N�write� security_t)�has_any_access_in�matches_target_types�report)r �avcs r �analyzezplugin.analyze8 s1 � ��!�!�7�)�,��$�$�l�^�4��;�;�=� �r N) r � __module__�__qualname__�_�summary�problem_description�fix_description�fix_cmd�if_text� then_text�do_textr r � r r r r s[ � � � � �G� � � �� S�O��G��G�H�G��s�t�I��L�M�G��r r ) �gettext�translationr �setroubleshoot.util�setroubleshoot.Pluginr r! r"