From nobody Mon Nov 25 21:28:15 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 4XxzMh1DzNz5fDdT; Mon, 25 Nov 2024 21:28:16 +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 4XxzMh0pCpz45p8; Mon, 25 Nov 2024 21:28:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732570096; 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=EE/EjoEFH69VQvWtovyU1UwY3/kFA+zWmg+FBVTXveo=; b=Bxfx7Am8u8Hq4EanEpDIUUrTucvpHWI5NJJbhlvk8d0SsZVY32gyALkFxTJ+2GFDl5tOMH iB2bNNCGMDPapbjZZ/kSX9b2iCQzuawctAPQu3al/ldCerXKwaIfCnuOlDBA4wJlWlSCh6 kGpjcO4lUpeIlvKw6LZ3JbaYr2OJjiEyZEViP+SvKglktpjm7Kfcg/vPxdjAayyuB/jBUn r0zIYVYtdSBdwxnr4HytvGzkomTDfARqcHMoM9tFUH61oPDOJ5jH8Dsq7rtiLCWABxFOxO BdjC3RGH71VCjRPZ0TIiLOiZlWBRpUh4lLjCoxK70KShXCsL297G2wgwGq6nhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732570096; 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=EE/EjoEFH69VQvWtovyU1UwY3/kFA+zWmg+FBVTXveo=; b=Knk1+UGTKZyHT4nQiNPfGR03XLcwioOIwUfUzmezkWZJKMKj337uwNxU4d6bjTdsdWwMDx MAQiVNNSmV1kRX1kFPQjrFJ3mX7xN7JfCmfCzv4Oq1bWn8ZNnOPVfxi19A5pS2TlpwoPL9 iN2s2cPdYXeRDdkAb76radrPOTnhPCpbxBl9YWSKdaMCBOOzJ5JcyoRRIKqdHbEWbryVlQ fPm2l09jVVCOm32GVDtQvw8SGFqXs5mH8YWdYqpCGte50xqfa3q5mDcD17LiCj1xBb8Fvb 9brs6yCrw0UqvEtPZOc1s8b4Pdi0u+elnBZw7RHdAWOJXjHZ4uskdM4TjgF3Rw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732570096; a=rsa-sha256; cv=none; b=x2EecrFa6SsuSVG8m3wfCa9m7NkIl04NM5cEQbNp385qz1V4ezRZ7x01z9D2/JnLIYM81V gNTAP3Oqj0ptY2h6lPpfg83c8U4h2dV+qWaIymjUQGRFGwpgU6krRuobLls6mm8YhenEBk Xp/UJtMRBb0TZdM1hDzv1RNdkXXXhIw9FLWTqHi97wKl+k95RMQP0FFFD3knCrKMmWGlTg 3gTogm+IEuUUSAFpNUYrxWSr+/NBM8lsw3cFNXyaNImjDCi7MSX4tsZP+MOrkVGF5hcsNl 1ZzTq4+4KZ2Tkvhs+FBoAloSg0QH8xEul6cimUkOEmSf/jNpqTo1VDiIK7mSYg== 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 4XxzMh0PKhzwLB; Mon, 25 Nov 2024 21:28:16 +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 4APLSFRh048780; Mon, 25 Nov 2024 21:28:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4APLSFd3048777; Mon, 25 Nov 2024 21:28:15 GMT (envelope-from git) Date: Mon, 25 Nov 2024 21:28:15 GMT Message-Id: <202411252128.4APLSFd3048777@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: d4820e1727ec - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: d4820e1727ec1897ae265c1f410c2fecede01716 Auto-Submitted: auto-generated The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=d4820e1727ec1897ae265c1f410c2fecede01716 commit d4820e1727ec1897ae265c1f410c2fecede01716 Author: Ed Maste AuthorDate: 2024-11-21 15:22:27 +0000 Commit: Ed Maste CommitDate: 2024-11-25 21:28:07 +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) (cherry picked from commit 28092a8bc72e969d3736ff064ad3f1ca7d80ce0b) --- 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