Re: MAXSYMLINKS incredibly low

Andi Kleen (ak@muc.de)
04 Jan 2000 03:38:29 +0100


drepper@cygnus.com (Ulrich Drepper) writes:

> Martin Buchholz <martin@xemacs.org> writes:
>
> > Does glibc have a configure test so that its value of MAXSYMLINKS
> > matches the experimentally determined limit in the kernel? What if
> > someone upgrades the kernel independently (very common)? How
> > important is it for glibc's limit to match the kernel's limit?
>
> I'm in a constant fight with the kernel people to get functions to
> query these constants. sysctl() could be used to do this but nobody
> cared to finish the implementation to cover al the interesting
> constants.
>
> If you want to see this changed go to the kernel people and tell them
> that recompiling with different constants etc *is* a problem. They
> are not beliveing me (or even listen to me).

It is always just an about 4 line addition

(2 lines for a readonly sysctl table entry to kernel/sysctl.c
and one line to declare the const variable with the constant and
another one to add the sysctl name to include/linux/sysctl.h)

You could just send a patch, it would be probably shorter than any
possible rant :-)

-Andi

-- 
This is like TV. I don't like TV.

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