HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux ns565604.ip-54-39-133.net 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64
User: greer489 (1034)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: //usr/share/setroubleshoot/plugins/__pycache__/mmap_zero.cpython-36.pyc
3

nm�aM	�@sDddlZejddd�ZejZddlTddlmZGdd�de�ZdS)	�Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc@sLeZdZed�Zed�ZdZdZed�Zed�Z	ed�Z
dd�Zd	d
�ZdS)�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.cCs tj|t�|jd�d|_dS)N�
Zred)r�__init__�__name__Zset_priority�level)�self�r�./usr/share/setroubleshoot/plugins/mmap_zero.pyr1s
zplugin.__init__cCs|jdg�r|j�SdS)NZ	mmap_zero)Zhas_any_access_inZreport)r
Zavcrrr�analyze5szplugin.analyzeN)
r�
__module__�__qualname__�_ZsummaryZproblem_descriptionZfix_descriptionZfix_cmdZif_textZ	then_textZdo_textrr
rrrrrs	r)�gettextZtranslationrZsetroubleshoot.utilZsetroubleshoot.Pluginrrrrrr�<module>s