Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2018 21:54:35 +0000 (UTC)
From:      Mariusz Zaborski <oshogbo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r337189 - head/usr.sbin/bhyve
Message-ID:  <201808022154.w72LsZSO064920@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
 	 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808022154.w72LsZSO064920>