svn commit: r337189 - head/usr.sbin/bhyve
Mariusz Zaborski
oshogbo at FreeBSD.org
Thu Aug 2 21:54:35 UTC 2018
Author: oshogbo
Date: Thu Aug 2 21:54:34 2018
New Revision: 337189
URL: https://svnweb.freebsd.org/changeset/base/337189
Log:
bhyve: set title before entering capability mode
PR: 230082
Submitted by: Yuichiro NAITO <naito.yuichiro at gmail.com>
Modified:
head/usr.sbin/bhyve/bhyverun.c
Modified: head/usr.sbin/bhyve/bhyverun.c
==============================================================================
--- head/usr.sbin/bhyve/bhyverun.c Thu Aug 2 21:53:47 2018 (r337188)
+++ head/usr.sbin/bhyve/bhyverun.c Thu Aug 2 21:54:34 2018 (r337189)
@@ -1112,6 +1112,11 @@ main(int argc, char *argv[])
if (lpc_bootrom())
fwctl_init();
+ /*
+ * Change the proc title to include the VM name.
+ */
+ setproctitle("%s", vmname);
+
#ifndef WITHOUT_CAPSICUM
caph_cache_catpages();
@@ -1122,11 +1127,6 @@ main(int argc, char *argv[])
errx(EX_OSERR, "cap_enter() failed");
#endif
- /*
- * Change the proc title to include the VM name.
- */
- setproctitle("%s", vmname);
-
/*
* Add CPU 0
*/
More information about the svn-src-all
mailing list