haiku/headers
Augustin Cavalier 66f51cb3b9 kernel/team: Do not inherit anything from the kernel's IO context.
We already didn't inherit FDs, which meant that the only thing we
did meaningfully inherit was the table size. That meant that basically
no applications actually had a table size of the default 256, but all
were at the kernel's 4096 (except Tracker and anything started by it,
as Tracker resets it to 512), and also that basically all applications
had FD tables allocated with the raw allocator instead of the block
allocator, which isn't very efficient.

Since this reduces the default FD table size, some applications
might encounter problems. However, build systems and other such
tools should already increase this by default as needed, and it's
easy enough to patch in calls to setrlimit() if it turns out
some applications needed a higher default after all.

Also remove a redundant call to vfs_exec_io_context. Calling
vfs_new_io_context with the second argument set to "true"
already skips cloning CLOEXEC FDs.
2025-01-03 12:26:13 -05:00
..
build
compatibility libroot: move memmem for POSIX.1/2024 2024-11-04 17:55:40 +00:00
config
cpp
glibc
libs
os Drivers.h: Add B_SOCKET_IO_BASE declaration. 2024-12-21 17:00:00 +00:00
posix POSIX: add pthread_getcpuclockid() 2024-12-17 09:45:13 +00:00
private kernel/team: Do not inherit anything from the kernel's IO context. 2025-01-03 12:26:13 -05:00
tools