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 2904CC36010 for ; Fri, 11 Apr 2025 06:33:37 +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=1744353215; h=to : date : message-id : 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=4gmM7NZQuzqt8l8SznEHTLBLg62dEdm9jEgwKzv5dZQ=; b=pI2L9ZJJ7j8xl6QD9KkmYRLTrAupYji82D5E2ippjrQ2o5ihYtLoMfb0+ZvO4jcMb+IvR omlMoaV8e70cy/cXTU1ZEA8CSTKUKKemgz74BCcPNzRuT6C4h5g/ZqbPTVbOgXlttD/e4pi mBzLSYOPnbNyReQJHJ+jFA+x3YhInSw= Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 9A9723CB583 for ; Fri, 11 Apr 2025 08:33:35 +0200 (CEST) Received: from in-3.smtp.seeweb.it (in-3.smtp.seeweb.it [217.194.8.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 952293CB53F for ; Fri, 11 Apr 2025 08:33:11 +0200 (CEST) Authentication-Results: in-3.smtp.seeweb.it; spf=pass (sender SPF authorized) smtp.mailfrom=fujitsu.com (client-ip=68.232.139.117; helo=esa4.hc1455-7.c3s2.iphmx.com; envelope-from=maxj.fnst@fujitsu.com; receiver=lists.linux.it) Received: from esa4.hc1455-7.c3s2.iphmx.com (esa4.hc1455-7.c3s2.iphmx.com [68.232.139.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by in-3.smtp.seeweb.it (Postfix) with ESMTPS id E39241A006E9 for ; Fri, 11 Apr 2025 08:33:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj2; t=1744353190; x=1775889190; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=5MELhBkxdHO32hGDqVYxGLZTgxkhe9fMr1LAmblzUDQ=; b=k1yRseiebZd6thMp/T64AV5xjL/o4EED7XAKlAJQIcgVG+o50qx3D8PB Hp009fT3ZZxuC3WKmLo6bccL/AT7sZlnTzQGhS7if/WZwh1dCbV01aMHA yuhp8ekpSilPViH3fG1j2Wv3/bK4JA98Wu5q7zNf8/izemXijmTgC1Mbs pM847PZyXU3FCBJVmYNlTPjuYr5CGRe2Ulr4q8UIHtR0vUoPqHEvZMykv eOEmNMIj8TKQ/jetupYt3YbZ7M07OAB9viTd/w2t2ANZ0g2YPadieGcBg vQ1MSHFFN+rxjUUb1FHZNSmvNE5dTnWcNrkfXy1iVMYDGcnbAD9+We+pc w==; X-CSE-ConnectionGUID: WuIoOVrBTIWPx/KNpLngEg== X-CSE-MsgGUID: wCqdQqrXTzenkiGb0kYp8Q== X-IronPort-AV: E=McAfee;i="6700,10204,11400"; a="196469793" X-IronPort-AV: E=Sophos;i="6.15,203,1739804400"; d="scan'208";a="196469793" Received: from unknown (HELO yto-r2.gw.nic.fujitsu.com) ([218.44.52.218]) by esa4.hc1455-7.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Apr 2025 15:33:08 +0900 Received: from yto-m4.gw.nic.fujitsu.com (yto-nat-yto-m4.gw.nic.fujitsu.com [192.168.83.67]) by yto-r2.gw.nic.fujitsu.com (Postfix) with ESMTP id 7D20F13F57 for ; Fri, 11 Apr 2025 15:33:06 +0900 (JST) Received: from edo.cn.fujitsu.com (edo.cn.fujitsu.com [10.167.33.5]) by yto-m4.gw.nic.fujitsu.com (Postfix) with ESMTP id 36881F3194 for ; Fri, 11 Apr 2025 15:33:06 +0900 (JST) Received: from localhost.localdomain (unknown [10.167.135.101]) by edo.cn.fujitsu.com (Postfix) with ESMTP id BA4161A0078; Fri, 11 Apr 2025 14:33:05 +0800 (CST) To: ltp@lists.linux.it Date: Fri, 11 Apr 2025 14:33:20 +0800 Message-ID: <20250411063320.29803-1-maxj.fnst@fujitsu.com> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 1.0.3 at in-3.smtp.seeweb.it X-Virus-Status: Clean Subject: [LTP] [PATCH] utimes01: 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" Signed-off-by: Ma Xinjian --- testcases/kernel/syscalls/utimes/utimes01.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/testcases/kernel/syscalls/utimes/utimes01.c b/testcases/kernel/syscalls/utimes/utimes01.c index b66f39b65..a9aa78904 100644 --- a/testcases/kernel/syscalls/utimes/utimes01.c +++ b/testcases/kernel/syscalls/utimes/utimes01.c @@ -9,14 +9,14 @@ /*\ * Verify that, utimes(2) returns -1 and sets errno to * - * 1. EACCES if times is NULL, the caller's effective user ID does not match - * the owner of the file, the caller does not have write access to the file, - * and the caller is not privileged - * 2. ENOENT if filename does not exist - * 3. EFAULT if filename is NULL - * 4. EPERM if times is not NULL, the caller's effective UID does not match - * the owner of the file, and the caller is not privileged - * 5. EROFS if path resides on a read-only file system + * - EACCES if times is NULL, the caller's effective user ID does not match + * the owner of the file, the caller does not have write access to the file, + * and the caller is not privileged + * - ENOENT if filename does not exist + * - EFAULT if filename is NULL + * - EPERM if times is not NULL, the caller's effective UID does not match + * the owner of the file, and the caller is not privileged + * - EROFS if path resides on a read-only file system */ #include -- 2.47.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp