linux-um archives
 help / color / mirror / Atom feed
From: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
To: BlaisorBlade <blaisorblade_spam@yahoo.it>
Cc: user-mode-linux-devel@lists.sourceforge.net,
	Jeff Dike <jdike@addtoit.com>
Subject: Re: [uml-devel] Bad handling of invalif systemcalls
Date: Fri, 22 Oct 2004 09:33:33 +0200	[thread overview]
Message-ID: <4178B7CD.1010604@fujitsu-siemens.com> (raw)
In-Reply-To: <200410211932.11392.blaisorblade_spam@yahoo.it>

BlaisorBlade wrote:
> 
> The first remark (the only I have for now) is that you should replace "SIGTRAP 
> + 0x80" with "SIGTRAP | 0x80". It should not make a difference in this 
> particular case, but it's a style issue, which exists because the second way 
> is more robust for setting bits: think about (SIGTRAP & 0x80) == 0x80 and 
> using the + 0x80: it clears the bit it should set and set another one.
Yes. I agree.

> 
> Remark no. 2: could you, please, in next patches, try to add -p to diff flags 
> to improve readability? That makes clear which function is being changed, so 
> the patch becomes more readable.
I will do so.

> 
>>For the third patch I'm quite anxious, that there could go something
>>wrong when using the debugger. I don't understand much about this.
>>Maybe someone else could look into this?
> 
> I'll give a look when I have the needed time. However, could you explain what 
> makes you worry in detail?
I do not understand, how the debugger works. I didn't even use it, yet.
Maybe it would be a good idea to learn while testing.
I tried to mask the additional 0x80 when the debugger is called
(i.e. "(status&0x7fff)"). But I don't know, whether this is the only place, where
a special handling has to be inserted to let the debugger see no changes.

Bodo


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2004-10-22  7:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-21 15:25 [uml-devel] Bad handling of invalif systemcalls Bodo Stroesser
2004-10-21 17:32 ` BlaisorBlade
2004-10-22  7:33   ` Bodo Stroesser [this message]
2004-10-21 22:09 ` [uml-devel] " Jeff Dike
2004-10-21 22:32   ` BlaisorBlade
2004-10-22  4:14     ` Jeff Dike
2004-10-22  8:14     ` Bodo Stroesser
2004-10-22  8:12   ` Bodo Stroesser
2004-10-22 21:02     ` Jeff Dike
2004-10-25 14:49   ` Bodo Stroesser
2004-10-25 15:21     ` Bodo Stroesser

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=4178B7CD.1010604@fujitsu-siemens.com \
    --to=bstroesser@fujitsu-siemens.com \
    --cc=blaisorblade_spam@yahoo.it \
    --cc=jdike@addtoit.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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