[PATCH v2] add -Y test for waitid, skip if /proc is not mounted
Dmitry V. Levin
ldv at altlinux.org
Sat Mar 26 11:12:17 UTC 2022
On Fri, Mar 18, 2022 at 01:56:28PM +0800, SuHsueyu wrote:
[...]
> @@ -103,13 +110,14 @@ sprint_siginfo(const siginfo_t *const si, const char *const status_text)
> snprintf(buf, sizeof(buf),
> "{si_signo=SIGCHLD"
> ", si_code=%s"
> - ", si_pid=%d"
> + ", si_pid=%d%s"
> ", si_uid=%d"
> ", si_status=%s"
> ", si_utime=%llu"
> ", si_stime=%llu}",
> si_code_2_name(si->si_code),
> si->si_pid,
> + MY_COMM,
> si->si_uid,
> status_text,
> zero_extend_signed_to_ull(si->si_utime),
Does this part of the change actually pass in your environment?
--
ldv
More information about the Strace-devel
mailing list