Kernel/LibC: Add {get,set}pgrp()

This commit is contained in:
Bananymous
2023-08-22 11:36:33 +03:00
parent 0f6c19a1b7
commit c9243f0d1e
5 changed files with 26 additions and 0 deletions

View File

@@ -79,6 +79,7 @@ namespace Kernel
BAN::ErrorOr<long> sys_setegid(gid_t);
BAN::ErrorOr<long> sys_setreuid(uid_t, uid_t);
BAN::ErrorOr<long> sys_setregid(gid_t, gid_t);
BAN::ErrorOr<long> sys_setpgrp();
BAN::ErrorOr<long> sys_getuid() const { return m_credentials.ruid(); }
BAN::ErrorOr<long> sys_getgid() const { return m_credentials.rgid(); }