Commit Graph
333 Commits
Author SHA1 Message Date
David Lawrence 4acd8d2afe build fsaccess 2000-06-20 04:09:48 +00:00
David Lawrence a904de0bc8 OS-independent filesystem permissions 2000-06-20 04:06:01 +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
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 c3581e2bcc No need to destroy filesources -- they will clean up when the source is destroyed 2000-06-15 18:15:26 +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
Michael Graff b90f80957a use create/attach/detach semantics 2000-06-09 19:18:56 +00:00
Michael Graff 24629383aa kill printf 2000-06-09 18:46:17 +00:00
Michael Graff 348f351145 checkpoint 2000-06-09 18:45:51 +00:00
Michael Graff 99bec2168f checkpoint 2000-06-09 18:33:35 +00:00
Michael Graff b8feb9c67c checkpoint 2000-06-09 18:22:11 +00:00
Michael Graff 630a955711 checkpoint 2000-06-09 17:48:08 +00:00
Michael Graff b48abf6b85 snapshot 2000-06-09 17:25:41 +00:00
Mark Andrews ce1b0e505e INSIST() on sane time from the kernel. 2000-06-09 06:01:37 +00:00
Michael Graff e596c6fe81 make it build. 2000-06-09 04:06:06 +00:00
Michael Graff c6e2d36708 snapshot 2000-06-09 02:00:22 +00:00
Michael Graff 118332fc5c snapshot 2000-06-08 23:42:17 +00:00
David Lawrence 6ba9a50031 need errno.h for errno 2000-06-08 23:20:01 +00:00
Michael Graff 60a7475dd8 checkpoint 2000-06-08 22:18:53 +00:00
David Lawrence 076f3bc6ad use ANSI memset instead of bzero 2000-06-08 20:42:11 +00:00
Michael Graff 016742f7d8 add stirring functions and other bits. Snapshot. 2000-06-08 06:35:49 +00:00
Michael Graff ccc067f7d5 enable INSIST/REQUIRE() checking of bound status on sockets 2000-06-08 00:23:54 +00:00
Michael Graff 270ad529d3 snapshot 2000-06-07 22:15:55 +00:00
David Lawrence 5fda9ca75a redefined ISC_OFFSET_MAXIMUM 2000-06-06 22:10:10 +00:00
Michael Graff 527bf54995 s/u_int32_t/isc_uint32_t/g 2000-06-03 05:38:29 +00:00
Michael Graff 2f1059efb7 checkpoint 2000-06-03 02:15:08 +00:00
Michael Graff 9f732d73da put the correct (new) socket on the linked list, not the existing (listen) socket. 2000-06-02 20:09:01 +00:00
Michael Graff 0a161e9da7 use a linked list, rather than a counter, to keep track of sockets. This makes
debugging easier.  Also, while here, s/EMPTY/ISC_LIST_EMPTY/g
2000-06-02 01:27:27 +00:00
David Lawrence 87cafc5e70 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

The macro DE_CONST was added to isc/util.h to deal with a handful of very
special places where something is qualified as const but really needs to have
its const qualifier removed.

Also cleaned up a few places where variable names clashed with reserved
identifiers.  (Which mostly works fine, but strictly speaking is undefined
by the standard.)

Minor other ISC style cleanups.
2000-06-01 17:20:56 +00:00
Michael Graff d98c74e2ec set the default destination port in the view, and use it when returning addresses from the adb. 2000-06-01 00:30:58 +00:00
Michael Graff bfd98dd959 don't log ports where they don't make sense 2000-05-31 23:03:01 +00:00