From: Roland McGrath <roland@redhat.com>
To: Mike Frysinger <vapier.adi@gmail.com>
Cc: Oleg Nesterov <oleg@redhat.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] tracehook: add some self tests
Date: Mon, 15 Feb 2010 12:33:23 -0800 (PST) [thread overview]
Message-ID: <20100215203323.989DB1AD@magilla.sf.frob.com> (raw)
In-Reply-To: Mike Frysinger's message of Monday, 15 February 2010 15:28:29 -0500 <8bd0f97a1002151228r2a589047gddc1d998d52c969c@mail.gmail.com>
> is there some task available while the kernel is initializing ? i.e.
> the test is compiled in ?
>
> if current is valid, i'll just [ab]use that ...
I don't think you can win with any kind of abuse on ia64. (For other
machines that only test the compat state of the task, any task will
do--though perhaps only test half the code.) AFAICT, on ia64 only a real
empirical test can work at all. That is, you must really be referring to a
task and its task_pt_regs() when that task really has entered the kernel
for a syscall.
Thanks,
Roland
next prev parent reply other threads:[~2010-02-15 20:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-15 6:15 [PATCH] tracehook: add some self tests Mike Frysinger
2010-02-15 19:39 ` Oleg Nesterov
2010-02-15 20:28 ` Mike Frysinger
2010-02-15 20:33 ` Roland McGrath [this message]
2010-02-15 20:28 ` Roland McGrath
2010-02-15 21:11 ` Mike Frysinger
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=20100215203323.989DB1AD@magilla.sf.frob.com \
--to=roland@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oleg@redhat.com \
--cc=vapier.adi@gmail.com \
/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