+
     6g
  c                   s    ^ RI t ] P                  ! RRR7      t]P                   t^ RI5 ^ RIHt ^ RIt^ RIt ! R R]4      tR# )	i    Nzsetroubleshoot-pluginsT)Zfallback)Z*)Pluginc                   s   a  ] tR t^t o ]! R4      t]! R4      t]! R4      tRt]! R4      t	]! R4      t
RtR tR	 tR
tV tR# )pluginzS
    SELinux has prevented vbetool from performing an unsafe memory operation.
    a  
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.

    z
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
z)/usr/sbin/setsebool -P mmap_low_allowed 1zfIf you want to ignore this AVC because it is dangerous and your machine seems to be working correctly.zRyou must tell SELinux about this by enabling the vbetool_mmap_zero_ignore boolean.z)# setsebool -P vbetool_mmap_zero_ignore 1c                sj    \         P                  ! V \        4       R V n        \	        R4      V n        R# )TzTurn off memory protectionN)r    __init____name__fixable_button_text)selfs   &,/usr/share/setroubleshoot/plugins/vbetool.pyr   Zplugin.__init__;   s%    h'78    c                s    VP                  R .4      '       dX   VP                  R.4      '       d@   \        P                  ! VP                  4      P
                  ^ 8X  d   V P                  4       # R# )Z	mmap_zeroZ	vbetool_tN)Zhas_any_access_inZmatches_source_typesosZstatZspathZst_uidZreport)r   Zavcs   &&r   analyzeZplugin.analyze@   sT    !!;-00((+77		"))Q. ;;= r	   )r   r   N)r   Z
__module__Z__qualname__Z__firstlineno__r   ZsummaryZproblem_descriptionZfix_descriptionZfix_cmdZif_textZ	then_textZdo_textr   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      sh       	G  	 		   O :GxyGfgI9G9
 r	   r   )	ZgettextZtranslationr   Zsetroubleshoot.utilZsetroubleshoot.Pluginr    Zrer
   r   ) r	   r   <module>r      s@   (  84H ! ( 	 	*V *r	   