mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-03-04 08:37:33 +00:00
[orbis-kernel] ignore sys_sigaction
Write warning on unknown how for sys_sigprocmask
This commit is contained in:
parent
ae566402af
commit
5d87f3e3fd
@ -1,9 +1,10 @@
|
|||||||
#include "sys/sysproto.hpp"
|
#include "sys/sysproto.hpp"
|
||||||
|
#include "utils/Logs.hpp"
|
||||||
|
|
||||||
orbis::SysResult orbis::sys_sigaction(Thread *thread, sint sig,
|
orbis::SysResult orbis::sys_sigaction(Thread *thread, sint sig,
|
||||||
ptr<struct sigaction> act,
|
ptr<struct sigaction> act,
|
||||||
ptr<struct sigaction> oact) {
|
ptr<struct sigaction> oact) {
|
||||||
return ErrorCode::NOSYS;
|
return {};
|
||||||
}
|
}
|
||||||
orbis::SysResult orbis::sys_sigprocmask(Thread *thread, sint how,
|
orbis::SysResult orbis::sys_sigprocmask(Thread *thread, sint how,
|
||||||
ptr<uint64_t> set, ptr<uint64_t> oset) {
|
ptr<uint64_t> set, ptr<uint64_t> oset) {
|
||||||
@ -31,7 +32,9 @@ orbis::SysResult orbis::sys_sigprocmask(Thread *thread, sint how,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return ErrorCode::INVAL;
|
ORBIS_LOG_ERROR("sys_sigprocmask: unimplemented how", how);
|
||||||
|
thread->where();
|
||||||
|
return {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return {};
|
return {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user