[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <837CA6CF-DA35-4AAF-8F92-0912B7D3166D@mac.com>
Date: Mon, 23 Oct 2006 06:28:15 -0400
From: Kyle Moffett <mrmacman_g4@....com>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
Cc: Andrew Morton <akpm@...l.org>, Alan Cox <alan@...rguk.ukuu.org.uk>,
Andi Kleen <ak@...e.de>, linux-kernel@...r.kernel.org,
Russell King <rmk+lkml@....linux.org.uk>,
Jakub Jelinek <jakub@...hat.com>,
Mike Galbraith <efault@....de>,
Albert Cahalan <acahalan@...il.com>,
Bill Nottingham <notting@...hat.com>,
Marco Roeland <marco.roeland@...all.nl>,
Linus Torvalds <torvalds@...l.org>
Subject: Re: [RFD][PATCH 2/2] sysctl: Implement CTL_UNNUMBERED
On Oct 23, 2006, at 03:25:13, Eric W. Biederman wrote:
> --- a/fs/lockd/svc.c
> -/* Something that isn't CTL_ANY, CTL_NONE or a value that may
> clash. */
> -#define CTL_UNNUMBERED -2
> -
> --- a/fs/nfs/sysctl.c
> -/*
> - * Something that isn't CTL_ANY, CTL_NONE or a value that may clash.
> - * Use the same values as fs/lockd/svc.c
> - */
> -#define CTL_UNNUMBERED -2
> +++ b/include/linux/sysctl.h
> #ifdef __KERNEL__
> #define CTL_ANY -1 /* Matches any name */
> #define CTL_NONE 0
> +#define CTL_UNNUMBERED CTL_NONE /* sysctl without a binary number */
> #endif
This change looks totally broken. Before this patch, CTL_UNNUMBERED
== -2, a number that isn't CTL_ANY, CTL_NONE, or a valid sysctl
number. After this patch, CTL_UNNUMBERED == 0, or CTL_NONE.
Cheers,
Kyle Moffett
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists