1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-30 16:51:41 +00:00
freebsd/sys
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
..
amd64 Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
arm Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
boot Some of the boot loader code only works on a ufs file system, but it 2009-05-28 08:22:36 +00:00
bsm Merge OpenBSM 1.1 from OpenBSM vendor branch to head. 2009-04-19 16:17:13 +00:00
cam Remove dead code. 2009-05-12 16:38:32 +00:00
cddl Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
compat Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
conf Migrate the Xen hypervisor clock reading routines into something 2009-05-29 13:36:06 +00:00
contrib Add hierarchical jails. A jail may further virtualize its environment 2009-05-27 14:11:23 +00:00
crypto Changed to M_NOWAIT when reallocing psc_buf in padlock_sha_update(), 2009-05-27 09:52:12 +00:00
ddb Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
dev Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
fs Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
gdb
geom Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
gnu Remove empty files and do nto try to build them. 2009-05-18 17:20:24 +00:00
i386 Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
ia64 Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
isa Rename statclock_disable variable to atrtcclock_disable that it actually is, 2009-05-03 17:47:21 +00:00
kern Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
kgssapi Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
libkern
mips pmap_enter() *must* set PG_WRITEABLE on the given page if it creates a 2009-05-23 22:05:14 +00:00
modules Add the kernel build glue for the experimental NFS subsystem that 2009-05-28 19:45:11 +00:00
net Make the rmlock(9) interface a bit more like the rwlock(9) interface: 2009-05-29 10:52:37 +00:00
net80211 Fix handling of devices w/o radiotap support: 2009-05-25 16:38:47 +00:00
netatalk Lock interface address list lock around ifaddr inserts and deletes 2009-04-19 22:01:38 +00:00
netgraph s/usb2_/usb_/ on all typedefs for the USB stack. 2009-05-29 18:46:57 +00:00
netinet Correct handling of SYN packets that are to the left of the current window of an ESTABLISHED connection. 2009-05-27 17:02:10 +00:00
netinet6 Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
netipsec Lock SPTREE before parsing it in key_spddump() 2009-05-27 09:44:14 +00:00
netipx Staticize spx_remque() now that it's only used from spx_reass.c. 2009-05-25 13:52:51 +00:00
netnatm Replace d_thread_t * with struct thread *. 2009-05-20 17:00:16 +00:00
netncp
netsmb
nfs Add cpu_flush_dcache() for use after non-DMA based I/O so that a 2009-05-18 18:37:18 +00:00
nfsclient Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
nfsserver Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
nlm Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
opencrypto Fix cryptodev UIO creation. 2009-05-23 13:23:46 +00:00
pc98 Add cpu_flush_dcache() for use after non-DMA based I/O so that a 2009-05-18 18:37:18 +00:00
pci For RTL8139C+ controllers, have controller handle padding short 2009-04-20 07:13:04 +00:00
powerpc Set PG_WRITEABLE in Book-E pmap_enter[_locked] if it creates a mapping that 2009-05-26 06:24:50 +00:00
rpc Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
security Make the rmlock(9) interface a bit more like the rwlock(9) interface: 2009-05-29 10:52:37 +00:00
sparc64 Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
sun4v Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
sys Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
tools
ufs Add hierarchical jails. A jail may further virtualize its environment 2009-05-27 14:11:23 +00:00
vm Change vm_object_page_remove() such that it clears the page's dirty bits 2009-05-28 07:26:36 +00:00
xdr MFdevbranch 192944 2009-05-28 08:18:12 +00:00
xen Don't call the watch callback if its NULL. 2009-05-28 04:03:16 +00:00
Makefile Remove the unmaintained University of Michigan NFSv4 client from 8.x 2009-05-22 12:35:12 +00:00