mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-30 00:08:03 +00:00
Fix execve and cleanup code
This commit is contained in:
parent
665b26f754
commit
76367669be
@ -609,7 +609,6 @@ static int linux_access(SysFrm *, const char *pathname, int mode)
|
|||||||
return -ENOENT;
|
return -ENOENT;
|
||||||
|
|
||||||
stub;
|
stub;
|
||||||
fixme("access(%s, %d)", (char *)pPathname, mode);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2030,11 +2029,9 @@ static int linux_prlimit64(SysFrm *, pid_t pid, int resource,
|
|||||||
case RLIMIT_CPU:
|
case RLIMIT_CPU:
|
||||||
case RLIMIT_FSIZE:
|
case RLIMIT_FSIZE:
|
||||||
case RLIMIT_DATA:
|
case RLIMIT_DATA:
|
||||||
case RLIMIT_STACK:
|
|
||||||
case RLIMIT_CORE:
|
case RLIMIT_CORE:
|
||||||
case RLIMIT_RSS:
|
case RLIMIT_RSS:
|
||||||
case RLIMIT_NPROC:
|
case RLIMIT_NPROC:
|
||||||
case RLIMIT_NOFILE:
|
|
||||||
case RLIMIT_MEMLOCK:
|
case RLIMIT_MEMLOCK:
|
||||||
case RLIMIT_AS:
|
case RLIMIT_AS:
|
||||||
case RLIMIT_LOCKS:
|
case RLIMIT_LOCKS:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user