summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_fork.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2015-10-01 18:18:58 +0000
committerjhb <jhb@FreeBSD.org>2015-10-01 18:18:58 +0000
commite6448d3ce04113fa55305f4d9b53a92f11189be6 (patch)
tree7b3e00097680a021324da9f6bc90f55060401bdf /sys/kern/kern_fork.c
parent2d7dbe7a28c08589e8614c6cf205ff1ac6e5d115 (diff)
downloadFreeBSD-src-e6448d3ce04113fa55305f4d9b53a92f11189be6.zip
FreeBSD-src-e6448d3ce04113fa55305f4d9b53a92f11189be6.tar.gz
Rather than groveling around in a socket address structure for a socket
address's length (and then overriding it if it "looks wrong"), use the next argument to the system call to determine the length. This is more reliable since this is what the kernel depends on anyway and is also simpler.
Diffstat (limited to 'sys/kern/kern_fork.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud