mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Oliver Neukum <oliver@neukum.name>
To: nataraja kumar <hainattu@yahoo.com>, linux-kernel@vger.kernel.org
Subject: Re: A question on kernel stack
Date: Fri, 21 Feb 2003 19:09:41 +0100	[thread overview]
Message-ID: <200302211909.41396.oliver@neukum.name> (raw)
In-Reply-To: <20030221180508.18214.qmail@web20206.mail.yahoo.com>

Am Freitag, 21. Februar 2003 19:05 schrieb nataraja kumar:
> hi,
> my apologies if i am wrong. please let me know
> why does kernel use kernel stack when process jumps
> from user mode to kernel mode. why can't user stack
> be used ?

Security. We can't trust user mode to pass a valid stack pointer.

	Oliver


  reply	other threads:[~2003-02-21 17:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-21 18:05 nataraja kumar
2003-02-21 18:09 ` Oliver Neukum [this message]
2003-02-21 18:27 ` Brian Gerst
2003-02-21 19:25 ` Richard B. Johnson
2003-02-23  7:43 ` cs02m023
2003-02-23 14:33 ` Kasper Dupont

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=200302211909.41396.oliver@neukum.name \
    --to=oliver@neukum.name \
    --cc=hainattu@yahoo.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

all inboxes | Powered by JetHome®