mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Blaisorblade <blaisorblade@yahoo.it>
To: Laurent Vivier <LaurentVivier@wanadoo.fr>
Cc: Daniel Jacobowitz <dan@debian.org>,
	linux-kernel@vger.kernel.org, Jeff Dike <jdike@addtoit.com>,
	"Paolo 'Blaisorblade' Giarrusso" <blaisorblade_spam@yahoo.it>,
	Bodo Stroesser <bstroesser@fujitsu-siemens.com>
Subject: Re: PTRACE_SYSEMU numbering
Date: Thu, 22 Sep 2005 21:46:38 +0200	[thread overview]
Message-ID: <200509222146.39172.blaisorblade@yahoo.it> (raw)
In-Reply-To: <4D3DE86B-EDE9-494E-A935-A6CE9CFF1134@wanadoo.fr>

On Thursday 22 September 2005 08:48, Laurent Vivier wrote:
> Hi,

> Paolo, as you are the submitter of the patch to the list and the real
> maintainer, what do you think about that ?

> Regards,
> Laurent

> > +#define PTRACE_SYSEMU 31

> >  /* 0x4200-0x4300 are reserved for architecture-independent
> > additions. */
> >  #define PTRACE_SETOPTIONS 0x4200

> > OK, I admit I could have made the comment clearer.
That's not your fault, the patch was born using those numbers, even because it 
started from 2.4.

> > But can we fix 
> > this?

> > You've added PTRACE_SYSEMU on top of PTRACE_GETFDPIC,
Ok, I see the value on frv.
> > which 
> > presumably will
> > mess up either debugging or UML on that architecture

> > (if the latter 
> > were
> > ported).
The fix is easy, IMHO, and not even urgent. It suffices to move PTRACE_SYSEMU 
def from <linux/ptrace.h> to <asm-i386/ptrace.h>, and we didn't do that yet 
for laziness only. There's no architecture that I know of, apart i386, which 
implements SYSEMU (except maybe s390, but that isn't public).
> > That's exactly the problem we defined the 0x4200-0x4300 
> > range
> > to prevent.

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it

  reply	other threads:[~2005-09-22 19:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-21 17:25 Daniel Jacobowitz
2005-09-22  6:48 ` Laurent Vivier
2005-09-22 19:46   ` Blaisorblade [this message]
2005-09-23 15:10     ` Daniel Jacobowitz
2005-10-06 19:23       ` Blaisorblade

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=200509222146.39172.blaisorblade@yahoo.it \
    --to=blaisorblade@yahoo.it \
    --cc=LaurentVivier@wanadoo.fr \
    --cc=blaisorblade_spam@yahoo.it \
    --cc=bstroesser@fujitsu-siemens.com \
    --cc=dan@debian.org \
    --cc=jdike@addtoit.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®