[orbis-kernel] Use hack open for osem like for evf

This commit is contained in:
DH 2023-07-30 00:30:38 +03:00
parent 29086ea7cd
commit c320bf629e

View File

@ -372,6 +372,8 @@ orbis::SysResult orbis::sys_osem_open(Thread *thread,
auto sem = thread->tproc->context->findSemaphore(_name);
if (sem == nullptr) {
// FIXME: hack :)
return sys_osem_create(thread, name, kSemaAttrShared, 0, 10000);
return ErrorCode::SRCH;
}