public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: linux-kernel@vger.kernel.org
Subject: [4/5] ppc32 stack bounds checking
Date: Fri, 16 Apr 2004 22:39:57 -0700	[thread overview]
Message-ID: <20040417053957.GZ743@holomorphy.com> (raw)
In-Reply-To: <20040417053905.GY743@holomorphy.com>

Index: wli-2.6.5-mm6/arch/ppc/kernel/process.c
===================================================================
--- wli-2.6.5-mm6.orig/arch/ppc/kernel/process.c	2004-04-14 23:21:03.000000000 -0700
+++ wli-2.6.5-mm6/arch/ppc/kernel/process.c	2004-04-16 10:40:04.000000000 -0700
@@ -83,7 +83,7 @@
 unsigned long
 task_top(struct task_struct *tsk)
 {
-	return ((unsigned long)tsk) + sizeof(struct task_struct);
+	return ((unsigned long)tsk) + sizeof(struct thread_info);
 }
 
 /* check to make sure the kernel stack is healthy */

  reply	other threads:[~2004-04-17  5:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-17  5:35 [0/5] stack bounds checking William Lee Irwin III
2004-04-17  5:37 ` [1/5] h8300 " William Lee Irwin III
2004-04-17  5:38   ` [2/5] m68k " William Lee Irwin III
2004-04-17  5:39     ` [3/5] m68knommu " William Lee Irwin III
2004-04-17  5:39       ` William Lee Irwin III [this message]
2004-04-17  5:40         ` [5/5] sparc32 " William Lee Irwin III

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=20040417053957.GZ743@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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