From nobody Tue Oct 01 17:47:29 2024 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 4XJ54K6xm4z5Y8GH; Tue, 01 Oct 2024 17:47:29 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XJ54K60gdz4VPR; Tue, 1 Oct 2024 17:47:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727804849; 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=/XELrk6ZB0yGJVxCkbvFUIGgfzcf6x2HlECRZBJJOrQ=; b=mYDJhj6DcjOjT90r2GbtnB3erPD+RtARMSMroJDeJhBjXnz+kciK19MpEzVXYNMMfv3yh+ GvTnd72NmoCLQEdgXaUYX0p1WM77MJbPrAblZBaSK94Auvz3t3qLLM0QnPdMaIgdsUYgop Ee0XINByJm1T37GivzbbTZEizcZEJyohJ3bwZqRhzb4SCYVGaUWXXeIURKSn8hDXZk65Zq DJUl/WkxFp23sNGt4nHSusBZV8C5cvzLlztmkAuYMLnBPDfF2vabUBEtvaEtcg5xIAAut8 rV2W/hYk6EZ+C44K3E7V68NjeeexSj/oYEafaAWC4MXxyPK6LuF6WDq0Z3EuNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727804849; 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=/XELrk6ZB0yGJVxCkbvFUIGgfzcf6x2HlECRZBJJOrQ=; b=c2rA4QPf+KmP0mX561gD+fvTxrq7Fg03330H5PSkp/yHFplNrVo6yZJDQRh9fGrjg/A/pU tPJHZcY4eX5qODLRso/0cIc3tkC3di+fnyvBXGPn2RefnVZ0+XN6AixduyoQvTSBv91+4q O+w1O6vyIxuqvsj+iv6uUe/Bc11JzLI9qa/t+8SCK5EiC8G3pqznEjZ+HB8IwR1wgmYkMI xyyIrGgcpu0XPfsKph7QQQAvMRsUVT/LO6hSNfV/ZYAwFQ/cM6qHCJLpbg6TDRtbsZao1k 6B114a80jNFzpB+E75MsylCexXcrnO9Bhplpu89M6QFGnVyZKgv2nU7CDkZdiQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727804849; a=rsa-sha256; cv=none; b=gz8OP54Bsk/rPd/neMkYAVMExSeJoMul5qCzn4w+sf7hbbGDqM4awU3yr5FNpL0B+yd9H8 yjzPTlZXB+BoOMn4uO/COP2hzr/m5ufaDBEwhnYLKc/usiOnVjCOKzX2K6lv85KqJdJ4eT ObWNnfj/NY1mpbgz33udcEBMGN3EPZNmEw4o/vsI4zXHTvfJcRluJ50VkO1tB4j6Ram9f1 k3jO1obtR+331Nax100ji8NQkKzNWJ4i5PJwDV9rkfHAMFFIHnxKtS+oWRfW7aAMPy8XDN 4/r5tIwTydsID1shLo2c8mkTTWErqHq8Jh3VwK9P0Rx87kLZcSdPmZrIieJrUQ== 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 4XJ54K5TcPzmll; Tue, 1 Oct 2024 17:47:29 +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 491HlTOW095073; Tue, 1 Oct 2024 17:47:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 491HlTIs095070; Tue, 1 Oct 2024 17:47:29 GMT (envelope-from git) Date: Tue, 1 Oct 2024 17:47:29 GMT Message-Id: <202410011747.491HlTIs095070@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: 0d490c6a445a - main - sysent: make header comments more consistent 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: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0d490c6a445a5e94e5d50b65aa96ab72eeafe15f Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=0d490c6a445a5e94e5d50b65aa96ab72eeafe15f commit 0d490c6a445a5e94e5d50b65aa96ab72eeafe15f Author: Brooks Davis AuthorDate: 2024-10-01 17:01:50 +0000 Commit: Brooks Davis CommitDate: 2024-10-01 17:44:03 +0000 sysent: make header comments more consistent An upcoming refactor appends do-not-merge comments to all headers centrally to do the same to reduce the final diff. Headers also start with a comment line (for /*) and end with a blank line. --- sys/tools/makesyscalls.lua | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/sys/tools/makesyscalls.lua b/sys/tools/makesyscalls.lua index fcabe8e5e284..5e6c40c801d4 100644 --- a/sys/tools/makesyscalls.lua +++ b/sys/tools/makesyscalls.lua @@ -1533,13 +1533,19 @@ write_line("syshdr", string.format([[/* ]], generated_tag)) -write_line("sysmk", string.format([[# FreeBSD system call object files. +write_line("sysmk", string.format([[ +# +# FreeBSD system call object files. +# # DO NOT EDIT-- this file is automatically %s. +# + MIASM = ]], generated_tag)) write_line("libsysmap", string.format([[/* * FreeBSD system call symbols. - * DO NOT EDIT-- this file is automatically %s. + * + * DO NOT EDIT-- this file is automatically %s. */ FBSDprivate_1.0 { ]], generated_tag)) @@ -1549,7 +1555,7 @@ write_line("libsys_h", string.format([[/* * * Do not use directly, include instead. * - * DO NOT EDIT-- this file is automatically %s. + * DO NOT EDIT-- this file is automatically %s. */ #ifndef __LIBSYS_H_ #define __LIBSYS_H_ @@ -1568,8 +1574,9 @@ write_line("libsys_h", string.format([[/* write_line("systrace", string.format([[/* * System call argument to DTrace register array converstion. * - * DO NOT EDIT-- this file is automatically %s. * This file is part of the DTrace syscall provider. + * + * DO NOT EDIT-- this file is automatically %s. */ static void