+
     6g_  c                   sz    ^ RI t ] P                  ! RRR7      t]P                   t^ RI5 ^ RIH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tRt]! R4      t	]! R4      t
]! R4      tR tR tR	tV tR
# )pluginz3
    Your system may be seriously compromised!
    a  
    SELinux has prevented $SOURCE from modifying $TARGET.  This denial
    indicates $SOURCE was trying to modify the selinux policy configuration.
    All applications that need this access should have already had policy
    written for them.  If a compromised application tries to modify the SELinux
    policy this AVC will be generated. This is a serious issue. Your system
    may very well be compromised.
    z:Contact your security administrator and report this issue.Z zUIf you do not think $SOURCE_BASE_PATH should try $ACCESS access on $TARGET_BASE_PATH.z]you may be under attack by a hacker, since confined applications should not need this access.c                sJ    \         P                  ! V \        4       R V n        R# )ZredN)r    __init____name__level)selfs   &2/usr/share/setroubleshoot/plugins/selinuxpolicy.pyr   Zplugin.__init__0   s    h'
    c                s    VP                  R .4      '       g   VP                  4       '       d*   VP                  . RO4      '       d   V P                  4       # R# )ZwriteN)Zselinux_config_tZdefault_context_tZfile_context_tZsemanage_store_tZsemanage_read_lock_tZsemanage_trans_lock_tZload_policy_exec_tZsetfiles_exec_tZcheckpolicy_exec_tZnewrole_exec_tZpolicy_src_tZrestorecond_exec_tZrun_init_exec_tZsetsebool_exec_tZsemanage_exec_tZselinux_var_lib_t)Zhas_any_access_inZopen_with_writeZmatches_target_typesZreport)r   Zavcs   &&r   analyzeZplugin.analyze4   sL    ""G9--1D1D1F1F## %& ' '$ ;;= r   )r   N)r   Z
__module__Z__qualname__Z__firstlineno___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      sc       	G   	 SOGghGqrILMG r   r   )ZgettextZtranslationr	   Zsetroubleshoot.utilZsetroubleshoot.Pluginr    r   ) r   r   <module>r
      s:   *  84H ! (-V -r   