freebsd-skq/sys/sun4v
Jamie Gritton 76ca6f88da Place hostnames and similar information fully under the prison system.
The system hostname is now stored in prison0, and the global variable
"hostname" has been removed, as has the hostname_mtx mutex.  Jails may
have their own host information, or they may inherit it from the
parent/system.  The proper way to read the hostname is via
getcredhostname(), which will copy either the hostname associated with
the passed cred, or the system hostname if you pass NULL.  The system
hostname can still be accessed directly (and without locking) at
prison0.pr_host, but that should be avoided where possible.

The "similar information" referred to is domainname, hostid, and
hostuuid, which have also become prison parameters and had their
associated global variables removed.

Approved by:	bz (mentor)
2009-05-29 21:27:12 +00:00
..
cddl move CDDL licensed machine description support routine files to cddl directory 2006-11-24 01:56:46 +00:00
compile
conf Remove the uscanner(4) driver, this follows the removal of the kernel scanner 2009-03-19 20:33:26 +00:00
include Don't conditionally define CACHE_LINE_SHIFT, as we anticipate sizing 2009-04-20 12:59:23 +00:00
mdesc This is a follow-up, cleaning-up commit about recent changes involving 2007-09-11 22:54:09 +00:00
sun4v Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00