From nobody Fri Jan 05 15:55:04 2024 X-Original-To: dev-commits-src-main@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 4T67MD4KK4z559kq; Fri, 5 Jan 2024 15:55: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T67MD34F7z4sNr; Fri, 5 Jan 2024 15:55:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704470104; 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=Akq7ibO9UxuYyrZfb5Ljix5kAkGS9MZPY+wHxU1PWnY=; b=KceQxJjwbVAsxObBsM0Ub124YYrPgNW9JxyUWSA2lFBjLuL1ysByMGeAJb9mpBxxwljXsR TdZ1cKb0dbADHaRwZ0dP4oGQJxnngJNsjeMsjIQluhpKwqdws+PAGSQqSXVlK/4FVrjnuM UCiG1NSeH1tVD73PVHQcmhD48IpypsuVIcU1uSqxNu1o4+Bm0nNtTko+HWTqFnxCgmWk6j ugaQnVrLk5WXSNYo8QMUFByppzvGgVUeJ/QGrhh0XydVCl7VL0Qd+pfFH47YBQYVjNyMGM qhnNt3r741wX1JgXt5aw4FMePVYZa/n9nPO5SSkS089IAggAAkFpYnrMj2YDwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704470104; 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=Akq7ibO9UxuYyrZfb5Ljix5kAkGS9MZPY+wHxU1PWnY=; b=ZhXe8V2mgOuSBCjg8iGuYT/kPfKsbWsKiJhUohJaR4jahaIaKoYAF24oibwBa8ml//178E YQQTVFwrge/qNHStgQefJlNO7lRPFEMSKgxRqGyLtBLBumZits8ApE6mTm6kTrW4zX6y2+ GM84QxbRvDE8R5WhARwTZnIGFlOdbe2MzX0r2YGr+MYC3DbWsedxQMu6RGYIdv4m+uleN+ wHgyfLdX8Qxfji42DPN7Yakt1lnWuwgKekG/g5mMolv2TG2l4h6uijLg3xWt/Op6s9coux eyMoAqXBb02z8A970iAe9abDAmDvL7tLxaD7V+eA+qtYgkF7rPz0Big2gLT2Mg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704470104; a=rsa-sha256; cv=none; b=Cb11bAAKWyhqiBoXOyqS/gNxM3EM46FDb9ZKSxuBBt7HBtFh/mNU0hzlbaIkHXlAg1jQCa tdUyLGp8A/N4L9Ui96qLmgHxyzVAm7Qd96MSZipbnU2AuBz/ZT38JT0eX/SlqCcMzvjzWH UQPsU6yPq/8HoM0y/OR+rISIUi7Djqf/qvsd3TjpA1AeddRglMgCPGEBjlre2BrW1m63Ew ZnW6du3v9+gaJdy3TvhF5m5/iquU/P1Vv6mF+xnkAOWr6cmubaifrd0D2QU1ulIm4/sDhK 7D7Aw5jbWnzfcB7xE7H8RZJb6HR8i33UjVungurYtW89UCzycruhZjZjdDR6PQ== 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 4T67MD28J4z13s3; Fri, 5 Jan 2024 15:55:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 405Ft4SN090337; Fri, 5 Jan 2024 15:55:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 405Ft42A090334; Fri, 5 Jan 2024 15:55:04 GMT (envelope-from git) Date: Fri, 5 Jan 2024 15:55:04 GMT Message-Id: <202401051555.405Ft42A090334@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kyle Evans Subject: git: f9b17005bf8f - main - bhyveload: fix comment style List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kevans X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f9b17005bf8f1a30e2a74a3e66c92e34aa87f9bf Auto-Submitted: auto-generated The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=f9b17005bf8f1a30e2a74a3e66c92e34aa87f9bf commit f9b17005bf8f1a30e2a74a3e66c92e34aa87f9bf Author: Kyle Evans AuthorDate: 2024-01-05 15:53:14 +0000 Commit: Kyle Evans CommitDate: 2024-01-05 15:54:46 +0000 bhyveload: fix comment style Reported by: jrtc27 Fixes: c067be72e83 ("bhyveload: limit rights on the dirfds we create") --- usr.sbin/bhyveload/bhyveload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bhyveload/bhyveload.c b/usr.sbin/bhyveload/bhyveload.c index 37338e77d621..4f16f58bfc9f 100644 --- a/usr.sbin/bhyveload/bhyveload.c +++ b/usr.sbin/bhyveload/bhyveload.c @@ -891,7 +891,7 @@ main(int argc, char** argv) * bootfd will be used to do a lookup of our loader and do an * fdlopen(3) on the loader; thus, we need mmap(2) in addition * to the more usual lookup rights. - */ + */ if (caph_rights_limit(bootfd, cap_rights_init(&rights, CAP_FSTATAT, CAP_LOOKUP, CAP_MMAP_RX, CAP_READ)) < 0) { perror("caph_rights_limit");