Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7E66AC021B1 for ; Thu, 20 Feb 2025 08:42:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.linux.it; i=@lists.linux.it; q=dns/txt; s=picard; t=1740040950; h=to : date : message-id : in-reply-to : references : mime-version : subject : list-id : list-unsubscribe : list-archive : list-post : list-help : list-subscribe : from : reply-to : content-type : content-transfer-encoding : sender : from; bh=768TQylrq6+sYaoruX69ZFE4gMRsVWUzCZrI9fS6umY=; b=oA21ajRJnCZ+JCdBDxS5l/Neco8ljOgFZAnowJR4rOXvvXRHTG2mD02qJwfzXJ1IFb8OB NC+oTRhzPqa+VZ0CCU/f7KiXX8Ffto2FIzjdEsX5xjr3awGwcV13Od9PTNEwoR2a3MKKstg j/h8y0WkzBj8yqrO567zLftdGJu8ZzI= Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 09B833C551A for ; Thu, 20 Feb 2025 09:42:30 +0100 (CET) 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 228DC3C0549 for ; Thu, 20 Feb 2025 09:42:07 +0100 (CET) Authentication-Results: in-4.smtp.seeweb.it; spf=pass (sender SPF authorized) smtp.mailfrom=fujitsu.com (client-ip=207.54.90.137; helo=esa11.hc1455-7.c3s2.iphmx.com; envelope-from=maxj.fnst@fujitsu.com; receiver=lists.linux.it) Received: from esa11.hc1455-7.c3s2.iphmx.com (esa11.hc1455-7.c3s2.iphmx.com [207.54.90.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by in-4.smtp.seeweb.it (Postfix) with ESMTPS id 8F58210279AE for ; Thu, 20 Feb 2025 09:42:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj2; t=1740040926; x=1771576926; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=daNhgKxuktDHG4b5wLJwh/um2Zym0ZYYeiUexAnPuso=; b=JDCQg04qLG6oBDAa5Idj4ko0hNcLt8/XsRWqoAO8l8WS2MbWvJmYL+OU csvuoeI4ggyC43rrqMp01a3LmaVQwp4V/PNuejArI68XEwcfzsRs9BoTh oV2YDiQjNddx2BXkbUWY0JdnKZ8tUOXDBrHuwrpIC+RGXvRDpPUKr1vPx AxxqGYNWl+tdDvhMMPs1EMu5llr2UG353jVBAvByl9s4NExzmpZ2M5uhK 2xYO5lwCLf+Zt37mJi74b21rldm5MYkaJy3622FLtzT8Qr8pxZhcpu/7p sZ2fnCvrOydliBa6jt4iSv6aHNhWDUKUNXrAc9IFprCV9VvmTq1lIVfam A==; X-CSE-ConnectionGUID: H9M3p774Sh2hgJoh0erWYA== X-CSE-MsgGUID: eG7c+WMGQ+Oz30JYJ0lLTg== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="170126315" X-IronPort-AV: E=Sophos;i="6.13,301,1732546800"; d="scan'208";a="170126315" Received: from unknown (HELO yto-r2.gw.nic.fujitsu.com) ([218.44.52.218]) by esa11.hc1455-7.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 17:42:03 +0900 Received: from yto-m1.gw.nic.fujitsu.com (yto-nat-yto-m1.gw.nic.fujitsu.com [192.168.83.64]) by yto-r2.gw.nic.fujitsu.com (Postfix) with ESMTP id 7573D13F5A for ; Thu, 20 Feb 2025 17:42:01 +0900 (JST) Received: from edo.cn.fujitsu.com (edo.cn.fujitsu.com [10.167.33.5]) by yto-m1.gw.nic.fujitsu.com (Postfix) with ESMTP id 3BF09D0DB9 for ; Thu, 20 Feb 2025 17:42:01 +0900 (JST) Received: from localhost.localdomain (unknown [10.167.135.101]) by edo.cn.fujitsu.com (Postfix) with ESMTP id AB8431A0003; Thu, 20 Feb 2025 16:42:00 +0800 (CST) To: ltp@lists.linux.it, andrea.cervesato@suse.com Date: Thu, 20 Feb 2025 16:42:04 +0800 Message-ID: <20250220084204.1127247-1-maxj.fnst@fujitsu.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20250219090505.1039462-1-maxj.fnst@fujitsu.com> References: <20250219090505.1039462-1-maxj.fnst@fujitsu.com> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 1.0.3 at in-4.smtp.seeweb.it X-Virus-Status: Clean Subject: [LTP] [PATCH v2] chmod06: Fix the doc to fit RST format 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: , From: Ma Xinjian via ltp Reply-To: Ma Xinjian Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" Fix the indent and change to bullet point lists. Signed-off-by: Ma Xinjian --- testcases/kernel/syscalls/chmod/chmod06.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/testcases/kernel/syscalls/chmod/chmod06.c b/testcases/kernel/syscalls/chmod/chmod06.c index 7055f0da0..40255184d 100644 --- a/testcases/kernel/syscalls/chmod/chmod06.c +++ b/testcases/kernel/syscalls/chmod/chmod06.c @@ -8,13 +8,13 @@ /*\ * Verify that, chmod(2) returns -1 and sets errno to * - * 1. EPERM if the effective user id of process does not match the owner of the - * file and the process is not super user - * 2. EACCES if search permission is denied on a component of the path prefix - * 3. EFAULT if pathname points outside user's accessible address space - * 4. ENAMETOOLONG if the pathname component is too long - * 5. ENOTDIR if the directory component in pathname is not a directory - * 6. ENOENT if the specified file does not exists + * - EPERM if the effective user id of process does not match the owner of the + * file and the process is not super user + * - EACCES if search permission is denied on a component of the path prefix + * - EFAULT if pathname points outside user's accessible address space + * - ENAMETOOLONG if the pathname component is too long + * - ENOTDIR if the directory component in pathname is not a directory + * - ENOENT if the specified file does not exists */ #include -- 2.47.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp