Robert Watson 4f7d1876d5 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
..
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2008-06-29 04:33:45 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2008-01-08 19:08:58 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2008-01-08 19:08:58 +00:00
2008-01-08 19:08:58 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00
2007-12-10 16:03:40 +00:00