Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 03 Sep 2020 10:56:13 -0400
From: "Stefan O'Rear" <sorear@...tmail.com>
To: musl@...ts.openwall.com
Subject: Re: [PATCH 07/14] Emulate wait4 using waitid

On Thu, Sep 3, 2020, at 7:23 AM, Stefan O'Rear wrote:
> +		case CLD_STOPPED:
> +		case CLD_TRAPPED:
> +			sw = ((info.si_status&0xff) << 8) + 0x7f;
> +			break;

This is trying to be defensive but it is the cause of the strace issue
in the cover letter since the ptrace interface generates si_status
greater than 8 bits which must be visible in WSTOPSIG; the v2 will not
mask here.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.