freebsd-skq/sys/nlm
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
..
nlm_advlock.c Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
nlm_prot_clnt.c Re-implement the client side of rpc.lockd in the kernel. This implementation 2008-06-26 10:21:54 +00:00
nlm_prot_impl.c Add a function to sys/nlm/nlm_prot_impl.c that returns a unique 2009-05-21 01:14:12 +00:00
nlm_prot_server.c Add a missing return statement in nlm4_unlock_msg_4_svc which prevented it 2008-08-25 09:30:27 +00:00
nlm_prot_svc.c Don't call svc_freereq() before svc_freeargs(). 2008-11-12 15:30:30 +00:00
nlm_prot_xdr.c Minor changes to improve compatibility with older FreeBSD releases. 2008-03-28 09:50:32 +00:00
nlm_prot.h Re-implement the client side of rpc.lockd in the kernel. This implementation 2008-06-26 10:21:54 +00:00
nlm.h Add a function to sys/nlm/nlm_prot_impl.c that returns a unique 2009-05-21 01:14:12 +00:00
sm_inter_xdr.c Minor changes to improve compatibility with older FreeBSD releases. 2008-03-28 09:50:32 +00:00
sm_inter.h