2000-11-10 19:50:35

by Alexander Viro

[permalink] [raw]
Subject: [RFC] crapectomy: CTL_ANY

% find . -type f | xargs grep -nw CTL_ANY
./kernel/sysctl.c:370: if (n == table->ctl_name || table->ctl_name == CTL_ANY) {
./include/linux/sysctl.h:47:#define CTL_ANY -1 /* Matches any name */

And no, there is no ctl_table that would be getting explicit -1 as ->ctl_name.
Unless somebody screams I'm removing that beast (how the hell did it get
there in the first place? Mind boggles...)