Linux-kernel mailing list archive 1999-23,: Re: ELOOP help needed

# Re: ELOOP help needed

Matthew Kirkwood (weejock@ferret.lmh.ox.ac.uk)
Sun, 6 Jun 1999 19:15:21 +0100 (GMT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: David S. Miller: "Re: RFC: Devices, buses and hotplug"
- Previous message: Riley Williams: "Re: Now who does cause this ???"

On Sun, 6 Jun 1999, Lou Grinzo wrote:

> I'm trying to track down a specific detail about how Linux handles
> circular link references. I know that certain system calls will return
> [-]ELOOP when this condition is detected, but I need a little more
> information:
>
> I've seen descriptions that say only a certain number of links will be
> followed before Linux will assume it has a circular reference and give
> up and return ELOOP. Is this true? If so, what's the limit? Is the
> limit hard- coded, or can it be overridden programmatically?

It's hard-coded. Apparently, go much higher than 5 and the kernel stack
can overflow.

Matthew.

-
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/

- Next message: David S. Miller: "Re: RFC: Devices, buses and hotplug"
- Previous message: Riley Williams: "Re: Now who does cause this ???"