Re: patch: new sysctl to remove hardcoded ELOOP limit

Peeter Joot (peeter@joot.com)
Fri, 10 Apr 1998 00:46:19 -0400 (EDT)


>
> Saw your patch about ELOOP. A word from the pedantic police: why not
> max_symlinks an unsigned int? Sure, it might not ever come up, until some bozo
> tries their best to get funny behavior...

Basically the reason I didn't do this was because I just copied the max_inodes
entry in sysctl.c:)

I guess you could make it unsigned int, but you are probably in trouble if
it gets sets much lower then five anyhow. Maybe somebody should figure out
a general checking scheme for sysctl settings.

Peeter

--
Peeter Joot
http://www.accessv.com/~peeter  peeter@accessv.com, Peeter_Joot@ca.ibm.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu