freebsd-dev/sys/sparc64
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
..
central Hook up the generic OFW pnpinfo string method. 2009-03-19 21:14:45 +00:00
compile
conf Add nge(4), nge(4) should work on all architectures. 2009-05-21 02:19:01 +00:00
ebus - Sort device methods. 2009-03-19 20:31:55 +00:00
fhc Hook up the generic OFW pnpinfo string method. 2009-03-19 21:14:45 +00:00
include Don't conditionally define CACHE_LINE_SHIFT, as we anticipate sizing 2009-04-20 12:59:23 +00:00
isa Add device found in B100. 2009-03-19 20:57:59 +00:00
pci Bring the implementation of the pnpinfo string function more in 2009-03-19 21:12:44 +00:00
sbus Hook up the generic OFW pnpinfo string method. 2009-03-19 21:14:45 +00:00
sparc64 Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00