From: Chris Wright <chrisw@osdl.org>
To: linux-kernel@vger.kernel.org
Subject: Re: do_execve calls destroy_context when init_new_context has failed
Date: Thu, 4 Nov 2004 12:27:38 -0800 [thread overview]
Message-ID: <20041104122738.I14339@build.pdx.osdl.net> (raw)
In-Reply-To: <20041104074411.GA30985@localhost>; from frumplestillskins@yahoo.co.uk on Thu, Nov 04, 2004 at 02:44:11AM -0500
* David Meybohm (frumplestillskins@yahoo.co.uk) wrote:
> Who's right here? fork or exec?
I think both are right. The difference is on execve the mm is completely
fresh (specifically it's zeroed out, including the context). On fork
it's manually copied from the parent, so destroying it could actually
destory some parent context.
thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
prev parent reply other threads:[~2004-11-04 20:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-04 7:44 David Meybohm
2004-11-04 20:27 ` Chris Wright [this message]
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=20041104122738.I14339@build.pdx.osdl.net \
--to=chrisw@osdl.org \
--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®