public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Sedat Dilek <sedat.dilek@googlemail•com>
To: linux-kernel@vger•kernel.org, linux-next@vger•kernel.org,
	Stephen Rothwell <sfr@canb•auug.org.au>,
	x86@kernel•org, Ingo Molnar <mingo@elte•hu>,
	Arnd Bergmann <arnd@arndb•de>,
	H. Pete
Cc: Sedat Dilek <sedat.dilek@gmail•com>,
	Stephen Boyd <sboyd@codeaurora•org>,
	Andrew Morton <akpm@linux-foundation•org>
Subject: [PATCH -next] usercopy: Fixup patch to commit 4df97ff66a102a89ecfa2f88051e30bdd54ad864
Date: Fri, 29 Jul 2011 20:58:12 +0200	[thread overview]
Message-ID: <1311965892-17026-1-git-send-email-sedat.dilek@gmail.com> (raw)

When building with CONFIG_BINFMT_MISC=m linux-next (next-20110728) breaks:
ERROR: "copy_from_user_overflow" [fs/binfmt_misc.ko] undefined!

The issue was introduced by commit ab3b49d018924085e5d949c1af53fae0da9a8d94:
"The help text for this config is duplicated across the x86, parisc, and s390 Kconfig.debug files."

After reporting the issue to linux-next/LKML mailing-lists, Stephen Boyd
told me he had already sent a fix [1] which should be folded into [2].
Unfortunately, Stephen's fixup didn't get into Andrew's mmotm-tree and
find its way from there to linux-next.

Tested on x86_64 (Randy) and i386 (Sedat).

[1] https://lkml.org/lkml/2011/7/6/6
[2] http://userweb.kernel.org/~akpm/mmotm/broken-out/consolidate-config_debug_strict_user_copy_checks.patch

Reported-by: Randy Dunlap <rdunlap@xenotime•net>
Reported-by: Sedat Dilek <sedat.dilek@gmail•com>
Tested-by: Randy Dunlap <rdunlap@xenotime•net>
Tested-by: Sedat Dilek <sedat.dilek@gmail•com>
Cc: Stephen Boyd <sboyd@codeaurora•org>
Cc: Andrew Morton <akpm@linux-foundation•org>
Signed-off-by: Sedat Dilek <sedat.dilek@gmail•com>
---
 lib/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/Makefile b/lib/Makefile
index fbf4b06..4ac9e49b 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -14,7 +14,7 @@ lib-y := ctype.o string.o vsprintf.o cmdline.o \
 	 proportions.o prio_heap.o ratelimit.o show_mem.o \
 	 is_single_threaded.o plist.o decompress.o find_next_bit.o
 
-lib-$(CONFIG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS) += usercopy.o
+obj-$(CONFIG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS) += usercopy.o
 lib-$(CONFIG_MMU) += ioremap.o
 lib-$(CONFIG_SMP) += cpumask.o
 
-- 
1.7.6

                 reply	other threads:[~2011-07-29 18:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1311965892-17026-1-git-send-email-sedat.dilek@gmail.com \
    --to=sedat.dilek@googlemail$(echo .)com \
    --cc=akpm@linux-foundation$(echo .)org \
    --cc=arnd@arndb$(echo .)de \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=mingo@elte$(echo .)hu \
    --cc=sboyd@codeaurora$(echo .)org \
    --cc=sedat.dilek@gmail$(echo .)com \
    --cc=sfr@canb$(echo .)auug.org.au \
    --cc=x86@kernel$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox