mirror of
https://github.com/ish-app/ish.git
synced 2026-05-28 21:10:35 +00:00
Don't abort on unimplemented setitimer
This commit is contained in:
+4
-2
@@ -77,8 +77,10 @@ static void itimer_notify(struct task *task) {
|
||||
}
|
||||
|
||||
dword_t sys_setitimer(dword_t which, addr_t new_val_addr, addr_t old_val_addr) {
|
||||
if (which != ITIMER_REAL_)
|
||||
TODO("setitimer %d", which);
|
||||
if (which != ITIMER_REAL_) {
|
||||
FIXME("unimplemented setitimer %d", which);
|
||||
return _EINVAL;
|
||||
}
|
||||
|
||||
struct itimerval_ val;
|
||||
if (user_get(new_val_addr, val))
|
||||
|
||||
Reference in New Issue
Block a user