[orbis-kernel] chroot bugfixes

reduce log spam
increase count of gcm buffers
This commit is contained in:
DH 2023-11-11 22:12:07 +03:00
parent 1f001101a4
commit e9dfaf2573
12 changed files with 60 additions and 27 deletions

View file

@ -44,7 +44,7 @@ orbis::SysResult orbis::sys_open(Thread *thread, ptr<char> path, sint flags,
auto fd = thread->tproc->fileDescriptors.insert(file);
thread->retval[0] = fd;
ORBIS_LOG_NOTICE(__FUNCTION__, path, flags, mode, fd);
// ORBIS_LOG_NOTICE(__FUNCTION__, path, flags, mode, fd);
return {};
}
@ -208,7 +208,7 @@ orbis::SysResult orbis::sys_lpathconf(Thread *thread, ptr<char> path,
}
orbis::SysResult orbis::sys_readlink(Thread *thread, ptr<char> path,
ptr<char> buf, size_t count) {
return ErrorCode::NOSYS;
return ErrorCode::INVAL;
}
orbis::SysResult orbis::sys_readlinkat(Thread *thread, sint fd, ptr<char> path,
ptr<char> buf, size_t bufsize) {