1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:17:36 +00:00

Kernel: Add new sysconf option _SC_GETGR_R_SIZE_MAX

This commit is contained in:
hanaa12G 2023-12-25 09:20:31 +07:00 committed by Andrew Kaster
parent 3c52c25515
commit 7abda6a36f
2 changed files with 3 additions and 0 deletions

View file

@ -29,6 +29,7 @@ ErrorOr<FlatPtr> Process::sys$sysconf(int name)
case _SC_TTY_NAME_MAX:
return TTY_NAME_MAX;
case _SC_GETPW_R_SIZE_MAX:
case _SC_GETGR_R_SIZE_MAX:
return 4096; // idk
case _SC_CLK_TCK:
return TimeManagement::the().ticks_per_second();