aio-nr, aio-max-nr, acpi_video_flags are unsigned long values which sysctl does not handle properly with a 64bit kernel and a 32bit user space. Since no one is likely to be using the binary sysctl values and the ascii interface still works, this patch just removes support for the binary sysctl interface from the kernel. Signed-off-by: Eric W. Biederman <[email protected]> --- kernel/sysctl.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index ccae8da..03759ab 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -688,7 +688,6 @@ static struct ctl_table kern_table[] = { #endif #if defined(CONFIG_ACPI_SLEEP) && defined(CONFIG_X86) { - .ctl_name = KERN_ACPI_VIDEO_FLAGS, .procname = "acpi_video_flags", .data = &acpi_realmode_flags, .maxlen = sizeof (unsigned long), @@ -1148,7 +1147,6 @@ static struct ctl_table fs_table[] = { .extra2 = &two, }, { - .ctl_name = FS_AIO_NR, .procname = "aio-nr", .data = &aio_nr, .maxlen = sizeof(aio_nr), @@ -1156,7 +1154,6 @@ static struct ctl_table fs_table[] = { .proc_handler = &proc_doulongvec_minmax, }, { - .ctl_name = FS_AIO_MAX_NR, .procname = "aio-max-nr", .data = &aio_max_nr, .maxlen = sizeof(aio_max_nr), -- 1.5.1.1.181.g2de0 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH] Remove CTL_UNNUMBERED
- From: Alexey Dobriyan <[email protected]>
- Re: [PATCH] Remove CTL_UNNUMBERED
- From: [email protected] (Eric W. Biederman)
- Re: [PATCH] Remove CTL_UNNUMBERED
- From: Alexey Dobriyan <[email protected]>
- [PATCH 2/2] sysctl: remove CTL_UNNUMBERED
- From: Alexey Dobriyan <[email protected]>
- [PATCH 1/3] sysctl core: Stop using the unnecessary ctl_table typedef
- From: [email protected] (Eric W. Biederman)
- [PATCH 2/3] sysctl: Factor out sysctl_data.
- From: [email protected] (Eric W. Biederman)
- [PATCH 3/3] sysctl: Error on bad sysctl tables
- From: [email protected] (Eric W. Biederman)
- [PATCH 01/10] sysctl: Update sysctl_check_table
- From: [email protected] (Eric W. Biederman)
- [PATCH 02/10] sysct mqueue: Remove the binary sysctl numbers
- From: [email protected] (Eric W. Biederman)
- [PATCH 03/10] sysctl: Remove binary sysctl support where it clearly doesn't work.
- From: [email protected] (Eric W. Biederman)
- [PATCH 04/10] sysctl: Fix neighbour table sysctls.
- From: [email protected] (Eric W. Biederman)
- [PATCH 05/10] sysctl: ipv6 route flushing (kill binary path)
- From: [email protected] (Eric W. Biederman)
- [PATCH 06/10] sysctl: Remove broken sunrpc debug binary sysctls
- From: [email protected] (Eric W. Biederman)
- [PATCH 07/10] sysctl: x86_64 remove unnecessary binary paths.
- From: [email protected] (Eric W. Biederman)
- [PATCH 08/10] sysctl: Remove broken cdrom binary sysctls
- From: [email protected] (Eric W. Biederman)
- [PATCH 09/10] sysctl: ipv4 remove binary sysctl paths where they are broken.
- From: [email protected] (Eric W. Biederman)
- [PATCH] Remove CTL_UNNUMBERED
- Prev by Date: Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Next by Date: [PATCH 06/10] sysctl: Remove broken sunrpc debug binary sysctls
- Previous by thread: [PATCH 09/10] sysctl: ipv4 remove binary sysctl paths where they are broken.
- Next by thread: Re: [PATCH 08/10] sysctl: Remove broken cdrom binary sysctls
- Index(es):