The patch titled sysctl: ipc fix compilation with CONFIG_SYSCTL_SYSCALL=n has been added to the -mm tree. Its filename is sysctl-fix-sys_sysctl-interface-of-ipc-sysctls-fix-2.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: sysctl: ipc fix compilation with CONFIG_SYSCTL_SYSCALL=n From: Eric W. Biederman <ebiederm@xxxxxxxxxxxx> I goofed and failed to handle the CONFIG_SYSCTL_SYSCALL=n case, with respect to sysctl_ipc_data. The clean fix is to provide a dummy stub that returns -ENOSYS.... I'm certain there is a better way but not today. Signed-off-by: Eric W. Biederman <ebiederm@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- kernel/sysctl.c | 6 ++++++ 1 files changed, 6 insertions(+) diff -puN kernel/sysctl.c~sysctl-fix-sys_sysctl-interface-of-ipc-sysctls-fix-2 kernel/sysctl.c --- a/kernel/sysctl.c~sysctl-fix-sys_sysctl-interface-of-ipc-sysctls-fix-2 +++ a/kernel/sysctl.c @@ -2742,6 +2742,12 @@ static int sysctl_uts_string(ctl_table * { return -ENOSYS; } +static int sysctl_ipc_data(ctl_table *table, int __user *name, int nlen, + void __user *oldval, size_t __user *oldlenp, + void __user *newval, size_t newlen, void **context) +{ + return -ENOSYS; +} #endif /* CONFIG_SYSCTL_SYSCALL */ /* _ Patches currently in -mm which might be from ebiederm@xxxxxxxxxxxx are origin.patch x86-64-change-the-size-for-interrupt-array-to-nr_vectors.patch make-fs-proc-basecproc_pid_instantiate-static.patch sysctl-string-length-calculated-is-wrong-if-it-contains-negative-numbers.patch add-process_session-helper-routine.patch rename-struct-namespace-to-struct-mnt_namespace.patch add-an-identifier-to-nsproxy.patch rename-struct-pspace-to-struct-pid_namespace.patch add-pid_namespace-to-nsproxy.patch use-current-nsproxy-pid_ns.patch add-child-reaper-to-pid_namespace.patch sched2-sched-domain-sysctl-use-ctl_unnumbered.patch mm-implement-swap-prefetching-use-ctl_unnumbered.patch sysctl-simplify-sysctl_uts_string.patch sysctl-implement-sysctl_uts_string.patch sysctl-simplify-ipc-ns-specific-sysctls.patch sysctl-fix-sys_sysctl-interface-of-ipc-sysctls.patch sysctl-fix-sys_sysctl-interface-of-ipc-sysctls-fix-2.patch sysctl-fix-sys_sysctl-interface-of-ipc-sysctls-fix.patch readahead-sysctl-parameters-use-ctl_unnumbered.patch updated-i386-cleanup-apic-code.patch updated-i386-rework-local-apic-calibration.patch updated-dynticks-fix-nmi-watchdog.patch clockevents-core-check-for-clock-event-device-handler-being-non-null-before-calling-it.patch pidhash-temporary-debug-checks.patch vdso-print-fatal-signals-use-ctl_unnumbered.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html