From: Eric W. Biederman 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 Cc: Alexey Dobriyan Cc: Benjamin LaHaise Cc: Zach Brown Cc: Badari Pulavarty Cc: Len Brown Signed-off-by: Andrew Morton --- kernel/sysctl.c | 3 --- 1 file changed, 3 deletions(-) diff -puN kernel/sysctl.c~sysctl-remove-the-binary-interface-for-aio-nr-aio-max-nr-acpi_video_flags kernel/sysctl.c --- a/kernel/sysctl.c~sysctl-remove-the-binary-interface-for-aio-nr-aio-max-nr-acpi_video_flags +++ a/kernel/sysctl.c @@ -695,7 +695,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), @@ -1169,7 +1168,6 @@ static struct ctl_table fs_table[] = { .extra2 = &two, }, { - .ctl_name = FS_AIO_NR, .procname = "aio-nr", .data = &aio_nr, .maxlen = sizeof(aio_nr), @@ -1177,7 +1175,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), _