HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //lib/python3.6/site-packages/sos/policies/distros/__pycache__/cos.cpython-36.pyc
3

\��hj�@s8ddlmZmZddlmZdd�ZGdd�de�ZdS)�)�	CosPlugin�IndependentPlugin)�LinuxPolicycCs|j�p|j�jd�S)aHTest whether line is empty of contains a comment.

        Test whether the ``line`` argument is either blank, or a
        whole-line comment.

        :param line: the line of text to be checked.
        :returns: ``True`` if the line is blank or a comment,
                  and ``False`` otherwise.
        :rtype: bool
    �#)�strip�lstrip�
startswith)�line�r
�/usr/lib/python3.6/cos.py�_blank_or_commentsrcs<eZdZdZdgZdZdZeegZ	dZ
d�fd	d
�	Z�ZS)
�	CosPolicyzGoogle Cloud Platform�Distribution Website�0https://cloud.google.com/container-optimized-os/zContainer-Optimized OSZcosz</usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbinNTcs(t�j||||d�|jtg7_dS)N)�sysroot�init�
probe_runtime�remote_exec)�super�__init__�valid_subclassesr
)�selfrrrr)�	__class__r
rr(s
zCosPolicy.__init__)rr)NNTN)
�__name__�
__module__�__qualname__ZvendorZvendor_urlsZos_release_nameZ
os_release_idrrr�PATHr�
__classcell__r
r
)rrr
sr
N)Zsos.report.pluginsrrZsos.policies.distrosrrr
r
r
r
r�<module>s