mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-10 23:09:18 +00:00
Add stubs for setting RLIMIT_NOFILE and RLIMIT_STACK
This commit is contained in:
@ -1984,6 +1984,16 @@ static int linux_prlimit64(SysFrm *, pid_t pid, int resource,
|
|||||||
|
|
||||||
switch (resource)
|
switch (resource)
|
||||||
{
|
{
|
||||||
|
case RLIMIT_NOFILE:
|
||||||
|
{
|
||||||
|
fixme("Setting RLIMIT_NOFILE is stub");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
case RLIMIT_STACK:
|
||||||
|
{
|
||||||
|
fixme("Setting RLIMIT_STACK is stub");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
case RLIMIT_CPU:
|
case RLIMIT_CPU:
|
||||||
case RLIMIT_FSIZE:
|
case RLIMIT_FSIZE:
|
||||||
case RLIMIT_DATA:
|
case RLIMIT_DATA:
|
||||||
|
Reference in New Issue
Block a user