diff for duplicates of <20071220043429.GO4612@sgi.com> diff --git a/a/1.txt b/N1/1.txt index 62de13d..d639b89 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -31,10 +31,10 @@ On Wed, Dec 19, 2007 at 11:42:04AM -0500, Kyle McMartin wrote: > goto out; > } > -> - peek_or_poke = (request = PTRACE_PEEKTEXT -> - || request = PTRACE_PEEKDATA -> - || request = PTRACE_POKETEXT -> - || request = PTRACE_POKEDATA); +> - peek_or_poke = (request == PTRACE_PEEKTEXT +> - || request == PTRACE_PEEKDATA +> - || request == PTRACE_POKETEXT +> - || request == PTRACE_POKEDATA); > - ret = -ESRCH; > - read_lock(&tasklist_lock); > - { @@ -54,7 +54,7 @@ On Wed, Dec 19, 2007 at 11:42:04AM -0500, Kyle McMartin wrote: > + } > + > ret = -EPERM; -> if (pid = 1) /* no messing around with init! */ +> if (pid == 1) /* no messing around with init! */ > goto out_tsk; Yes, this patch fixes the problem (though I haven't tried to diff --git a/a/content_digest b/N1/content_digest index 785ffb3..beda50f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\020071219164204.GA18161@fattire.cabal.ca\0" "From\0David Chinner <dgc@sgi.com>\0" "Subject\0Re: [ia64] BUG: sleeping in atomic\0" - "Date\0Thu, 20 Dec 2007 04:34:29 +0000\0" + "Date\0Thu, 20 Dec 2007 15:34:29 +1100\0" "To\0Kyle McMartin <kyle@mcmartin.ca>\0" "Cc\0David Chinner <dgc@sgi.com>" lkml <linux-kernel@vger.kernel.org> @@ -43,10 +43,10 @@ "> \t\tgoto out;\n" "> \t}\n" "> \n" - "> -\tpeek_or_poke = (request = PTRACE_PEEKTEXT\n" - "> -\t\t\t|| request = PTRACE_PEEKDATA\n" - "> -\t\t\t|| request = PTRACE_POKETEXT\n" - "> -\t\t\t|| request = PTRACE_POKEDATA);\n" + "> -\tpeek_or_poke = (request == PTRACE_PEEKTEXT\n" + "> -\t\t\t|| request == PTRACE_PEEKDATA\n" + "> -\t\t\t|| request == PTRACE_POKETEXT\n" + "> -\t\t\t|| request == PTRACE_POKEDATA);\n" "> -\tret = -ESRCH;\n" "> -\tread_lock(&tasklist_lock);\n" "> -\t{\n" @@ -66,7 +66,7 @@ "> +\t}\n" "> +\n" "> \tret = -EPERM;\n" - "> \tif (pid = 1)\t\t/* no messing around with init! */\n" + "> \tif (pid == 1)\t\t/* no messing around with init! */\n" "> \t\tgoto out_tsk;\n" "\n" "Yes, this patch fixes the problem (though I haven't tried to\n" @@ -80,4 +80,4 @@ "Principal Engineer\n" SGI Australian Software Group -43dcfeab1170a9b18ba29614435f0f4f7af334a1e7bc519de64f9fae01135561 +3147ea559432d59bfcd070667761472a3fe1e2098a258e9995467a05d1c36410
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.