Subject: + kernel-kmodc-check-for-null-in-call_usermodehelper_exec-update.patch added to -mm tree To: penguin-kernel@xxxxxxxxxxxxxxxxxxx,oleg@xxxxxxxxxx,penguin-kernel@xxxxxxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Tue, 24 Sep 2013 13:54:16 -0700 The patch titled Subject: kernel-kmodc-check-for-null-in-call_usermodehelper_exec-update has been added to the -mm tree. Its filename is kernel-kmodc-check-for-null-in-call_usermodehelper_exec-update.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/kernel-kmodc-check-for-null-in-call_usermodehelper_exec-update.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/kernel-kmodc-check-for-null-in-call_usermodehelper_exec-update.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> Subject: kernel-kmodc-check-for-null-in-call_usermodehelper_exec-update Switch to EINVAL. Signed-off-by: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> Cc: Oleg Nesterov <oleg@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/kmod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/kmod.c~kernel-kmodc-check-for-null-in-call_usermodehelper_exec-update kernel/kmod.c --- a/kernel/kmod.c~kernel-kmodc-check-for-null-in-call_usermodehelper_exec-update +++ a/kernel/kmod.c @@ -573,7 +573,7 @@ int call_usermodehelper_exec(struct subp if (!sub_info->path) { call_usermodehelper_freeinfo(sub_info); - return -ENOENT; + return -EINVAL; } helper_lock(); if (!khelper_wq || usermodehelper_disabled) { _ Patches currently in -mm which might be from penguin-kernel@xxxxxxxxxxxxxxxxxxx are kernel-kmodc-check-for-null-in-call_usermodehelper_exec-update.patch syscallsh-use-gcc-alias-instead-of-assembler-aliases-for-syscalls.patch scripts-mod-modpostc-handle-non-abs-crc-symbols.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