Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4317910ybl; Mon, 26 Aug 2019 08:40:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqywEwVm3iQ52uzzHUy2sOcvdfNKqCXPsowpa77kTyU9y/luAqRxwxFWKBP2DwZVi6XDBxQq X-Received: by 2002:a17:902:3341:: with SMTP id a59mr18279619plc.186.1566834036287; Mon, 26 Aug 2019 08:40:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566834036; cv=none; d=google.com; s=arc-20160816; b=pgtS33CDV3tAK8lG3qE7XHNVnIdccH3vHm8uLMGPIsSKTahU9RlSUodem/Ei/h5dfK sTODE6E3etvze13LyiA84tNDV3RU6rGtPAH5fPV5xG9S77piHOy788iLyxXka6DzxWW1 GhB3D7oBAvlTmMCxsA80oe+PbJTRhaSKvKO/jjGbAeQlRJPesNWq+G6aggxB3EcMKGpi Yz5tfcoZFjU6CzFgMfwh6ClMo92ppnYuWh6kKp9paDMYula9utHjpBgODRZe+YENgNqq sF+TAsn1qY5iptGoJALO7+jStQRW7MZjRDqrcbP7gZyNKERvsgS3tcSCq+BoVH1Lahvk 221w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=NPJGDOo6L0S+CxpwgDKYq0p9QenFZx3WP7pTe8S4sMs=; b=y+EibXUEEsfEriST3SZOS9QtoAt4aaB0RLCHv3ej5vK+iiOGyc2+4/riNHt1o2feAA qjsJ37aouBBeB9rOMWyEJCr2xkZczEDELlbA8DmNbFsHkZq7L4SPrM2rP5N7ELrwBpTH Q99NFhieygTNJAyyzx+uGEt7nwzJ1SF1n//KkLtDplxabzhaZmMlzuPxGxg0RCyNIHsM upssoW51wb/DoAGG1UGRShwE9+zxwI4fNIkFW1xzkHSDVmUVv6JxrGnQhjqJWYMiVy5D o5TcHCMVVFf6uNjXTciHzfLbc4/4CCxjqFcbCjGMjASfqd4EzSwV/IvfJ8Sjgr9d00g1 ++0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tycho-ws.20150623.gappssmtp.com header.s=20150623 header.b=AGKzs8O5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r145si9359003pgr.553.2019.08.26.08.40.20; Mon, 26 Aug 2019 08:40:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@tycho-ws.20150623.gappssmtp.com header.s=20150623 header.b=AGKzs8O5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732778AbfHZO5y (ORCPT + 99 others); Mon, 26 Aug 2019 10:57:54 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:39955 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731593AbfHZO5y (ORCPT ); Mon, 26 Aug 2019 10:57:54 -0400 Received: by mail-qk1-f195.google.com with SMTP id s145so14242966qke.7 for ; Mon, 26 Aug 2019 07:57:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tycho-ws.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=NPJGDOo6L0S+CxpwgDKYq0p9QenFZx3WP7pTe8S4sMs=; b=AGKzs8O5qznJgGIwpcBHKPCKaBpDnNPQopX6O6DHaXhR0KlirNeInM2VbTizrvmum3 0f4vpmov8OQjbLJk1Uu16D/TOk9HdYztfjR2UNe9dwmng70wrygV1IvJyjMDJATGZ7yk PobQ8qvG35MNY31lVY5cwgH3G7bORvaNch/ljPBUTdENjG6RkvRB2RS2398T2uRSGen5 ViR0M5vcYyWEOfqp9LX7QdJWMYS6i91HVP7ljpA9/AH4jOB2UJTgVO/bz9QxDRTSh9fV 2R9wHdvrj+d6EskJaU21USriV0jICM3S69Lq+YySOHBCEcG9R76zVDNftBSWlXet/W2R qVNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=NPJGDOo6L0S+CxpwgDKYq0p9QenFZx3WP7pTe8S4sMs=; b=rX7F1MjAdx1wW3ZHqgI2WoHbSgRfkK1arvX/zNG+OW/Zp9KnJmeiqwIMvNY6Xe7NCA 186xGuPlFx5DVkEL8iaH7FQecPCmFW6Odbew5VqWadfQQ6W2KG6g/JRc6mXwR0ixROFh PuRlNZoLWdbekXTniO3Do8khSl/GdHILsAs/of2XWRnnJT6uudmfQdoE7vBJO/nOhfSf 4mvDonkHxP+pPlYc/B22CVebcBfMpGZ4lLiWx6/vhkK38AJJgIvnMWGlGrvLpx3AYf6f aiecT+W5rgUb5X2dhxHSqhxhLpOcNZV/bV0UVNCSG6EY0LKpfd2YJSgO6UNMjPvUeiFX PGzQ== X-Gm-Message-State: APjAAAXOWmXUToZXNuZv4lF3rv4Q7DpxG6gQkotIeGDBD84riwkzG5fu +oLUUUHn4GbF+L+5xQxJXhmDqw== X-Received: by 2002:a37:6e03:: with SMTP id j3mr16061933qkc.362.1566831472597; Mon, 26 Aug 2019 07:57:52 -0700 (PDT) Received: from cisco ([2601:282:901:dd7b:3979:c36f:a14f:ef87]) by smtp.gmail.com with ESMTPSA id m20sm7309611qtk.11.2019.08.26.07.57.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Aug 2019 07:57:51 -0700 (PDT) Date: Mon, 26 Aug 2019 08:57:56 -0600 From: Tycho Andersen To: Paul Walmsley Cc: David Abdurachmanov , Palmer Dabbelt , Albert Ou , Oleg Nesterov , Kees Cook , Andy Lutomirski , Will Drewry , Shuah Khan , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , David Abdurachmanov , Thomas Gleixner , Allison Randal , Alexios Zavras , Anup Patel , Vincent Chen , Alan Kao , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, me@carlosedp.com Subject: Re: [PATCH v2] riscv: add support for SECCOMP and SECCOMP_FILTER Message-ID: <20190826145756.GB4664@cisco> References: <20190822205533.4877-1-david.abdurachmanov@sifive.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, Aug 23, 2019 at 05:30:53PM -0700, Paul Walmsley wrote: > On Thu, 22 Aug 2019, David Abdurachmanov wrote: > > > There is one failing kernel selftest: global.user_notification_signal > > Also - could you follow up with the author of this failing test to see if > we can get some more clarity about what might be going wrong here? It > appears that the failing test was added in commit 6a21cc50f0c7f ("seccomp: > add a return code to trap to userspace") by Tycho Andersen > . Can you post an strace and a cat of /proc/$pid/stack for both tasks where it gets stuck? I don't have any riscv hardware, and it "works for me" on x86 and arm64 with 100 tries. Thanks, Tycho