freebsd_amp_hwpstate/sys
Christian S.J. Peron 3581cc66bb Zero the un-used portions of the struct sockaddr data before sending
it back to userspace, so it does not break bind(2) on raw sockets in jails.

Currently some processes, like traceroute(8) construct a routing request
to determine its source address based on the destination. This sockaddr
data is fed directly to bind(2). When bind calls ifa_ifwithaddr(9) to
make sure the address exists on the interface, the comparison will
fail causing bind(2) to return EADDRNOTAVAIL if the data wasnt zero'ed
before initialization.

Approved by:	bmilekic (mentor)
2004-05-10 15:07:23 +00:00
..
alpha
amd64
arm
boot
cam
coda
compat
conf
contrib
crypto
ddb
dev
fs
geom
gnu
i4b
i386
ia64
isa
isofs/cd9660
kern
libkern
modules
net
net80211
netatalk
netatm
netgraph
netinet
netinet6
netipsec
netipx
netkey
netnatm
netncp
netsmb
nfs
nfs4client
nfsclient
nfsserver
opencrypto
pc98
pccard
pci
posix4
powerpc
rpc
security
sparc64
sys
tools
ufs
vm
Makefile