add sys/quota.h and quotactl syscall wrapper
based on patch by Timo Teräs.
This commit is contained in:
parent
c91ad4f716
commit
e36d8a1d74
2 changed files with 111 additions and 0 deletions
7
src/linux/quotactl.c
Normal file
7
src/linux/quotactl.c
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#include <sys/quota.h>
|
||||
#include "syscall.h"
|
||||
|
||||
int quotactl(int cmd, const char *special, int id, char *addr)
|
||||
{
|
||||
return syscall(SYS_quotactl, cmd, special, id, addr);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue