haiku/src/system
Michael Lotz 9c4845e767 kernel: Implement wait info count limit in wait_for_objects.
Since wait_for_objects can wait on sems, threads and ports in addition
to FDs, limiting to RLIMIT_NOFILES as in the select/poll case does not
work. Since space is allocated for the wait objects in kernel memory,
limiting their number to a valid range is still desireable.

The limit is now placed at the sum of max sem, thread and port count
plus RLIMIT_NOFILES.

This also fixes a signed vs. unsigned comparison warning in
check_max_fds introduced in hrev51866.
2018-04-06 21:20:11 +02:00
..
boot openfirmware/ppc: A few minor fixes and extra debugging 2018-03-13 21:35:22 -05:00
glue glue: correctly support different architectures. 2018-01-31 22:57:56 +01:00
kernel kernel: Implement wait info count limit in wait_for_objects. 2018-04-06 21:20:11 +02:00
ldscripts kernel: Binary code patches on x86. 2018-01-14 13:20:38 +01:00
libroot stdlib: Add common bsd mkstemps function 2018-02-26 21:46:25 +00:00
runtime_loader runtime_loader: add hybrid support. 2018-02-25 08:29:51 +01:00
Jamfile