bhyve: set title before entering capability mode
PR: 230082 Submitted by: Yuichiro NAITO <naito.yuichiro@gmail.com>
This commit is contained in:
parent
76d6892f91
commit
f7cb6cf00e
@ -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