svn commit: r337575 - stable/11/usr.sbin/bhyve

Mariusz Zaborski oshogbo at FreeBSD.org
Fri Aug 10 14:47:17 UTC 2018


Author: oshogbo
Date: Fri Aug 10 14:47:16 2018
New Revision: 337575
URL: https://svnweb.freebsd.org/changeset/base/337575

Log:
  MFC r337189:
  bhyve: set title before entering capability mode
  
  PR:		230082
  Submitted by:	Yuichiro NAITO <naito.yuichiro at gmail.com>

Modified:
  stable/11/usr.sbin/bhyve/bhyverun.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.sbin/bhyve/bhyverun.c
==============================================================================
--- stable/11/usr.sbin/bhyve/bhyverun.c	Fri Aug 10 14:10:22 2018	(r337574)
+++ stable/11/usr.sbin/bhyve/bhyverun.c	Fri Aug 10 14:47:16 2018	(r337575)
@@ -1026,6 +1026,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
 	bhyve_caph_cache_catpages();
 
@@ -1036,11 +1041,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