mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Davide Libenzi <davidel@xmailserver.org>
To: Fabiano Ramos <ramos_fabiano@yahoo.com.br>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [patch] really-ptrace-single-step
Date: Tue, 11 May 2004 10:38:22 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.58.0405111036320.25232@bigblue.dev.mdolabs.com> (raw)
In-Reply-To: <1084297014.1729.10.camel@slack.domain.invalid>

On Tue, 11 May 2004, Fabiano Ramos wrote:

> It would not work against 2.6.5, since
> 
> do_syscall_trace()
> 
> makes the check
> 
> if (!test_thread_flag(TIF_SYSCALL_TRACE))
> 		return;
> 
> Simply removing it would do?

No no. You need to OR it with the single-step. Try:

if (!test_thread_flag(TIF_SYSCALL_TRACE) && 
    !test_thread_flag(TIF_SINGLESTEP))
	return;


- Davide


  reply	other threads:[~2004-05-11 17:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-11 17:12 Davide Libenzi
2004-05-11 17:31 ` Fabiano Ramos
2004-05-12  0:17   ` Andrew Morton
2004-05-12  0:42     ` Davide Libenzi
2004-05-12  1:04     ` Fabiano Ramos
2004-05-12  1:06       ` Davide Libenzi
2004-05-12  1:15         ` Fabiano Ramos
2004-05-12  2:19         ` Fabiano Ramos
2004-05-11 17:36 ` Fabiano Ramos
2004-05-11 17:38   ` Davide Libenzi [this message]
2004-05-11 18:40     ` Fabiano Ramos

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=Pine.LNX.4.58.0405111036320.25232@bigblue.dev.mdolabs.com \
    --to=davidel@xmailserver.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ramos_fabiano@yahoo.com.br \
    /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®