Re: >256 fd patch...

Oskar Pearson (oskar@is.co.za)
Wed, 26 Mar 1997 01:39:25 +0200


Hi

> >I am re-compiling libc as we speak, and I will put it somewhere around there
> >too.
> >(there is also a patch at ftp://ftp.is.co.za/linux/local/kernel)
>
> Do you have to "do" anything to libc? Or just build it?
I am just re-building it. I believe that this was needed with the previous
patches (I think that things like "open" wouldn't allow people to open
more than X fd's if they used the libc stuff. Tell me if I am wrong, people)

> Do you have to change gnu/types.h?
Thanks. I thought I had checked that. I have updated the page and ftp site.

guys - it really <pisses> me off that we have so many things like:
/* Number of descriptors that can fit in an `fd_set'. */
#define __FD_SETSIZE 256
duplicated.

in 60000000 places in the kernel. It should be done somewhere like
"limits.h" and then ALL of the other things should link it in.

What is "#define _G_FOPEN_MAX 256" in _G_config.h? Do I need to change it?

Oskar