Date: Sat, 5 Jul 2008 13:10:10 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linux linux_misc.c src/sys/compat/svr4 svr4_stat.c src/sys/dev/syscons/daemon daemon_saver.c src/sys/fs/cd9660 cd9660_rrip.c src/sys/geom/vinum geom_vinum_drive.c src/sys/i386/ibcs2 ibcs2_socksys.c src/sys/kern ... Message-ID: <200807051312.m65DCBJg018222@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2008-07-05 13:10:10 UTC FreeBSD src repository Modified files: sys/compat/linux linux_misc.c sys/compat/svr4 svr4_stat.c sys/dev/syscons/daemon daemon_saver.c sys/fs/cd9660 cd9660_rrip.c sys/geom/vinum geom_vinum_drive.c sys/i386/ibcs2 ibcs2_socksys.c sys/kern kern_jail.c kern_mib.c kern_xxx.c sys/netinet6 icmp6.c in6.c in6_ifattach.c sys/nfsclient bootp_subr.c nfs_vfsops.c sys/nlm nlm_advlock.c sys/rpc authunix_prot.c sys/sys kernel.h Log: SVN rev 180291 on 2008-07-05 13:10:10Z by rwatson 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 Revision Changes Path 1.222 +2 -0 src/sys/compat/linux/linux_misc.c 1.24 +1 -0 src/sys/compat/svr4/svr4_stat.c 1.25 +2 -0 src/sys/dev/syscons/daemon/daemon_saver.c 1.31 +2 -0 src/sys/fs/cd9660/cd9660_rrip.c 1.28 +2 -0 src/sys/geom/vinum/geom_vinum_drive.c 1.23 +7 -1 src/sys/i386/ibcs2/ibcs2_socksys.c 1.79 +4 -1 src/sys/kern/kern_jail.c 1.89 +42 -6 src/sys/kern/kern_mib.c 1.51 +17 -15 src/sys/kern/kern_xxx.c 1.85 +6 -0 src/sys/netinet6/icmp6.c 1.80 +4 -1 src/sys/netinet6/in6.c 1.43 +4 -1 src/sys/netinet6/in6_ifattach.c 1.73 +2 -0 src/sys/nfsclient/bootp_subr.c 1.207 +2 -0 src/sys/nfsclient/nfs_vfsops.c 1.2 +4 -0 src/sys/nlm/nlm_advlock.c 1.4 +4 -0 src/sys/rpc/authunix_prot.c 1.142 +1 -0 src/sys/sys/kernel.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807051312.m65DCBJg018222>