Server IP : 184.154.167.98 / Your IP : 3.143.7.101 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 8.2.26 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/setroubleshoot/plugins/__pycache__/ |
Upload File : |
3 nm�a� � @ sT d dl Z e jddd�Zej Zd dlT d dlmZ d dlZd dlZG dd� de�ZdS ) � Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc @ sL e Zd Zed�Zed�Zed�ZdZed�Zed�Z dZ dd � Zd d� ZdS ) �pluginzP SELinux has prevented wine from performing an unsafe memory operation. aI 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. 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 1zhIf you want to ignore this AVC because it is dangerous and your wine applications are working correctly.zOyou must tell SELinux about this by enabling the wine_mmap_zero_ignore boolean.z&# setsebool -P wine_mmap_zero_ignore 1c C s t j| t� d| _td�| _d S )NTzTurn off memory protection)r �__init__�__name__Zfixable�_Zbutton_text)�self� r �)/usr/share/setroubleshoot/plugins/wine.pyr F s zplugin.__init__c C s6 |j dg�r2|jdg�r2tj|j�jdkr2| j� S d S )NZ mmap_zeroz.*wine_tr )Zhas_any_access_inZmatches_source_types�os�statZspath�st_uidZreport)r Zavcr r r �analyzeK s zplugin.analyzeN) r � __module__�__qualname__r ZsummaryZproblem_descriptionZfix_descriptionZfix_cmdZif_textZ then_textZdo_textr r r r r r r s r ) �gettextZtranslationr Zsetroubleshoot.utilZsetroubleshoot.Pluginr �rer r r r r r �<module> s