bhyve: set title before entering capability mode
PR: 230082 Submitted by: Yuichiro NAITO <naito.yuichiro@gmail.com>
This commit is contained in:
parent
a6589ab760
commit
dcbebe85de
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user