Re: s390 && user_enable_single_step() (Was: odd utrace testingresults on s390x)

From: Roland McGrath
Date: Thu Jan 07 2010 - 16:47:00 EST


> Clear the TIF_SINGLE_STEP bit in copy_thread. If the new process is
> not auto-attached by the tracer it is wrong to delivere SIGTRAP to
> the new process.

The change is right, but this log entry is confusing. "auto-attached" has
nothing to do with it, nor does anything about tracing the new process or
not. The new process has not experienced a PER trap of its own, so it is
wrong to deliver a SIGTRAP that is meant for its creator.


Thanks,
Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/