mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-29 07:47:59 +00:00
Add stubs for setting RLIMIT_NOFILE and RLIMIT_STACK
This commit is contained in:
parent
a1cda40743
commit
a05f88091c
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user