freebsd-skq/sys/amd64
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
..
acpica Reduce code duplcations from r190620. While I am here, tweak a comment. 2009-04-02 01:46:57 +00:00
amd64 Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
compile
conf Trim the default set of device hints on i386 and amd64: 2009-05-14 21:53:35 +00:00
ia32 Save and restore segment registers on amd64 when entering and leaving 2009-04-01 13:09:26 +00:00
include Bump CACHE_LINE_SIZE to 128 for x86. Intel's manuals explicitly recommend 2009-05-18 19:33:59 +00:00
isa Rename statclock_disable variable to atrtcclock_disable that it actually is, 2009-05-03 17:47:21 +00:00
linux32 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
Makefile Adjustments to make a tags file a bit more suitable to amd64. 2008-12-01 14:15:10 +00:00