[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100215203323.989DB1AD@magilla.sf.frob.com>
Date: Mon, 15 Feb 2010 12:33:23 -0800 (PST)
From: Roland McGrath <roland@...hat.com>
To: Mike Frysinger <vapier.adi@...il.com>
Cc: Oleg Nesterov <oleg@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tracehook: add some self tests
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists