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

Kernel: Add sysconf for IOV_MAX

This commit is contained in:
Andrew Kaster 2022-06-14 18:20:42 -06:00 committed by Andreas Kling
parent 1d3b5d330d
commit 455038d6fc
2 changed files with 4 additions and 0 deletions

View file

@ -35,6 +35,8 @@ ErrorOr<FlatPtr> Process::sys$sysconf(int name)
return Kernel::VirtualFileSystem::symlink_recursion_limit;
case _SC_ARG_MAX:
return Process::max_arguments_size;
case _SC_IOV_MAX:
return IOV_MAX;
default:
return EINVAL;
}