Fix execve and cleanup code

This commit is contained in:
EnderIce2 2024-03-20 17:40:27 +02:00
parent 665b26f754
commit 76367669be
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -609,7 +609,6 @@ static int linux_access(SysFrm *, const char *pathname, int mode)
return -ENOENT;
stub;
fixme("access(%s, %d)", (char *)pPathname, mode);
return 0;
}
@ -2030,11 +2029,9 @@ static int linux_prlimit64(SysFrm *, pid_t pid, int resource,
case RLIMIT_CPU:
case RLIMIT_FSIZE:
case RLIMIT_DATA:
case RLIMIT_STACK:
case RLIMIT_CORE:
case RLIMIT_RSS:
case RLIMIT_NPROC:
case RLIMIT_NOFILE:
case RLIMIT_MEMLOCK:
case RLIMIT_AS:
case RLIMIT_LOCKS: