One Hat Cyber Team
Your IP :
3.135.198.165
Server IP :
192.145.235.60
Server :
Linux ngx365.inmotionhosting.com 5.14.0-427.33.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 30 09:45:56 EDT 2024 x86_64
Server Software :
Apache
PHP Version :
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
saltstack
/
salt
/
extras-3.10
/
rads
/
__pycache__
/
View File Name :
_fsquota.cpython-310.pyc
o �<�f* � @ s2 d Z ddlZddlZddlZddlmZ ddlZddlZddlZG dd� de �Z G dd� de e�ZG dd � d e e �ZG d d� dej�ZG dd � d ej�Zdedefdd�ZG dd� dej�ZG dd� dej�ZG dd� dej�Zdeeef defdd�ZG dd� dej�Zdefdd�Zd e_G d!d"� d"�ZdS )#zFilesystem quota functions� N)�Unionc @ � e Zd ZdZdZdS )� QuotaErrorz�Base exception for errors raised running quotactl. Subclasses read errno as defined in: https://man7.org/linux/man-pages/man2/quotactl.2.html�radsN��__name__� __module__�__qualname__�__doc__� r r �0/opt/saltstack/salt/extras-3.10/rads/_fsquota.pyr s r c @ r )�QuotasDisabledzeNo disk quota is found for the indicated user. Quotas have not been turned on for this filesystemr Nr r r r r r s r c @ r )�QuotaNoUserz9Raised when trying to fetch quota for a non-existing userr Nr r r r r r s r c @ s\ e Zd ZdZdejfdejfdejfdejfdejfdejfdejfd ejfd ejfg ZdS )�VFSDqblkz:dqblk struct for VFS quota data, as defined in sys/quota.hZ bhardlimitZ bsoftlimit�curspaceZ ihardlimitZ isoftlimitZ curinodesZbtimeZitime�validN)r r r r �ctypes�c_uint64�c_uint32�_fields_r r r r r ! s �r c @ s� e Zd ZdZdejfdejfdejfdejfdejfdejfdejfd ejfd ejfdejfdej fd ej fdejfdejfdej fdejfdejfdejfdej fdejfdej fdejd fgZdS )�XfsDiskQuotaz@fs_disk_quota struct for XFS quota data, as defined in xfs/xqm.h�version�flagsZ fieldmask�idZ blk_hardlimitZ blk_softlimitZ ino_hardlimitZ ino_softlimit�bcountZicountZitimerZbtimerZiwarnsZbwarnsZpadding2Z rtb_hardlimitZ rtb_softlimitZrtbcountZrtbtimerZrtbwarnsZpadding3Zpadding4� N) r r r r r �c_int8�c_uint16r r �c_int32�c_int16�c_charr r r r r r 1 s2 �r �cmd�returnc C s t d�d>