From nobody Thu Nov 21 15:28:04 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 4XvMYw4XBzz5dDQm; Thu, 21 Nov 2024 15:28:04 +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 4XvMYw3wwWz4DDS; Thu, 21 Nov 2024 15:28:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732202884; 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=38P55/NQZLynVv5qmyUWR/MhUarL88zAio0DvdpNi4c=; b=w8bio7CFbDA7ZXqCFDG+bAYimXh7VF8ehQP2q/KBm9pS/Y4oFmlw1nykghWxN5UKXkhmIK +gJoxqAsR5tNbiM5gqNK/h9KadYH2SZOoRDk87bKNbzFd1AYQJG468ZuTJr8zSxY3dX2hz FazuBw09QQuH/Zyvm0z7MJExZshfLz3PV7oeBdwCIZyEiQZRBKV48k2DCZU8yMcV38yhQw VQJKn9NwtvrW+FXRhjiVPr21XhMh8GmJhrYTJLFdfDGiuOrIuutLBlWf3wix4fW7F9Rk6b fO9WYJAs1PbUm9qglrXod0+OnWG7tEoXNN4Uerr8jJN17W8KbBg9heVE6rP2Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732202884; 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=38P55/NQZLynVv5qmyUWR/MhUarL88zAio0DvdpNi4c=; b=NTdAcPStshFJojDc4ANMygnImRd2pQ0o5BLFjJ3sWjor+jDtPlO/IdOAsz1P1X8hdkKpbc fS5hKTY86WiWw9XOR5q1qxyFNE+s4ThBMdIeM9end/6xaShPzC0JlaSgzGDz2BlxBj/6tk xpRBBFJx844TK/qjK8siIBVJWH76u/TRd8CK1kuEONpu7hAfFCU9Bh7OmTYBvTqT78YEVY JGagShe9GElcXqQ93amnl2ehHEx7+5/92IzwgkCB9PtPgYBy2kGyV8voSNYh7Vfs+FPNxO sAaUNFllG6WQuCxvni/D8fTdWGyJ8PQfAMbV7huuFFI7iNVKNf2g3Bo+6TmY7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732202884; a=rsa-sha256; cv=none; b=ue1c9EJ7SDvS8TxvGnhE02/sJuhj+bpJ8+ADtsHh2k/tbT7ZUp2BPpMx9dGTk00jVsuL7T Ud3yRsvOMhd7TOad2RzLlwZv0DAXWUX7KgbqTPriG0ISZ7RFkRXZI1ZrbfQtuSwrxiVzvS uCQjNqObiJjReRjDV/LlNpNhzlyY8icCoyXEc6r2sKGO4+B6Yr9WnzzZ5fatXsEHA2tjiH w3pXCB2jnupDl3N2X0gFV9bsLapmmqVGfJmoHpwi1lL7kLkIxMUii2pKL1brmjOu6k9DSY pj5gRN60eqSEKldLB/fvp3TX4uZdfG2JFFwvg6SaflwIB+nK3V7yHpprfDID7A== 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 4XvMYw3RdBzlDf; Thu, 21 Nov 2024 15:28:04 +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 4ALFS4ug023407; Thu, 21 Nov 2024 15:28:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4ALFS4XV023404; Thu, 21 Nov 2024 15:28:04 GMT (envelope-from git) Date: Thu, 21 Nov 2024 15:28:04 GMT Message-Id: <202411211528.4ALFS4XV023404@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 6b62e00da4ad - main - 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/main X-Git-Reftype: branch X-Git-Commit: 6b62e00da4ad0624fce5e6f0b5b39a6f44c8ba60 Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=6b62e00da4ad0624fce5e6f0b5b39a6f44c8ba60 commit 6b62e00da4ad0624fce5e6f0b5b39a6f44c8ba60 Author: Ed Maste AuthorDate: 2024-11-21 15:22:27 +0000 Commit: Ed Maste CommitDate: 2024-11-21 15:26:40 +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 --- 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