dbfdg
3
nma ใ @ sD d dl Z e jdddZej Zd dlT d dlmZ G dd deZdS ) ้ Nzsetroubleshoot-pluginsT)Zfallback)ฺ*)ฺPluginc @ sL e Zd ZedZedZedZedZedZedZ 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
SELinux Memory Protection Tests
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 j| t d S )N)r ฺ__init__ฺ__name__)ฺselfฉ r ๚3/usr/share/setroubleshoot/plugins/allow_execheap.pyr 6 s zplugin.__init__c C s |j dgr| j 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 ฺ s