freebsd-skq/sys/i386
jamie 572db1408a 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
..
acpica We don't need d_thread_t for cross-branch portability here anymore. 2009-05-20 16:47:40 +00:00
bios Some minor style changes: 2009-05-20 16:29:22 +00:00
compile Clone Kip's Xen on stable/6 tree so that I can work on improving FreeBSD/amd64 2008-11-22 16:14:52 +00:00
conf Trim the default set of device hints on i386 and amd64: 2009-05-14 21:53:35 +00:00
cpufreq Remove unused variables. 2009-05-12 22:11:02 +00:00
i386 Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
ibcs2 Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
include Revert to 2-clause. 2009-05-29 13:48:42 +00:00
isa Rename statclock_disable variable to atrtcclock_disable that it actually is, 2009-05-03 17:47:21 +00:00
linux Somewhere between 2.6.23 and 2.6.27, Linux added SOCK_CLOEXEC and 2009-05-16 18:48:41 +00:00
pci Add a read-only sysctl hw.pci.mcfg to mirror the tunable by the same name. 2009-05-18 21:47:32 +00:00
svr4 Change some movl's to mov's. Newer GAS no longer accept 'movl' instructions 2009-01-31 11:37:21 +00:00
xbox Clone Kip's Xen on stable/6 tree so that I can work on improving FreeBSD/amd64 2008-11-22 16:14:52 +00:00
xen Fix the Xen TOD update when the hypervisor wall clock is nudged. 2009-05-29 13:43:21 +00:00
Makefile Clone Kip's Xen on stable/6 tree so that I can work on improving FreeBSD/amd64 2008-11-22 16:14:52 +00:00