§ ;Š»jr ã ó — d dl Z d dlZd dlZd dlZd dlZd dlZddlmZ ej e ¦ « Zddlm Z ddlmZ ddlmZ ddlmZ d„ Zd „ Z e j ej ed ¦ « ¦ « D ] Z ee¦ « ŒdZdS )é Né )ÚLISTENERS_DIRECTORY)ÚModifyDomainHook)ÚModifyAdminHook)ÚModifyUserHook)ÚModifyPackageHookc óÜ — t j | ¦ « }n# t $ r Y dS w xY wt j |j ¦ « o,|j dk o!|j t j t j z z S )aƒ Return True only if `filepath` is a regular file owned by root (uid 0) and not group- or world-writable. Used to gate a listener before its top-level code is exec_module()'d as root: a *.py (or a symlink whose real target) a non-root principal can write is refused rather than executed. os.stat follows symlinks, so it stats the real inode whose code would run. Fr )ÚosÚstatÚOSErrorÚS_ISREGÚst_modeÚst_uidÚS_IWGRPÚS_IWOTH)ÚfilepathÚsts ú¢/builddir/build/BUILDROOT/alt-python27-cllib-3.4.44-1.el8.cloudlinux.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/clcommon/public_hooks/lib/__init__.pyÚ_is_root_owned_unwritabler sw € ðÝ ŒW�XÑ Ô ˆˆøÝð ð ð ØˆuˆuðøøøåŒL˜œÑ$Ô$ð =ØŒI˜ŠNð =à”�tœ|d¬lÑ:Ñ;Ð<ð>s ‚ — %¤%c óê — t j | ¦ « d d… }|t j v rt j | S t | ¦ « st d| ¦ « d S t j || ¦ « }|€t d|› d| › �¦ « ‚t j |¦ « }|j |¦ « |t j |<