Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 08/26/2007 23:07:17
Module Name:	src
Committed By:	dyoung
Date:		Sun Aug 26 23:07:17 UTC 2007

Modified Files:
	src/sys/arch/i386/stand/lib/test: ether_bpf.c
	src/sys/arch/pc532/dev: lpt.c
	src/sys/kern: kern_uuid.c
	src/sys/net: if_ethersubr.c if_fddisubr.c
	src/sys/net/agr: if_agr.c
	src/sys/netinet6: nd6_nbr.c
	src/sys/netiso: esis.c

Log Message:
Constify: LLADDR -> CLLADDR.  I'm aiming here to make it easier to
identify sockaddr_dl abuse that remains in the kernel, especially
the potential for overwriting memory past the end of a sockaddr_dl
with, e.g., memcpy(LLADDR(), ...).

Use sockaddr_dl_setaddr() in a few places.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/sys/arch/i386/stand/lib/test/ether_bpf.c
cvs rdiff -r1.49 -r1.50 src/sys/arch/pc532/dev/lpt.c
cvs rdiff -r1.10 -r1.11 src/sys/kern/kern_uuid.c
cvs rdiff -r1.152 -r1.153 src/sys/net/if_ethersubr.c
cvs rdiff -r1.70 -r1.71 src/sys/net/if_fddisubr.c
cvs rdiff -r1.13 -r1.14 src/sys/net/agr/if_agr.c
cvs rdiff -r1.78 -r1.79 src/sys/netinet6/nd6_nbr.c
cvs rdiff -r1.47 -r1.48 src/sys/netiso/esis.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.