Should __FD_SETSIZE still be set to 1024 ?

Dag Wieers (dag@wieers.com)
Fri, 22 Jun 2001 16:59:36 +0200 (CEST)


Hi,

Is there a reason for __FD_SETSIZE to be 1024 in
linux/posix_types.h and gnu/types.h ?
Why can't we increase this number by default ?

Shouldn't it be set to the real limit of the kernel ? (And let
applications define their own limit if there is a need for one ?)

PS The LKML faq remarks that increasing this can break select.
Is this still an issue ? Under what conditions ?

Thanks in advance,

-- dag wieers, dag@wieers.com, http://dag.wieers.com/ --
«Onder voorbehoud van hetgeen niet uitdrukkelijk wordt erkend»

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/