rwatson 051819b847 Introduce a new lock, hostname_mtx, and use it to synchronize access
to global hostname and domainname variables.  Where necessary, copy
to or from a stack-local buffer before performing copyin() or
copyout().  A few uses, such as in cd9660 and daemon_saver, remain
under-synchronized and will require further updates.

Correct a bug in which a failed copyin() of domainname would leave
domainname potentially corrupted.

MFC after:	3 weeks
2008-07-05 13:10:10 +00:00
..
2008-04-08 09:45:49 +00:00
2007-01-14 16:34:43 +00:00
2006-12-21 13:11:06 +00:00
2006-12-31 12:39:10 +00:00
2007-01-07 19:14:06 +00:00
2006-10-15 12:51:43 +00:00
2006-12-20 20:17:35 +00:00
2008-04-08 09:45:49 +00:00