%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/apport/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/apport/__pycache__/user_group.cpython-312.pyc

�

�!f���`�dZddlZddlZej�Gd�d��Zdefd�Zy)z"Functions around users and groups.�Nc�B�eZdZUdZeed<eed<defd�Zed��Z	y)�UserGroupIDzPair of user and group ID.�uid�gid�returnc�B�|jdk(xs|jdk(S)z&Check if the user or group ID is root.r)rr)�selfs �3/usr/lib/python3/dist-packages/apport/user_group.py�is_rootzUserGroupID.is_roots���x�x�1�}�-����A�
�-�c��|jd�}t|t�sJ�|jd�}t|t�sJ�|||�S)z8Extract user and group from systemd-coredump dictionary.�COREDUMP_UID�COREDUMP_GID)�get�
isinstance�int)�cls�coredumprrs    r
�from_systemd_coredumpz!UserGroupID.from_systemd_coredumpsL���l�l�>�*���#�s�#�#�#��l�l�>�*���#�s�#�#�#��3��}�rN)
�__name__�
__module__�__qualname__�__doc__r�__annotations__�boolr�classmethodr�rr
rrs/��$�	�H�	�H�.��.����rrrc�b�ttj�tj��S)u3Return the current process’s real user and group.)r�os�getuid�getgidrrr
�get_process_user_and_groupr" s���r�y�y�{�B�I�I�K�0�0r)r�dataclassesr�	dataclassrr"rrr
�<module>r%s@��
)��	����������(1�K�1r

Zerion Mini Shell 1.0