File: //usr/share/setroubleshoot/plugins/__pycache__/mmap_zero.cpython-36.opt-1.pyc
3
nm�aM � @ sD d dl Z e jddd�Zej Zd dlT d dlmZ G dd� de�ZdS ) � Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc @ sL e Zd Zed�Zed�ZdZdZed�Zed�Z ed�Z
dd� Zd d
� ZdS )�pluginze
Your system may be seriously compromised! $SOURCE_PATH attempted to mmap low kernel memory.
a7
SELinux has denied the $SOURCE the ability to mmap low area of the kernel
address space. The ability to mmap a low area of the address space is
configured by /proc/sys/kernel/mmap_min_addr. Preventing such mappings
helps protect against exploiting null deref bugs in the kernel. All
applications that need this access should have already had policy written
for them. If a compromised application tries to modify the kernel, this AVC
would be generated. This is a serious issue. Your system may very well be
compromised.
z:Contact your security administrator and report this issue.� zNIf you do not think $SOURCE_PATH should need to mmap low memory in the kernel.zEyou may be under attack by a hacker, this is a very dangerous access.c C s t j| t� | jd� d| _d S )N�
Zred)r �__init__�__name__Zset_priority�level)�self� r �./usr/share/setroubleshoot/plugins/mmap_zero.pyr 1 s
zplugin.__init__c C s |j dg�r| j� S d S )NZ mmap_zero)Zhas_any_access_inZreport)r
Zavcr r r �analyze5 s zplugin.analyzeN)
r �
__module__�__qualname__�_ZsummaryZproblem_descriptionZfix_descriptionZfix_cmdZif_textZ then_textZdo_textr r
r r r r r s r )�gettextZtranslationr Zsetroubleshoot.utilZsetroubleshoot.Pluginr r r r r r �<module> s