File: //usr/share/setroubleshoot/plugins/vbetool.pyo
�
c�L]c @ sv d d l Z e j d d e �Z e j Z d d l Td d l m Z d d l Z d d l Z d e f d � � YZ d S( i����Ns setroubleshoot-pluginst fallback( t *( t Plugint pluginc B sb e Z e d � Z e d � Z e d � Z d Z e d � Z e d � Z d Z d � Z
d � Z RS( 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 1sf If you want to ignore this AVC because it is dangerous and your machine seems to be working correctly.sR you must tell SELinux about this by enabling the vbetool_mmap_zero_ignore boolean.s) # setsebool -P vbetool_mmap_zero_ignore 1c C s, t j | t � t | _ t d � | _ d S( Ns Turn off memory protection( R t __init__t __name__t Truet fixablet _t button_text( t self( ( s, /usr/share/setroubleshoot/plugins/vbetool.pyR ; s c C sM | j d g � rI | j d g � rI t j | j � j d k rI | j � Sd S( Nt mmap_zerot vbetool_ti ( t has_any_access_int matches_source_typest ost statt spatht st_uidt reportt None( R
t avc( ( s, /usr/share/setroubleshoot/plugins/vbetool.pyt analyze@ s
( R t
__module__R t summaryt problem_descriptiont fix_descriptiont fix_cmdt if_textt then_textt do_textR R ( ( ( s, /usr/share/setroubleshoot/plugins/vbetool.pyR s (
t gettextt translationR R t setroubleshoot.utilt setroubleshoot.PluginR t reR R ( ( ( s, /usr/share/setroubleshoot/plugins/vbetool.pyt <module> s