mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 00:47:36 +00:00
Kernel: More work towards POSIX SHM, also add ftruncate().
This commit is contained in:
parent
99f3cc26c3
commit
26a06f3fcd
10 changed files with 92 additions and 1 deletions
|
@ -247,6 +247,8 @@ static dword handle(RegisterDump& regs, dword function, dword arg1, dword arg2,
|
|||
return current->process().sys$shm_open((const char*)arg1, (int)arg2, (mode_t)arg3);
|
||||
case Syscall::SC_shm_close:
|
||||
return current->process().sys$shm_unlink((const char*)arg1);
|
||||
case Syscall::SC_ftruncate:
|
||||
return current->process().sys$ftruncate((int)arg1, (off_t)arg2);
|
||||
default:
|
||||
kprintf("<%u> int0x82: Unknown function %u requested {%x, %x, %x}\n", current->process().pid(), function, arg1, arg2, arg3);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue