From patchwork Mon Feb 12 16:48:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Askar Safin X-Patchwork-Id: 1897836 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=zohomail.com header.i=safinaskar@zohomail.com header.a=rsa-sha256 header.s=zm2022 header.b=aRqtx2Ho; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 4TYW3v5h20z23hM for ; Tue, 13 Feb 2024 04:02:51 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 98F403858C30 for ; Mon, 12 Feb 2024 17:02:49 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from sender4-pp-o94.zoho.com (sender4-pp-o94.zoho.com [136.143.188.94]) by sourceware.org (Postfix) with ESMTPS id 11266385840C for ; Mon, 12 Feb 2024 17:02:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 11266385840C Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=zohomail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=zohomail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 11266385840C Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=136.143.188.94 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1707757324; cv=pass; b=CSnIYyxRWm9zrzlba6mHIPVdy/l41SfhngA9KjX49iHeHtn/aneArNeZLduccz2CrPopwj17Yjki6/IQCJ3y4CrzapBeTJ+UeODZ571/nh1KxWwEl1Gptiyd4bgXqD8MxXXXCiEUHGF/K61veyPQwzhatN9DrUVbxXcqsn6leVA= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1707757324; c=relaxed/simple; bh=5cNmop03HChlUJBr0pPzeDCfH/cVcAm/SN92gLyIIhg=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=DtAGD/cxRjUAe6n6gnMHGspiZWt+qLxSaR/ZV6hacCQReHESCE2LtT8Tn/m5/xAmF1yvqmoONr5nwkKoGdygGmTkUAyOvQBHuPrSxBSPRj/cFgVot6GyC/6sGRssteeijAoMJKbrsWaYdXjkYP0ErcYu5c3Yk8l84B7+cdnuYDw= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; t=1707757320; cv=none; d=zohomail.com; s=zohoarc; b=dFXQGwIMsDKOPJvTZr+xNN+w+QPTOvQzla2T5ryrr8V5utSmDMXulCx1TlUWTTjtmLDalBuqV+gwm2dwnINtYQzapTP3NT6BoR/nQF7TAewkeNFaiQq63oBCdbvhVFTWg56XyvQBadRWQ5+1w20ncy3grZFGJBRwzQs/ZX3S9PM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1707757320; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=O1aKSUfs7i3ve+XIzQeR+dedVbSmra6uDvq5Lz/PPPo=; b=cPo2MGdnyvByYABVgJhEy4WvA03lV6ba3bJ600eDWaCR1oIh27gAr5LNIv+Zh3e/yVAYrx+6uNjrkpOiJBQ3WZtGePDNYqn1x9lt4LMt5UwoADmldq32bVJmXcRUrO3u+Jwx6lAEiwVoRYS9A8OtxblvNlkg2YxHJIbcBJDjSHs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zohomail.com; spf=pass smtp.mailfrom=safinaskar@zohomail.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1707757320; s=zm2022; d=zohomail.com; i=safinaskar@zohomail.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Transfer-Encoding:Feedback-ID:Message-Id:Reply-To; bh=O1aKSUfs7i3ve+XIzQeR+dedVbSmra6uDvq5Lz/PPPo=; b=aRqtx2Ho+V4HhhDRcMLE4CuG6pN2bxlGt/HJzQ3/tuZrEH/fH493mUTNYbHBfB7y gGS+Wezj8ffQjJIk9qwugP7PAR7uALpJpzdTEUfUXzUPbJOS0gFW6TkJPYgHZQqu/f9 DoFNXFn9xW6l7hYpw7dYSgdr7x+rK2jYWevySKFs= Received: from localhost.localdomain (212.73.77.98 [212.73.77.98]) by mx.zohomail.com with SMTPS id 1707757320166713.2455646048265; Mon, 12 Feb 2024 09:02:00 -0800 (PST) From: Askar Safin To: carlos@redhat.com Cc: libc-alpha@sourceware.org, adhemerval.zanella@linaro.org, dalias@libc.org Subject: [PATCH] trivial doc fix: remove weird phrase "syscall takes zero to five arguments" Date: Mon, 12 Feb 2024 19:48:55 +0300 Message-ID: <20240212170036.410-2-safinaskar@zohomail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Feedback-ID: rr0801122793c818cf5934c64000b6f0590000bd4297c8cf78593f3f3c26a1a22206f90c991e0f86c8434263:zu0801122766ff2989218c23e632016ca600000796262af1ab5457b63624bb3010d0d6d6577f5734b3c01244:rf0801122c7172ed8125cbe6237869770c00009a480e04b5ee9ee2f827a3cbfff5d35bc2d8ed88cad3aa61be45cdb198b9:ZohoMail X-ZohoMailClient: External X-Spam-Status: No, score=-10.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org "number of arguments, from zero to five" is wrong, because on Linux maximal number of arguments is 6, not 5. Also, maximal number of arguments is kernel-dependent, so let's not include it here at all. Moreover, "Each kind of system call has a definite number of arguments" is questionable. Think about SYS_open on Linux, which takes 2 or 3 arguments. Or SYS_clone on Linux x86_64, which takes 2 to 5 arguments. So I propose to fully remove this sentence. Signed-off-by: Askar Safin Reviewed-by: Adhemerval Zanella --- Again: yes, I give up pushing my "syscall_no_errno". But while I was writing "syscall_no_errno" patch I noticed this manual error, so I submit it. manual/startup.texi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/manual/startup.texi b/manual/startup.texi index 9bf24123f5..96a7a472bb 100644 --- a/manual/startup.texi +++ b/manual/startup.texi @@ -727,8 +727,7 @@ identified by a number. Macros for all the possible system call numbers are defined in @file{sys/syscall.h} The remaining arguments are the arguments for the system call, in -order, and their meanings depend on the kind of system call. Each kind -of system call has a definite number of arguments, from zero to five. +order, and their meanings depend on the kind of system call. If you code more arguments than the system call takes, the extra ones to the right are ignored.