[PATCH v2] add -Y test for waitid, skip if /proc is not mounted

As Ss anolasc13 at gmail.com
Sat Mar 26 15:18:19 UTC 2022


No, it doesn't pass the test in my environment. It acts differently in
waitid #3 and waitid #4 where the command name is not attached after
si_pid in the strace output.

On Sat, Mar 26, 2022 at 7:12 PM Dmitry V. Levin <ldv at altlinux.org> wrote:
>
> 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