Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3897723ybe; Mon, 16 Sep 2019 03:16:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdaXyC3FK4EyJbkky+jaNZQLtKokutYVnAsLMWo53IOmB6vCRWDcyGQB5j92b2rz1W6Ggq X-Received: by 2002:a05:6402:17ad:: with SMTP id j13mr838723edy.212.1568628985107; Mon, 16 Sep 2019 03:16:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568628985; cv=none; d=google.com; s=arc-20160816; b=E4mEWAry6c5w0y06cZ3D92SNFeirxO5rSGVs36EUNocC6NFJE34EL9rVXZJ1atVFwC cWxx5ZSsv+px8amGqdMyP+XXbZB53k8H1GuykZ0uzOTZqmXZcY16ByKlpl+uS1j7r7qb PFxX0omqzStYdH/8+VArsJwQ+1vYs4ipQlRunmtTnfCCvJ+uFE7E1VT1I+0T8CvJwKbL gP4PCmayVkcwA69TbqFXK+J9mIWh2lv+xAwHfcggz3CCIOhh6e3JdN3saNKzh75Zm4IE NMu3m3ooxau2QWqGX/Hc6VP7MB/Or56HsnVu6kk3G8n99N7QFXbihZucH5fNTrAL6JKh dUYw== 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; bh=rLp5lLa/QwxQeBjQjMYwp8vf8ke9vS77DCLdmcwm2FM=; b=rv5ENCeBDwdMQ7BfgonUz2PlaIhbvkDEmr36Su1HNaMADWgEh1wOTDusLI2HULKtjD eMVZ3guZvuRKELTDaf4gg1Anp5Iwg4/8AY4A7fBd3lSWczSedu4mIhDq9cYW8kdSbF36 Ohx8Es750PMHL4ZZKDgbwgTJzAVWR8/rimjevpBsInFHZfBnDjH8zQVt9UOh8ZpBMYHk tcIiBIQ1zWQJqSCyEAB6dLTotQYeNXyYjJb2ncsImp3xeYEW8BYxW4yTTBly4iDGN8ym L4gOkVb5sWo4293k7mgLEpk2xwp8qsf1OuBxSWCRjoU923bJW0G4oKm43WDE8z83IcQY VqRA== ARC-Authentication-Results: i=1; mx.google.com; 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 r7si19081512ejz.17.2019.09.16.03.16.00; Mon, 16 Sep 2019 03:16:25 -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; 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 S1730223AbfIPHtg (ORCPT + 99 others); Mon, 16 Sep 2019 03:49:36 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:59276 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726648AbfIPHtf (ORCPT ); Mon, 16 Sep 2019 03:49:35 -0400 Received: from static-dcd-cqq-121001.business.bouyguestelecom.com ([212.194.121.1] helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1i9llO-0003jD-Ll; Mon, 16 Sep 2019 07:49:34 +0000 Date: Mon, 16 Sep 2019 09:49:34 +0200 From: Christian Brauner To: Eugene Syromiatnikov Cc: linux-kernel@vger.kernel.org, Christian Brauner , Shuah Khan , linux-kselftest@vger.kernel.org, Adrian Reber Subject: Re: [PATCH v2 0/6] Update clone3 self-tests Message-ID: <20190916074933.j33qc2z3hynpj2gf@wittgenstein> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 10, 2019 at 07:01:30PM +0100, Eugene Syromiatnikov wrote: > Hello. > > This patch set updates clone3 selftest in several aspects: > - adding checks for exit_signal invalid values handling; > - adding clone3 to selftests targets; > - enabling clone3 tests on all architectures; > - minor cleanups of the clone3 test. > > Applied on top of brauer/linux.git/for-next. So I like this series a lot! Testing is very important. And thanks for catching the clone3() exit_signal problem. This way we got to release a non-broken kernel. :) Some notes: I dropped the set_tid extension from the core process updates for 5.4 because we ended up in a discussion that made it clear we potentially need the ability to restore pids in multiple pid namespaces. This means we need some more discussion and the patchset is delayed for at least one release. Unfortunately, this also means the test that you have based yours upon does not exist anymore. However, the tests should not be blocked on this. I'd encourage you to talk to Adrian (who is Cced here anyway) and come up with a clone3() test suite I can merge. You can very likely do a Co-Developed-by so no-ones work gets dropped. :) Ideally I'd like to see: - verifying passing different struct sizes works correctly - verify that flag combinations work correctly - verify that struct members have correct values etc. pp. We definitely want the exit_signal test as a regression test so it doesn't bite us again! (Oh, please also add tool/test/selftests/clone3/ to the pidfd/core process MAINTAINERS entry.) Thanks! Christian