From patchwork Tue Mar 5 21:24:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Avinesh Kumar X-Patchwork-Id: 1908466 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=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=iWIvTm7A; dkim=fail reason="signature verification failed" header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=dI523G9M; dkim=fail reason="signature verification failed" (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=iWIvTm7A; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=dI523G9M; dkim-atps=neutral Authentication-Results: legolas.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=patchwork.ozlabs.org) 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 ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Tq7qP6khhz23qV for ; Wed, 6 Mar 2024 08:24:17 +1100 (AEDT) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 5593F3D0CAB for ; Tue, 5 Mar 2024 22:24:15 +0100 (CET) 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 287E93CC7C6 for ; Tue, 5 Mar 2024 22:24:12 +0100 (CET) Authentication-Results: in-3.smtp.seeweb.it; spf=pass (sender SPF authorized) smtp.mailfrom=suse.de (client-ip=195.135.223.130; helo=smtp-out1.suse.de; envelope-from=akumar@suse.de; receiver=lists.linux.it) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-3.smtp.seeweb.it (Postfix) with ESMTPS id 9A3551A00A20 for ; Tue, 5 Mar 2024 22:24:11 +0100 (CET) Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id B127D339AB; Tue, 5 Mar 2024 21:24:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1709673850; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T7YE9Y4C3IuWnj7HqAW7U5gyHYLGq/FxGqEp2S68mNE=; b=iWIvTm7AoKlWwVyoelBKgXCNKT98VTuOyiN11l0fv9esMtTBwdDJFLlTWQeRGj+U4PDFOy LRavWuc4oDB50o/vxLXETnCZ5EJ6Jq0ZiWcrwHNZ+kQua7f1+gMbx+nlJfP1QmrJ+u24yB MzoaMpIHPR0sJtpKI7qg2m27sCgQwI8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1709673850; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T7YE9Y4C3IuWnj7HqAW7U5gyHYLGq/FxGqEp2S68mNE=; b=dI523G9MmI5SVAFfliDcPtzET25yR+UdeesiVGxIAk2A9J3LQ0FTwz9YmLgl7G7WpzHHfH axjmlIptssSYc8DA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1709673850; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T7YE9Y4C3IuWnj7HqAW7U5gyHYLGq/FxGqEp2S68mNE=; b=iWIvTm7AoKlWwVyoelBKgXCNKT98VTuOyiN11l0fv9esMtTBwdDJFLlTWQeRGj+U4PDFOy LRavWuc4oDB50o/vxLXETnCZ5EJ6Jq0ZiWcrwHNZ+kQua7f1+gMbx+nlJfP1QmrJ+u24yB MzoaMpIHPR0sJtpKI7qg2m27sCgQwI8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1709673850; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T7YE9Y4C3IuWnj7HqAW7U5gyHYLGq/FxGqEp2S68mNE=; b=dI523G9MmI5SVAFfliDcPtzET25yR+UdeesiVGxIAk2A9J3LQ0FTwz9YmLgl7G7WpzHHfH axjmlIptssSYc8DA== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id A58D813A5B; Tue, 5 Mar 2024 21:24:10 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id 8olGKHqN52UHTAAAD6G6ig (envelope-from ); Tue, 05 Mar 2024 21:24:10 +0000 From: Avinesh Kumar To: ltp@lists.linux.it Date: Tue, 5 Mar 2024 22:24:07 +0100 Message-ID: <20240305212410.18978-1-akumar@suse.de> X-Mailer: git-send-email 2.43.1 In-Reply-To: <20240121161159.4106646-1-ruansy.fnst@fujitsu.com> References: <20240121161159.4106646-1-ruansy.fnst@fujitsu.com> MIME-Version: 1.0 Authentication-Results: smtp-out1.suse.de; none X-Spam-Score: 3.68 X-Spamd-Result: default: False [3.68 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_MISSING_CHARSET(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; BROKEN_CONTENT_TYPE(1.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; MID_CONTAINS_FROM(1.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-0.02)[53.86%] X-Spam-Status: No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,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 v2] getxattr04, 05: Change to docparse comment and typo fixes 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" Signed-off-by: Shiyang Ruan Signed-off-by: Avinesh Kumar --- testcases/kernel/syscalls/getxattr/getxattr04.c | 6 ++++-- testcases/kernel/syscalls/getxattr/getxattr05.c | 14 ++++++++------ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/testcases/kernel/syscalls/getxattr/getxattr04.c b/testcases/kernel/syscalls/getxattr/getxattr04.c index e64f2a1f1..451e04d90 100644 --- a/testcases/kernel/syscalls/getxattr/getxattr04.c +++ b/testcases/kernel/syscalls/getxattr/getxattr04.c @@ -4,13 +4,15 @@ * Author: Xiao Yang */ -/* +/*\ + * [Description] + * * This is a regression test for the race between getting an existing * xattr and setting/removing a large xattr. This bug leads to that * getxattr() fails to get an existing xattr and returns ENOATTR in xfs * filesystem. * - * Thie bug has been fixed in: + * This bug has been fixed in: * * commit 5a93790d4e2df73e30c965ec6e49be82fc3ccfce * Author: Brian Foster diff --git a/testcases/kernel/syscalls/getxattr/getxattr05.c b/testcases/kernel/syscalls/getxattr/getxattr05.c index f12e2f813..069e2b3f9 100644 --- a/testcases/kernel/syscalls/getxattr/getxattr05.c +++ b/testcases/kernel/syscalls/getxattr/getxattr05.c @@ -4,12 +4,14 @@ * Author: Xiao Yang */ -/* - * Description: - * 1) Witout a user namespace, getxattr(2) should get same data when - * acquiring the value of system.posix_acl_access twice. - * 2) With/Without mapped root UID in a user namespaces, getxattr(2) should - * get same data when acquiring the value of system.posix_acl_access twice. +/*\ + * [Description] + * + * This test verifies that: + * - Without a user namespace, getxattr(2) should get same data when + * acquiring the value of system.posix_acl_access twice. + * - With/Without mapped root UID in a user namespaces, getxattr(2) should + * get same data when acquiring the value of system.posix_acl_access twice. * * This issue included by getxattr05 has been fixed in kernel: * '82c9a927bc5d ("getxattr: use correct xattr length")'