summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/rand.c
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2002-09-23 05:14:02 +0000
committermjacob <mjacob@FreeBSD.org>2002-09-23 05:14:02 +0000
commit2e37a126e1bacd2fb2459da5bb80c95e1124885e (patch)
treef4163c7687d0686d5b68f1aadf9a948da0dc131c /lib/libc/stdlib/rand.c
parentfaa33a651885e5fdfb349cbdddc454131448135b (diff)
downloadFreeBSD-src-2e37a126e1bacd2fb2459da5bb80c95e1124885e.zip
FreeBSD-src-2e37a126e1bacd2fb2459da5bb80c95e1124885e.tar.gz
When freeing a request, zero out the sequence number.
Define the CFG_DAGA_OFF offset as 128 bytes instead of 40- gives us a more reasonable headroom. When reading a config page, zero out the entire request area- not just the length of the request. This is because we cleverly (cheezily) return configuration data back into the allocated request area, so it's nice to make sure we start with a clean area to write on. MFC after: 1 week
Diffstat (limited to 'lib/libc/stdlib/rand.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud