1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00

Kernel: Add fchown() syscall.

This commit is contained in:
Andreas Kling 2019-06-01 20:31:36 +02:00
parent 51581c21fc
commit 93d3d1ede1
8 changed files with 30 additions and 2 deletions

View file

@ -242,6 +242,8 @@ static dword handle(RegisterDump& regs, dword function, dword arg1, dword arg2,
return current->process().sys$release_shared_buffer((int)arg1);
case Syscall::SC_chown:
return current->process().sys$chown((const char*)arg1, (uid_t)arg2, (gid_t)arg3);
case Syscall::SC_fchown:
return current->process().sys$fchown((int)arg1, (uid_t)arg2, (gid_t)arg3);
case Syscall::SC_restore_signal_mask:
return current->process().sys$restore_signal_mask((dword)arg1);
case Syscall::SC_seal_shared_buffer: