]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
lib/posix-sysinfo: Use posix-fdtab for SC_OPEN_MAX
authorAndrei Tatar <andrei@unikraft.io>
Wed, 5 Jun 2024 18:37:00 +0000 (20:37 +0200)
committerUnikraft Bot <monkey@unikraft.io>
Fri, 11 Oct 2024 04:47:04 +0000 (04:47 +0000)
commit3f7c9ca039a167572457ea9a2b29609f27e3ac93
treed288f546161d5c3c628efdfd854d3fc16b56a9c3
parentd23df64dfb85ff2bd1ada36e880ec1eee522f756
lib/posix-sysinfo: Use posix-fdtab for SC_OPEN_MAX

This change makes `sysinfo` take the size of the fdtab from Kconfig
options of posix-fdtab instead of a macro defined by vfscore.
This correctly reports the size of the file descriptor table, instead of
the vfscore hardcoded default.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Radu Nichita <radunichita99@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #1455
lib/posix-sysinfo/sysinfo.c