From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Harry Kalogirou <harkal@gmx.net>
Cc: Linux-8086 <linux-8086@vger.kernel.org>
Subject: Re: ELKS executable, time for a change?
Date: 28 Oct 2002 13:08:16 +0000 [thread overview]
Message-ID: <1035810496.2067.7.camel@irongate.swansea.linux.org.uk> (raw)
In-Reply-To: <1035807219.5492.84.camel@cool>
On Mon, 2002-10-28 at 12:14, Harry Kalogirou wrote:
> Also I would like to ask Al if he can explain how was he planning to
> support an enlarging stack? This is mentioned in mm/malloc.c. I
> personaly don't see a way for this to happen. Am I missing something?
If you have code to detect stack overflows then you can do it with a bit
of compiler help. It makes things a lot more expensive so I question
whether it should be done.
Basically your entry code starts to look like
function_entry:
if(new frame wont fit on stack)
{
alloc new stack segment
push old esp to new stack
push args to new stack
call function_entry
fix stack
pop old stack segment
free newer stack segment
ret
}
next prev parent reply other threads:[~2002-10-28 13:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-28 12:14 ELKS executable, time for a change? Harry Kalogirou
2002-10-28 13:08 ` Alan Cox [this message]
2002-10-28 18:52 ` Harry Kalogirou
[not found] ` <20021028121918.GA29181@pulsion.ecs.soton.ac.uk>
2002-10-28 18:52 ` Harry Kalogirou
-- strict thread matches above, loose matches on Subject: below --
2002-10-28 18:51 Harry Kalogirou
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=1035810496.2067.7.camel@irongate.swansea.linux.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=harkal@gmx.net \
--cc=linux-8086@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