From nobody Tue Aug 26 00:50:30 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4c9px30Pqyz65w6P; Tue, 26 Aug 2025 00:50:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c9px24s6Vz3n88; Tue, 26 Aug 2025 00:50:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756169430; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ahArs0MNEMlJtZ8oc1eDY3PElaBIr45R/JyZbCtiFzc=; b=HcaGBzLksakpD/s+pGdkSMyiD6fT8syP1yPmoO0V/W9MbvqXcmgacx6itBWQP3qWM+drys hpLcaVvDdbS/3DYHfDgU5ubWcZbE3G41EZZGR91B0ujMdbX2AzCxDDIYBC4QueA5boo2wi VScYsSBLg1Egbd5YFwK+WyRipcIWRlGPZVU8kHUK7Qaqj7qil/83MIPRuC7HC+Y5iZHdfu usLDEqyG3pZ5zD8lVFFArjDcUBoymGs4RnhMRLCqFqGTJPjohh6WEaOwPvCUZPxycHV39m dy9OOk9u1t1I8IXCxQVMe8SZKocnSR/NRXTkeFbNUlXFbeYATC7i9ugbUnf2SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756169430; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ahArs0MNEMlJtZ8oc1eDY3PElaBIr45R/JyZbCtiFzc=; b=lQfbUELWbz5lgruQQS0TUVkR6DDWcYMH5DLRYccGKV/IExtaaUQcegFUSMpIw4y8m3WvBH oaASRIWxDX2vmaMK/7CTSFwDI8oaQhqbPcztj6s+mf4kxQvS0NHjhhOZamORh9AJI2q8LW Pp6lBUDc5B7juGHTeOKQm5cKJhd9styCPKfvW3s8lyzMxG02Go8I4q4KKauEAw32C+AVKs 4BSCM2zEySETXR7Sn0Nw3Zri2h5HQ05MkZ1Bdq1IoskzooHo75c0Vp/0L8iwkclc9PweA4 5Oc4q0HlDroUTjQIm9+bcH5po80xFKVcAFXnbX7zUhEPLnGvcD3J9Z6bZYiOJA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1756169430; a=rsa-sha256; cv=none; b=HrPHXxULJXXYldFr9MqgAioT9X/t+8ZTw8gbmt3d7wQiGaiv1gQdN75VJk4SlWXZ06G7TU cyoVYCEMKWxwHQYPUc8G4hF2eIegJmKz8PvPyETp5BDMOKXQJGztc+X+C6ZZr5cPWeIIcC xEMVWpDuaeAYGGfksE+BY3Bfon+vLnKXfCrTWoM4MNNWHgEbfXEFpXHDz+RxsSjSKMk88N QXzTsPovAaAk8zhHGdEsd9ZqLeSvOZvAnHZ2on4LiAiUojIm4Gg7TNvTy/AQAbv48cfh0S NXA6em98gbVxFjSYf4TK8VvmrZ2NjaTKI7gYcGozjQRJHuK+cufe2KwO7Jt51g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4c9px24S9sz1CJ6; Tue, 26 Aug 2025 00:50:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 57Q0oUOS018368; Tue, 26 Aug 2025 00:50:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 57Q0oUFo018364; Tue, 26 Aug 2025 00:50:30 GMT (envelope-from git) Date: Tue, 26 Aug 2025 00:50:30 GMT Message-Id: <202508260050.57Q0oUFo018364@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Ziaee Subject: git: 4ba91e076ee8 - main - sysdecode_syscallnames.3: s/names/name/ List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ziaee X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4ba91e076ee84101112d8296785098ae31dac35e Auto-Submitted: auto-generated The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=4ba91e076ee84101112d8296785098ae31dac35e commit 4ba91e076ee84101112d8296785098ae31dac35e Author: Felix Johnson AuthorDate: 2025-08-26 00:06:39 +0000 Commit: Alexander Ziaee CommitDate: 2025-08-26 00:49:05 +0000 sysdecode_syscallnames.3: s/names/name/ The sysdecode_syscallname function was accidentally documented as being plural. Move it to reflect it's actual name, and adjust all references. PR: 278383 Reviewed by: ziaee Differential Revision: https://reviews.freebsd.org/D51002 --- lib/libsysdecode/Makefile | 2 +- lib/libsysdecode/sysdecode.3 | 2 +- lib/libsysdecode/sysdecode_abi_to_freebsd_errno.3 | 2 +- .../{sysdecode_syscallnames.3 => sysdecode_syscallname.3} | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/libsysdecode/Makefile b/lib/libsysdecode/Makefile index ca020552a6e9..11f45355b8e2 100644 --- a/lib/libsysdecode/Makefile +++ b/lib/libsysdecode/Makefile @@ -27,7 +27,7 @@ MAN= sysdecode.3 \ sysdecode_sigcode.3 \ sysdecode_sockopt_name.3 \ sysdecode_socket_protocol.3 \ - sysdecode_syscallnames.3 \ + sysdecode_syscallname.3 \ sysdecode_utrace.3 MLINKS= sysdecode_abi_to_freebsd_errno.3 sysdecode_freebsd_to_abi_errno.3 MLINKS+=sysdecode_enum.3 sysdecode_acltype.3 \ diff --git a/lib/libsysdecode/sysdecode.3 b/lib/libsysdecode/sysdecode.3 index 0aa4155c004b..32f7fad4e6c5 100644 --- a/lib/libsysdecode/sysdecode.3 +++ b/lib/libsysdecode/sysdecode.3 @@ -73,7 +73,7 @@ A placeholder for use when the ABI is not known. .Xr sysdecode_sigcode 3 , .Xr sysdecode_socket_protocol 3 , .Xr sysdecode_sockopt_name 3 , -.Xr sysdecode_syscallnames 3 , +.Xr sysdecode_syscallname 3 , .Xr sysdecode_utrace 3 .Sh HISTORY The diff --git a/lib/libsysdecode/sysdecode_abi_to_freebsd_errno.3 b/lib/libsysdecode/sysdecode_abi_to_freebsd_errno.3 index 8f710d1e3756..51955f062393 100644 --- a/lib/libsysdecode/sysdecode_abi_to_freebsd_errno.3 +++ b/lib/libsysdecode/sysdecode_abi_to_freebsd_errno.3 @@ -89,4 +89,4 @@ see .Xr sysdecode 3 . .Sh SEE ALSO .Xr sysdecode 3 , -.Xr sysdecode_syscallnames 3 +.Xr sysdecode_syscallname 3 diff --git a/lib/libsysdecode/sysdecode_syscallnames.3 b/lib/libsysdecode/sysdecode_syscallname.3 similarity index 93% rename from lib/libsysdecode/sysdecode_syscallnames.3 rename to lib/libsysdecode/sysdecode_syscallname.3 index 610cbc9b2115..8ba88fd3c43e 100644 --- a/lib/libsysdecode/sysdecode_syscallnames.3 +++ b/lib/libsysdecode/sysdecode_syscallname.3 @@ -23,17 +23,17 @@ .\" SUCH DAMAGE. .\" .Dd October 17, 2016 -.Dt sysdecode_syscallnames 3 +.Dt sysdecode_syscallname 3 .Os .Sh NAME -.Nm sysdecode_syscallnames +.Nm sysdecode_syscallname .Nd lookup name of system calls .Sh LIBRARY .Lb libsysdecode .Sh SYNOPSIS .In sysdecode.h .Ft const char * -.Fn sysdecode_syscallnames "enum sysdecode_abi abi" "unsigned int code" +.Fn sysdecode_syscallname "enum sysdecode_abi abi" "unsigned int code" .Sh DESCRIPTION This function returns a pointer to the name of a system call identified by .Fa code