From: shuah <shuah@kernel.org>
To: Tycho Andersen <tycho@tycho.ws>, Kees Cook <keescook@chromium.org>
Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org,
shuah <shuah@kernel.org>
Subject: Re: [PATCH] selftests/seccomp: Handle namespace failures gracefully
Date: Fri, 12 Apr 2019 11:07:11 -0600 [thread overview]
Message-ID: <8fca6205-4983-2ba1-c1eb-c80be2dc8769@kernel.org> (raw)
In-Reply-To: <20190412152543.GB25793@cisco>
On 4/12/19 9:25 AM, Tycho Andersen wrote:
> On Thu, Apr 11, 2019 at 04:56:31PM -0700, Kees Cook wrote:
>> When running without USERNS or PIDNS the seccomp test would hang since
>> it was waiting forever for the child to trigger the user notification
>> since it seems the glibc() abort handler makes a call to getpid(),
>> which would trap again. This changes the getpid filter to getppid, and
>> makes sure ASSERTs execute to stop from spawning the listener.
>>
>> Reported-by: Shuah Khan <shuah@kernel.org>
>> Fixes: 6a21cc50f0c7 ("seccomp: add a return code to trap to userspace")
>> Signed-off-by: Kees Cook <keescook@chromium.org>
>
> Sorry for the delay, thanks for looking at this!
>
> Reviewed-by: Tycho Andersen <tycho@tycho.ws>
>
Thanks both. Should it go into stables. I will pull this and
add stable if that is appropriate.
thanks,
-- Shuah
next prev parent reply other threads:[~2019-04-12 17:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-11 23:56 [PATCH] selftests/seccomp: Handle namespace failures gracefully Kees Cook
2019-04-12 15:25 ` Tycho Andersen
2019-04-12 17:07 ` shuah [this message]
2019-04-12 19:44 ` Tycho Andersen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8fca6205-4983-2ba1-c1eb-c80be2dc8769@kernel.org \
--to=shuah@kernel.org \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=tycho@tycho.ws \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox