Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1209662ybe; Wed, 11 Sep 2019 11:05:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqzzX8p0B6BrwUIQNJZfGOKjS/CDNxCH54V/lifU8SMhjB25I/qVd478KXkNMbmCOMHrgK7+ X-Received: by 2002:a17:906:3550:: with SMTP id s16mr21512145eja.195.1568225123535; Wed, 11 Sep 2019 11:05:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568225123; cv=none; d=google.com; s=arc-20160816; b=Sax4ndU9s7+DLKbzTNQoC1KULsRxlYdbVQQciZP5bnI7XWu98YIi9aCzZBLez65Dfo Fgvc1R2o6EvuJ+T5ATlGpQkNAX9FjZB8TbEvVjSmPX0BlKROF5oBrEghW4BPX7uFpKA7 bgJr5ErTwkB8dS7CnSaMaBkBCGLYnw25xrO4OyR0FQfKCucS61x6XBoGd9NF1KPDGBok L8te9CiujERhns+XK96CFnO64u3rCSR7j7vtRKQq9CNCwC6ykfqV1ik89m04RDkf9GSw Dz3WCDCIVSzzs+3qOipfGrZyaemDLdGXWXIYf+Oe4DehOs8NJH4HYUxhUU5nfxOsEA2p R8FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date; bh=YAGAyt5wnZTBw7Lzco5f9HU715w8eHJqvpdYaKw5gFo=; b=c6uYgaEmt9ZzOw/2yjgQ8CvTka480kzYNnkNP4KvCjM5XbxB6EHJFGuUlHxPaTZsFX xVl9LGjXGpjv1mgyR8lOCsWBHnMs5kIlR8Hsenb7oLZG+zGJcmXrEWUJkZTyd/MAWHSz GzLfEuPf4c0RCuDo191L9ZDCH9PiUxJ5SgK6Mx4C1bM+5lT0Ip/EnpC1Qt1+myceSI4R 3UllHsOhNqK2JboPTWNqskyx5vjpg4hczk/N44NgJZhe052zd5iX+RJFbWZb3ib9JFD8 exJCZIRP6rl4FmNRJKgU6/UwuXtq7W/hNsmbtK+eZEPieZo4TW2VHV9YP1pZTwjlN0l4 /PTw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k6si12459850edb.235.2019.09.11.11.04.59; Wed, 11 Sep 2019 11:05:23 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729997AbfIKSCZ (ORCPT + 99 others); Wed, 11 Sep 2019 14:02:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55180 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729727AbfIKSCZ (ORCPT ); Wed, 11 Sep 2019 14:02:25 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0DC983082B40; Wed, 11 Sep 2019 18:02:25 +0000 (UTC) Received: from asgard.redhat.com (ovpn-112-27.ams2.redhat.com [10.36.112.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7A52D19C6A; Wed, 11 Sep 2019 18:02:20 +0000 (UTC) Date: Wed, 11 Sep 2019 19:01:54 +0100 From: Eugene Syromiatnikov To: linux-kernel@vger.kernel.org, Christian Brauner , Shuah Khan , linux-kselftest@vger.kernel.org Cc: Adrian Reber Subject: [PATCH v3 0/6] Update clone3 self-tests Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Wed, 11 Sep 2019 18:02:25 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. This respin alignes additional clone3 self-tests with v3 of the exit_signal checking patch[1]. Applied on top of brauer/linux.git/for-next. Changes since v2[2]: - CLONE3_ARGS_INVAL_EXIT_SIGNAL_NSIG check is now expected to fail. Changes since v1[3]: - exit_signal check extended to cover more cases of invalid exit_signal value. [1] https://lkml.org/lkml/2019/9/11/677 [2] https://lkml.org/lkml/2019/9/10/768 [3] https://lkml.org/lkml/2019/9/10/416 Eugene Syromiatnikov (6): selftests/clone3: convert test modes into an enum selftests/clone3: add a check for invalid exit_signal selftests/clone3: use uint64_t for flags parameter selftests/clone3: fix up format strings selftests/clone3: enable clone3 self-tests on all architectures selftests: add clone3 to TARGETS tools/testing/selftests/Makefile | 1 + tools/testing/selftests/clone3/Makefile | 4 +-- tools/testing/selftests/clone3/clone3.c | 64 ++++++++++++++++++++++++++++----- 3 files changed, 57 insertions(+), 12 deletions(-) -- 2.1.4