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/vbetool.pyc
�
c�L]c@svddlZejdde�ZejZddlTddlmZddlZddlZdefd��YZ	dS(i����Nssetroubleshoot-pluginstfallback(t*(tPlugintplugincBsbeZed�Zed�Zed�ZdZed�Zed�ZdZ	d�Z
d�ZRS(	sS
    SELinux has prevented vbetool from performing an unsafe memory operation.
    s�
SELinux denied an operation requested by $SOURCE, a program used
to alter video hardware state.  This program is known to use
an unsafe operation on system memory but so are a number of
malware/exploit programs which masquerade as vbetool.  This tool is used to
reset video state when a machine resumes from a suspend.  If your machine
is not resuming properly your only choice is to allow this
operation and reduce your system security against such malware.

    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 1sfIf you want to ignore this AVC because it is dangerous and your machine seems to be working correctly.sRyou must tell SELinux about this by enabling the vbetool_mmap_zero_ignore boolean.s)# setsebool -P vbetool_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/vbetool.pyR;s	cCsM|jdg�rI|jdg�rItj|j�jdkrI|j�SdS(Nt	mmap_zerot	vbetool_ti(thas_any_access_intmatches_source_typestoststattspathtst_uidtreporttNone(R
tavc((s,/usr/share/setroubleshoot/plugins/vbetool.pytanalyze@s

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