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

Kernel+LibC: Add the _SC_GETPW_R_SIZE_MAX sysconf enum

It just returns 4096 :P
This commit is contained in:
AnotherTest 2021-02-12 05:41:50 +03:30 committed by Andreas Kling
parent 71054c4c06
commit 4519950266
3 changed files with 5 additions and 0 deletions

View file

@ -42,6 +42,8 @@ long Process::sys$sysconf(int name)
return PAGE_SIZE;
case _SC_TTY_NAME_MAX:
return TTY_NAME_MAX;
case _SC_GETPW_R_SIZE_MAX:
return 4096; // idk
default:
return -EINVAL;
}