From nobody Sun Nov 24 16:46:10 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 4XxF8g1Gvyz5fLxK; Sun, 24 Nov 2024 16:46:11 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XxF8g0rCSz4BHM; Sun, 24 Nov 2024 16:46:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732466771; 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=owhQP3//vbrce5UzxRbafmLdsvdCN1PuWubFhYfAUCs=; b=PovlNiNDc86kCbRw/LsIXg/JgdFOt45IiMU4DxE3N0472/JIxOP4JJXfRiHl6pssbJykJC 0kYDqskQnG5dhT/vh9nEFp70KpPa61lOKzwxAXjk0yLis6hVY6dA5Lrnup3Y9d0tl/FlY8 qA1i/488K1hRFQOVF6DDVyVICDuj3ooI9KiPIP5+PXE0ntnjbxX51MMMjhf+74iJETxQ9Y Dlb/gtveM8bGtQrIgOmMHVdl5DNGbcb2ZFfSE/PVQZMrsbxTML2cLnbIUG1j1GkiJYEOK/ YRYkI3qAbWBgs6MrYrBfufWmifHzXQ3qw+8uMA4DRjgCHTSi9DtlLvN7dd8qsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732466771; 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=owhQP3//vbrce5UzxRbafmLdsvdCN1PuWubFhYfAUCs=; b=JDoN/4erhhEb9WuGg2VvD657TwqAgSGM4Cqddcchr5CKFAOS7janY7KlvlqbbphRYUvwHN TJunYGCNTh0ud37+I7CSJ+Kn4AR/ZgRifUne/rgDK2cTUSnoT1MG0TGYlIAInbGE2fAHUC oIj79apumwfxgL7btNPYzZaZMHPJPRrrWgrWA520vRa0VfMmV+EjXZ5o6QlAup3G7e2UFS T6UWpRU2eb5Iyvm7Qq6st2UDOnmbUNc5Fb8ct8Wfg6clckpS0a00kM3/34/4DumVlXriOm 3HMY9NpX+D9DF/eZh6N+guNIbsH/eWDycqbOvbNWpa3JgITYugV6x6VT03yeeA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732466771; a=rsa-sha256; cv=none; b=hJAzo1PU4iK5GJPsxnBr6XY8URjXwhNbO13xROf75eDHXxa+TehnpaTYpSjj4e46QcDoaj PIMMeO9vgr6Iia0edsNaNYX5/D+6b1YgQHu7eQtXK64lxNAzonbdNa0Vg20NhygdtKSbEl SjtG8JLxoEMVX7YQTwoDDR2YEp5qGqU7WjyCqFGGfgniLa9NH9Wg8B0Ruf38JdA6/v0FRN CDN32moVYLJ0NC1R5kMFvlwKt+NhFVR63yroeyOqENSbS6RNu87tyqKuik+QbRla4zz6RG utqUrT2ofWuubzb3mWeBQsPBUrX9w8fZRssoyzgRQ/zQGHibA97O/Hb2pQcYXw== 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 4XxF8g0QmSz12VQ; Sun, 24 Nov 2024 16:46:11 +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 4AOGkAGg038300; Sun, 24 Nov 2024 16:46:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AOGkApr038297; Sun, 24 Nov 2024 16:46:10 GMT (envelope-from git) Date: Sun, 24 Nov 2024 16:46:10 GMT Message-Id: <202411241646.4AOGkApr038297@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: 28092a8bc72e - stable/14 - mac_bsdextended: Remove \n from sysctl descriptions 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: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 28092a8bc72e969d3736ff064ad3f1ca7d80ce0b Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=28092a8bc72e969d3736ff064ad3f1ca7d80ce0b commit 28092a8bc72e969d3736ff064ad3f1ca7d80ce0b Author: Ed Maste AuthorDate: 2024-11-21 15:22:27 +0000 Commit: Ed Maste CommitDate: 2024-11-24 16:46:00 +0000 mac_bsdextended: Remove \n from sysctl descriptions sysctl(8) prints a newline after the description; the description should not end with one itself. Sponsored by: The FreeBSD Foundation (cherry picked from commit 6b62e00da4ad0624fce5e6f0b5b39a6f44c8ba60) --- sys/security/mac_bsdextended/mac_bsdextended.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/security/mac_bsdextended/mac_bsdextended.c b/sys/security/mac_bsdextended/mac_bsdextended.c index d143901330a1..95efc537735a 100644 --- a/sys/security/mac_bsdextended/mac_bsdextended.c +++ b/sys/security/mac_bsdextended/mac_bsdextended.c @@ -88,11 +88,11 @@ static int rule_slots = 0; static int rule_version = MB_VERSION; SYSCTL_INT(_security_mac_bsdextended, OID_AUTO, rule_count, CTLFLAG_RD, - &rule_count, 0, "Number of defined rules\n"); + &rule_count, 0, "Number of defined rules"); SYSCTL_INT(_security_mac_bsdextended, OID_AUTO, rule_slots, CTLFLAG_RD, - &rule_slots, 0, "Number of used rule slots\n"); + &rule_slots, 0, "Number of used rule slots"); SYSCTL_INT(_security_mac_bsdextended, OID_AUTO, rule_version, CTLFLAG_RD, - &rule_version, 0, "Version number for API\n"); + &rule_version, 0, "Version number for API"); /* * This is just used for logging purposes, eventually we would like to log