From patchwork Mon Feb 17 08:46:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 1239048 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it (client-ip=213.254.12.146; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48Ld0T0w1zz9sPJ for ; Mon, 17 Feb 2020 19:47:37 +1100 (AEDT) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 0CFF73C25BF for ; Mon, 17 Feb 2020 09:47:34 +0100 (CET) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-4.smtp.seeweb.it (in-4.smtp.seeweb.it [217.194.8.4]) by picard.linux.it (Postfix) with ESMTP id DB0EA3C25B8 for ; Mon, 17 Feb 2020 09:47:05 +0100 (CET) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by in-4.smtp.seeweb.it (Postfix) with ESMTPS id 0DB511000CD0 for ; Mon, 17 Feb 2020 09:47:01 +0100 (CET) Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 41E00B311; Mon, 17 Feb 2020 08:47:01 +0000 (UTC) From: Petr Vorel To: ltp@lists.linux.it Date: Mon, 17 Feb 2020 09:46:18 +0100 Message-Id: <20200217084622.11199-1-pvorel@suse.cz> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.99.2 at in-4.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.0 required=7.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-4.smtp.seeweb.it Subject: [LTP] [PATCH v7 0/4] Add test for new mount API v5.2 X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Viresh Kumar Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" Hi, hopefully the final version we can merge (so we can continue with Viresh Kumar tests). Checked with travis [2]. Changes v6->v7 * replaced Zorro's lapi/fsmount.h with Viresh's (1st commit from [1]), added autotools checks for his commit. * add lapi/fcntl.h to fix AT_FDCWD Kind regards, Petr [1] https://patchwork.ozlabs.org/patch/1237986/ [2] https://travis-ci.org/pevik/ltp/builds/651376895 Petr Vorel (2): tst_umount: Fail immediately when errno != EBUSY safe_macros: Use tst_umount() in safe_umount() Viresh Kumar (1): lapi/fsmount: Add definitions for fsmount related syscalls Zorro Lang (1): syscalls/fsmount01: Add test for fsmount series API configure.ac | 8 +- include/lapi/fsmount.h | 134 ++++++++++++++++++ include/lapi/syscalls/powerpc64.in | 4 + lib/safe_macros.c | 2 +- lib/tst_device.c | 9 +- runtest/syscalls | 2 + testcases/kernel/syscalls/fsmount/.gitignore | 1 + testcases/kernel/syscalls/fsmount/Makefile | 8 ++ testcases/kernel/syscalls/fsmount/fsmount01.c | 95 +++++++++++++ 9 files changed, 260 insertions(+), 3 deletions(-) create mode 100644 include/lapi/fsmount.h create mode 100644 testcases/kernel/syscalls/fsmount/.gitignore create mode 100644 testcases/kernel/syscalls/fsmount/Makefile create mode 100644 testcases/kernel/syscalls/fsmount/fsmount01.c