freebsd-dev/sys/fs/nfs
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
..
nfs_commonacl.c Fix the experimental nfs subsystem so that it builds with the 2009-05-26 22:21:53 +00:00
nfs_commonkrpc.c Crib the realign function out of nfs_krpc.c and add a call 2009-05-24 19:46:12 +00:00
nfs_commonport.c Add a function to the experimental nfs subsystem that tests to see 2009-05-27 15:16:56 +00:00
nfs_commonsubs.c Fix the experimental nfs subsystem so that it builds with the 2009-05-26 22:21:53 +00:00
nfs_var.h Change the experimental NFSv4 client so that it does not do 2009-05-18 21:22:03 +00:00
nfs.h Fix the comment in sys/fs/nfs/nfs.h to correctly reflect the 2009-05-22 14:53:26 +00:00
nfscl.h
nfsclstate.h
nfsdport.h Apply changes to the experimental nfs server so that it uses the security 2009-05-14 21:39:08 +00:00
nfskpiport.h
nfsm_subs.h
nfsport.h Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
nfsproto.h Move the nfsstat structure and proc/op number definitions on the 2009-05-15 19:33:59 +00:00
nfsrvcache.h
nfsrvstate.h
nfsv4_errstr.h
rpcv2.h
xdr_subs.h