Date: Fri, 5 Jan 2024 15:55:04 GMT From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: f9b17005bf8f - main - bhyveload: fix comment style Message-ID: <202401051555.405Ft42A090334@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=f9b17005bf8f1a30e2a74a3e66c92e34aa87f9bf commit f9b17005bf8f1a30e2a74a3e66c92e34aa87f9bf Author: Kyle Evans <kevans@FreeBSD.org> AuthorDate: 2024-01-05 15:53:14 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> 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");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401051555.405Ft42A090334>