HEX
Server: nginx/1.18.0
System: Linux oas2 6.8.0-1039-oracle #40~22.04.1-Ubuntu SMP Wed Oct 29 05:11:00 UTC 2025 aarch64
User: root (0)
PHP: 8.1.2-1ubuntu2.23
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/apport/__pycache__/user_group.cpython-310.pyc
o

�v�fc�@s<dZddlZddlZe��Gdd�d��Zdefdd�ZdS)z"Functions around users and groups.�Nc@s0eZdZUdZeed<eed<defdd�ZdS)�UserGroupIDzPair of user and group ID.�uid�gid�returncCs|jdkp	|jdkS)z&Check if the user or group ID is root.r)rr)�self�r�3/usr/lib/python3/dist-packages/apport/user_group.py�is_rootszUserGroupID.is_rootN)�__name__�
__module__�__qualname__�__doc__�int�__annotations__�boolr	rrrrrs

rrcCstt��t���S)u3Return the current process’s real user and group.)r�os�getuid�getgidrrrr�get_process_user_and_groupsr)r
�dataclassesr�	dataclassrrrrrr�<module>s