HEX
Server: Apache
System: Linux hp3-stn-1011028.hostingp3.local 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: csh958633 (951153)
PHP: 8.3.30
Disabled: shell_exec,exec,system,popen,set_time_limit
Upload Files
File: //usr/share/setroubleshoot/plugins/wine.pyo
�
c�L]c@svddlZejdde�ZejZddlTddlmZddlZddlZdefd��YZ	dS(i����Nssetroubleshoot-pluginstfallback(t*(tPlugintplugincBsbeZed�Zed�Zed�ZdZed�Zed�ZdZ	d�Z
d�ZRS(	sP
    SELinux has prevented wine from performing an unsafe memory operation.
    sI
SELinux denied an operation requested by wine-preloader, a program used
to run Windows applications under Linux.  This program is known to use
an unsafe operation on system memory but so are a number of
malware/exploit programs which masquerade as wine.  If you were
attempting to run a Windows program your only choices are to allow this
operation and reduce your system security against such malware or to
refrain from running Windows applications under Linux.  If you were not
attempting to run a Windows application this indicates you are likely
being attacked by some for of malware or program trying to exploit your
system for nefarious purposes.

Please refer to

http://wiki.winehq.org/PreloaderPageZeroProblem

Which outlines the other problems wine encounters due to its unsafe use
of memory and solutions to those problems.

    s�
If you decide to continue to run the program in question you will need
to allow this operation.  This can be done on the command line by
executing:

# setsebool -P mmap_low_allowed 1
s)/usr/sbin/setsebool -P mmap_low_allowed 1shIf you want to ignore this AVC because it is dangerous and your wine applications are working correctly.sOyou must tell SELinux about this by enabling the wine_mmap_zero_ignore boolean.s&# setsebool -P wine_mmap_zero_ignore 1cCs,tj|t�t|_td�|_dS(NsTurn off memory protection(Rt__init__t__name__tTruetfixablet_tbutton_text(tself((s)/usr/share/setroubleshoot/plugins/wine.pyRFs	cCsM|jdg�rI|jdg�rItj|j�jdkrI|j�SdS(Nt	mmap_zeros.*wine_ti(thas_any_access_intmatches_source_typestoststattspathtst_uidtreporttNone(R
tavc((s)/usr/share/setroubleshoot/plugins/wine.pytanalyzeKs

(Rt
__module__Rtsummarytproblem_descriptiontfix_descriptiontfix_cmdtif_textt	then_texttdo_textRR(((s)/usr/share/setroubleshoot/plugins/wine.pyRs				(
tgettextttranslationRRtsetroubleshoot.utiltsetroubleshoot.PluginRtreRR(((s)/usr/share/setroubleshoot/plugins/wine.pyt<module>s