HEX
Server: LiteSpeed
System: Linux server44.twelveinks.com 5.14.0-570.12.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 13 06:11:55 EDT 2025 x86_64
User: moda (1338)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/include/lve/setcap.h
/* Library to set needed capabilities for current process */
#ifndef _SETCAP_H_
#define _SETCAP_H_

#include <sys/types.h>


// Switch on CAP_SYS_RESOURCE capabality to switch off disk quotas checking
//
// Returns 0 if successful
// Returns -1 if error has occured
int enable_quota_capability();

// Switch off CAP_SYS_RESOURCE capabality to switch off disk quotas checking
//
// Returns 0 if successful
// Returns -1 if error has occured
int disable_quota_capability();

#endif