From patchwork Fri Aug 16 04:53:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiao Yang X-Patchwork-Id: 1973052 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=IsHE2Q8f; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it (client-ip=2001:1418:10:5::2; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=patchwork.ozlabs.org) Received: from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WlV551TCNz1yXZ for ; Fri, 16 Aug 2024 14:54:01 +1000 (AEST) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 88DBE3D2174 for ; Fri, 16 Aug 2024 06:53:58 +0200 (CEST) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-3.smtp.seeweb.it (in-3.smtp.seeweb.it [IPv6:2001:4b78:1:20::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 46E5E3C9908 for ; Fri, 16 Aug 2024 06:53:54 +0200 (CEST) Received: from m16.mail.163.com (m16.mail.163.com [117.135.210.3]) by in-3.smtp.seeweb.it (Postfix) with ESMTP id 7E3CD1A002E8 for ; Fri, 16 Aug 2024 06:53:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=Jdy3p +cycGqSaX6HZKsYnzLoiZ+O30cy1mxP/34V1Rs=; b=IsHE2Q8fd9+DJ1lmSqxqY zPTvEYKuU9aCwGkst0GvpbhyVfpn0+puMyRqwVBEoDGWaZL5rU4VkcOYPfMcULHJ 9tYxnDFPw7Ot5/0zwmiWNkSxIdy+fRoWjOiH+w9zy7Ke9TTNAkK3WmFDV+LcLgil YCnZbVEe2NniLxsfpvsKHc= Received: from fedora-40.. (unknown [106.146.87.91]) by gzga-smtp-mta-g3-5 (Coremail) with SMTP id _____wBH5hNZ275m0MfLHg--.35575S2; Fri, 16 Aug 2024 12:53:47 +0800 (CST) From: Xiao Yang To: ltp@lists.linux.it Date: Fri, 16 Aug 2024 13:53:26 +0900 Message-ID: <20240816045342.185737-1-ice_yangxiao@163.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-CM-TRANSID: _____wBH5hNZ275m0MfLHg--.35575S2 X-Coremail-Antispam: 1Uf129KBjvdXoW7Gr1rWrWDWryktw1kKFyUKFg_yoWDuwb_AF 1Utrs7XrWUAr4akF1Fkw17XFsrtasrKFW8uFnrGFZ7AwsxZw1UGr9YvF1UJrn5WFs5uas2 kr4rWFn8KrZxCjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7VUbOzsJUUUUU== X-Originating-IP: [106.146.87.91] X-CM-SenderInfo: 5lfhs5xdqj5xldr6il2tof0z/1tbiqQc9XmVOCPDoMwAAsF X-Spam-Status: No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=4.0.0 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on in-3.smtp.seeweb.it X-Virus-Scanned: clamav-milter 1.0.3 at in-3.smtp.seeweb.it X-Virus-Status: Clean Subject: [LTP] [PATCH 1/2] syscalls/landlock05.c: Remove useless tags 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: , Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" Fix the following warnings from metadata/metaparse: testcases/kernel/syscalls/landlock/landlock05.c: useless tag: format_device testcases/kernel/syscalls/landlock/landlock05.c: useless tag: needs_tmpdir Signed-off-by: Xiao Yang Reviewed-by: Li Wang Signed-off-by: Xiao Yang Reviewed-by: Li Wang --- testcases/kernel/syscalls/landlock/landlock05.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/testcases/kernel/syscalls/landlock/landlock05.c b/testcases/kernel/syscalls/landlock/landlock05.c index 6899dd1f1..703f7d81c 100644 --- a/testcases/kernel/syscalls/landlock/landlock05.c +++ b/testcases/kernel/syscalls/landlock/landlock05.c @@ -90,7 +90,6 @@ static void setup(void) static struct tst_test test = { .test_all = run, .setup = setup, - .needs_tmpdir = 1, .needs_root = 1, .forks_child = 1, .bufs = (struct tst_buffers []) { @@ -102,7 +101,6 @@ static struct tst_test test = { TST_CAP(TST_CAP_REQ, CAP_SYS_ADMIN), {} }, - .format_device = 1, .mount_device = 1, .mntpoint = MNTPOINT, .all_filesystems = 1, From patchwork Fri Aug 16 04:53:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Xiao Yang X-Patchwork-Id: 1973053 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=m4dRGdnZ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it (client-ip=2001:1418:10:5::2; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=patchwork.ozlabs.org) Received: from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WlV5P2Rnqz1yXZ for ; Fri, 16 Aug 2024 14:54:17 +1000 (AEST) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 210953D21E0 for ; Fri, 16 Aug 2024 06:54:15 +0200 (CEST) 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]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id D1C8E3D218E for ; Fri, 16 Aug 2024 06:53:57 +0200 (CEST) Received: from m16.mail.163.com (m16.mail.163.com [220.197.31.2]) by in-4.smtp.seeweb.it (Postfix) with ESMTP id 0DDD810008FF for ; Fri, 16 Aug 2024 06:53:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version: Content-Type; bh=iQOflL4OK+sOH48UNw09j6eXtTIHOK1SEd65nKxAUo4=; b=m4dRGdnZggoZEaXnls4PhJGG8BT7ekFX0/q8UuBuaWQv96HfLOGmuvXID+fpFJ M8N40uZn4PoTdPvj49boEx/DWZXZ+8UATcpmsx2aDn7+pFixR570Sdcj7+FknlWd ZjLCjZ2R9AES2vUlp2v8xNTZV2o/OqHAOpSseI012xIIQ= Received: from fedora-40.. (unknown [106.146.87.91]) by gzga-smtp-mta-g3-5 (Coremail) with SMTP id _____wBH5hNZ275m0MfLHg--.35575S3; Fri, 16 Aug 2024 12:53:50 +0800 (CST) From: Xiao Yang To: ltp@lists.linux.it Date: Fri, 16 Aug 2024 13:53:27 +0900 Message-ID: <20240816045342.185737-2-ice_yangxiao@163.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240816045342.185737-1-ice_yangxiao@163.com> References: <20240816045342.185737-1-ice_yangxiao@163.com> MIME-Version: 1.0 X-CM-TRANSID: _____wBH5hNZ275m0MfLHg--.35575S3 X-Coremail-Antispam: 1Uf129KBjvdXoWrZr4fKrW5XF4fKrW5uF48WFg_yoWDurg_WF 15G3WkKr4UAFW7G3yYyr43Zr45tryYkFsYv3ZrKrWrGayfZw1DWFZ3CFW5J3Z5ur1vgF9I 9r4Fgrn2qw13ujkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7VUb1rWUUUUUU== X-Originating-IP: [106.146.87.91] X-CM-SenderInfo: 5lfhs5xdqj5xldr6il2tof0z/1tbiqQc9XmVOCPDoNQABsC X-Spam-Status: No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=4.0.0 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on in-4.smtp.seeweb.it X-Virus-Scanned: clamav-milter 1.0.3 at in-4.smtp.seeweb.it X-Virus-Status: Clean Subject: [LTP] [PATCH 2/2] syscalls/mseal01.c: Use the correct "'" for JSON 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: , Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" Fix the following warnings from metadata/metaparse: data_storage.h:325: WARNING: invalid character for JSON: ffffffe2 data_storage.h:325: WARNING: invalid character for JSON: ffffff80 data_storage.h:325: WARNING: invalid character for JSON: ffffff99 Signed-off-by: Xiao Yang Reviewed-by: Li Wang Signed-off-by: Xiao Yang Reviewed-by: Li Wang --- testcases/kernel/syscalls/mseal/mseal01.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/kernel/syscalls/mseal/mseal01.c b/testcases/kernel/syscalls/mseal/mseal01.c index 62cfdd6a6..00454a766 100644 --- a/testcases/kernel/syscalls/mseal/mseal01.c +++ b/testcases/kernel/syscalls/mseal/mseal01.c @@ -16,7 +16,7 @@ * - modifying a VMA via mmap(MAP_FIXED) * - mprotect() and pkey_mprotect() * - destructive madvice() behaviors (e.g. MADV_DONTNEED) for anonymous memory, - * when users don’t have write permission to the memory + * when users don't have write permission to the memory * * Any of the described actions is recognized via EPERM errno. *