Michael Graff
0eb2572d79
add isc_thread_setconcurrency()
2000-06-22 01:48:24 +00:00
Brian Wellington
386a52a5ea
Add isc/unix/os.c, which has isc_os_ncpus()
2000-06-22 01:06:35 +00:00
Michael Graff
9f95b0199c
add an argument to indicate how long to wait before draining the keyboard's input queue. This keeps people from overrunning input into the shell, etc.
2000-06-22 00:25:33 +00:00
Michael Graff
8e7e1ef75b
let the entropy source seed the pseudorandom source from _very_ bad sources like the time and the pid. Update the dispatcher to always expect success in these cases.
2000-06-21 22:12:23 +00:00
David Lawrence
49dbdb0186
update_copyrights
2000-06-21 22:05:07 +00:00
David Lawrence
8cbd9988dc
the ipv6.h header file is now platform independent
2000-06-21 20:50:55 +00:00
Andreas Gustafsson
0302c5670c
do includes in alphabetical order
2000-06-21 17:27:55 +00:00
Michael Graff
890fb60939
add keyboard API
2000-06-21 01:45:21 +00:00
Michael Graff
96e79f7ede
Fully implement callback sources, and add a test program to test it.
2000-06-21 00:04:57 +00:00
Michael Graff
3036f326e5
attach to the memory context on manager create, and detach on destroy
2000-06-21 00:01:52 +00:00
Michael Graff
35250798eb
Actually create sample sources now.
2000-06-20 19:10:19 +00:00
Michael Graff
b9672b61d8
add processing of sample sources, and of callback sources
2000-06-20 19:01:13 +00:00
Michael Graff
8470db5b12
clean up ; remove unneeded function arguments
2000-06-20 17:24:47 +00:00
David Lawrence
4acd8d2afe
build fsaccess
2000-06-20 04:09:48 +00:00
David Lawrence
1f5eafd61b
added ISC_R_NOTFILE and ISC_R_NOTDIRECTORY
2000-06-20 04:07:21 +00:00
David Lawrence
60f67141b8
added isc_fsaccess_t
2000-06-20 04:06:23 +00:00
David Lawrence
a904de0bc8
OS-independent filesystem permissions
2000-06-20 04:06:01 +00:00
Michael Graff
fbcba391fa
fix format argument
2000-06-19 22:23:05 +00:00
Michael Graff
6d81064bf7
include isc/formatcheck.h
2000-06-19 22:16:25 +00:00
Michael Graff
9550eb2dab
add formatcheck.h
2000-06-19 21:45:05 +00:00
David Lawrence
afd7f38277
style lint
2000-06-19 19:18:45 +00:00
Brian Wellington
0c7b7a19e5
Use GCC's format attribute for better error checking when possible.
2000-06-19 18:02:32 +00:00
Michael Graff
7685c082c8
remove flags from source types. It was never used, and probably shouldn't be there.
2000-06-17 01:42:21 +00:00
Michael Graff
fd316ab4f9
snapshot
2000-06-17 01:30:40 +00:00
Michael Graff
9ceb50ed04
protect isc_entropy_stats() with a lock, and use a static dumpstats() internally when a lock is already held, for debugging. Add isc_entropy_putdata() which can be used to prime the pool.
2000-06-17 00:43:11 +00:00
Michael Graff
57ded06933
fix multicast test
2000-06-16 22:35:36 +00:00
Michael Graff
29a2e0c9b5
Bring back warnings we supressed for b4 :)
2000-06-16 01:39:05 +00:00
Michael Graff
e92d6ed5e7
snapshot
2000-06-16 01:38:13 +00:00
David Lawrence
c9687c0800
HPUX said:
...
cc: "netaddr.c", line 235: warning 508: Statement can never be reached.
cc: "netaddr.c", line 238: warning 508: Statement can never be reached.
... but now it won't say that anymore. "break"s following "return"s removed.
2000-06-16 01:07:43 +00:00
Michael Graff
f64ded0ac7
set ISC_SOCKEVENTATTR_MULTICAST on packets received from a multicast address
2000-06-15 18:25:49 +00:00
Michael Graff
d80da258e3
Add isc_netaddr_ismulticast() and isc_sockaddr_ismulticast()
2000-06-15 18:23:54 +00:00
Michael Graff
d2e9c94edb
Add ISC_R_MULTICAST
2000-06-15 18:21:38 +00:00
Michael Graff
c3581e2bcc
No need to destroy filesources -- they will clean up when the source is destroyed
2000-06-15 18:15:26 +00:00
Andreas Gustafsson
06ed5a0d46
fixec typos in previous checkin
2000-06-15 17:42:16 +00:00
Andreas Gustafsson
aa79283a0d
257. [bug] The server detached the last zone manager reference
...
too early, while it could still be in use by queries.
This manifested itself as assertion failures during the
shutdown process for busy name servers (RT #133 ).
256. [func] isc_ratelimiter_t now has attach/detach semantics, and
isc_ratelimiter_shutdown guarantees that the rate
limiter is detached from its task.
255. [func] New function dns_zonemgr_attach().
2000-06-15 17:40:22 +00:00
Andreas Gustafsson
7e86b27bc0
typos in comments
2000-06-15 16:46:24 +00:00
Michael Graff
c498b4be95
initialize with at least THRESHOLD_BITS bits of entropy for pseudorandom case.
2000-06-12 22:28:05 +00:00
Michael Graff
6a3beb6f7e
don't reset initialized state to ISC_TRUE -- it is a counter now, not a boolean
2000-06-12 21:37:13 +00:00
Brian Wellington
898c0c12f0
MIN -> MAX
2000-06-12 20:49:18 +00:00
Michael Graff
8fdd9c31b9
allow blocking when priming the pseudorandom generator
2000-06-12 18:28:25 +00:00
Michael Graff
8422b3823f
require that we collect at least 20 bytes (hash size) of good randomness
...
before allowing pseudorandom operation.
2000-06-12 18:19:43 +00:00
Michael Graff
8b143acb3a
remove debugging printfs, no really
2000-06-10 01:53:02 +00:00
Michael Graff
01e8ed519e
remove debugging printfs
2000-06-10 01:52:35 +00:00
Michael Graff
f1400cb774
snapshot
2000-06-10 01:47:06 +00:00
Michael Graff
d08577ac0b
don't reset added when retrying sources, and add another printf
2000-06-10 01:09:22 +00:00
Michael Graff
a0dc53dd58
check in a debugging printf, to help track down a problem on linux
2000-06-10 00:52:56 +00:00
Michael Graff
d730157099
Try a different tactic before returning failure
2000-06-10 00:50:03 +00:00
Michael Graff
e679d0acb1
<, not <=
2000-06-10 00:35:08 +00:00
Michael Graff
f8b50c193f
snapshot
2000-06-09 22:24:22 +00:00
Michael Graff
79fdce6aff
add blocking mode, and add a flag to indicate the input is a device
2000-06-09 21:36:51 +00:00