lkml.org 
[lkml]   [2000]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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...)
Cheers,
Al

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

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.027 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site