On Mon, Aug 22, 2011 at 12:30:26PM +0200, Denys Vlasenko wrote:
> On Mon, 2011-08-22 at 12:21 +0200, Denys Vlasenko wrote:
> > 5. Move post-execve SIGTRAP from get_scno_on_sysenter (multitude of
> > places on many architectures) to a single location in
> > trace_syscall_entering. This loosens the logic for some arches, since
> > many of them had additional checks such as scno == 0. So maybe this last
> > patch is not 100% safe. (However, on non-ancient Linux kernels we should
> > never have post-execve SIGTRAP in the first place, by virtue of using
> > PTRACE_O_TRACEEXEC.)

I have no idea when this "scno == 0" check was needed, the code comes
from pre-cvs times.


-- 
ldv

Attachment: pgpQMw5yAcGqs.pgp
Description: PGP signature

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to