[PATCH 25/26] signal: In ptrace_stop use CLD_TRAPPED in all ptrace signals

2017-06-06 Thread Eric W. Biederman
If the only job of the signal is to report a ptrace level event set si_code to CLD_TRAPPED instead of possibly CLD_STOPPED. This causes the siginfo of the signals that are sent to match the signinfo of the signals returned by waitid. This is a user visible difference but I don't expect anything

[PATCH 25/26] signal: In ptrace_stop use CLD_TRAPPED in all ptrace signals

2017-06-06 Thread Eric W. Biederman
If the only job of the signal is to report a ptrace level event set si_code to CLD_TRAPPED instead of possibly CLD_STOPPED. This causes the siginfo of the signals that are sent to match the signinfo of the signals returned by waitid. This is a user visible difference but I don't expect anything