From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 28AD5385E448; Wed, 14 Feb 2024 16:59:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 28AD5385E448 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1707929984; bh=OQdffHzxuv558MZYmY9BJt4VbojT/v6ZjNl5+HWDto0=; h=From:To:Subject:Date:From; b=CQU/wR+nym30/amgYI+F2czFfmtaSoth4B4PhFaQ5e9Q6ZgHyR4oBN9Ky/koTjcEB VDdNLi5nAo12hdx1bOOyBsvCD00I3PoP6oxjyt9LkuzdfCENiH+PX2P/wMfz29X8uM eFc7ERzsgf5fAELR3FplBCSyNdmHLk2bVJ09Cxjk= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc] trivial doc fix: remove weird phrase "syscall takes zero to five arguments" X-Act-Checkin: glibc X-Git-Author: Askar Safin X-Git-Refname: refs/heads/master X-Git-Oldrev: 545480506fc6576ea37a14e56c654935c691709d X-Git-Newrev: dbae3a3940940977b8b8190a145a444732846219 Message-Id: <20240214165944.28AD5385E448@sourceware.org> Date: Wed, 14 Feb 2024 16:59:44 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=dbae3a3940940977b8b8190a145a444732846219 commit dbae3a3940940977b8b8190a145a444732846219 Author: Askar Safin Date: Mon Feb 12 19:48:55 2024 +0300 trivial doc fix: remove weird phrase "syscall takes zero to five arguments" "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 Diff: --- 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.