관리-도구
편집 파일: allow_execheap.cpython-39.opt-1.pyc
a �Z`� � @ sD d dl Z e jddd�Zej Zd dlT d dlmZ G dd� de�ZdS ) � Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc @ sL e Zd Zed�Zed�Zed�Zed�Zed�Zed�Z dd� Z d d � ZdS )�pluginzk SELinux is preventing $SOURCE_PATH from changing the access protection of memory on the heap. a� The $SOURCE application attempted to change the access protection of memory on the heap (e.g., allocated using malloc). This is a potential security problem. Applications should not be doing this. Applications are sometimes coded incorrectly and request this permission. The <a href="http://people.redhat.com/drepper/selinux-mem.html">SELinux Memory Protection Tests</a> web page explains how to remove this requirement. If $SOURCE does not work and you need it to work, you can configure SELinux temporarily to allow this access until the application is fixed. Please file a bug report against this package. z� If you want $SOURCE to continue, you must turn on the $BOOLEAN boolean. Note: This boolean will affect all applications on the system. zeIf you do not think $SOURCE_PATH should need to map heap memory that is both writable and executable.zAyou need to report a bug. This is a potentially dangerous access.z:Contact your security administrator and report this issue.c C s t �| t� d S )N)r �__init__�__name__)�self� r �3/usr/share/setroubleshoot/plugins/allow_execheap.pyr 6 s zplugin.__init__c C s |� dg�r| �� S d S d S )NZexecheap)Zhas_any_access_inZreport)r Zavcr r r �analyze9 s zplugin.analyzeN)r � __module__�__qualname__�_ZsummaryZproblem_descriptionZfix_descriptionZif_textZ then_textZdo_textr r r r r r r s r )�gettextZtranslationr Zsetroubleshoot.utilZsetroubleshoot.Pluginr r r r r r �<module> s