mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peter Duellings <Peter.Duellings@wincor-nixdorf.com>
To: Benjamin LaHaise <bcrl@kvack.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel error in system call accept() under kernel 2.6.8
Date: Tue, 20 Sep 2005 17:32:49 +0200	[thread overview]
Message-ID: <43302BA1.5090109@wincor-nixdorf.com> (raw)
In-Reply-To: <20050920152850.GI32751@kvack.org>

Ben,


Right. But before Log.Log is called arguments of methods are
copied on the stack. That means, also the current content of
errno is copied. And "current" means in that case before the call
to Log.Log is performed (errno is transferred by value - not by
reference).

-Peter


Benjamin LaHaise wrote:

> On Tue, Sep 20, 2005 at 05:20:03PM +0200, Peter Duellings wrote:
> 
>>Hi Ben,
>>
>>if Log.Log would modify errno the Log.Log debug output should
>>not be affected since the value of errno - from my understanding -
>>is copied on the stack *before* Log.Log is called.
>>Or did I forget something?
> 
> 
> errno does not reside on the stack.
> 
> 		-ben



  reply	other threads:[~2005-09-20 15:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-20 14:25 Peter Duellings
     [not found] ` <20050920150755.GH32751@kvack.org>
2005-09-20 15:20   ` Peter Duellings
2005-09-20 15:28     ` Benjamin LaHaise
2005-09-20 15:32       ` Peter Duellings [this message]
2005-09-20 15:35         ` Benjamin LaHaise
2005-09-20 15:32 ` Alan Cox
2005-09-20 15:19   ` Peter Duellings
2005-10-05 15:41   ` Peter Duellings
2005-10-05 17:39     ` linux-os (Dick Johnson)
2005-10-05 17:53     ` Bernd Petrovitsch

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=43302BA1.5090109@wincor-nixdorf.com \
    --to=peter.duellings@wincor-nixdorf.com \
    --cc=bcrl@kvack.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®