2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

626 Commits

Author SHA1 Message Date
Mark Andrews
c654449ccf isc__strerror 2001-08-30 04:33:20 +00:00
Mark Andrews
28fc90e6c8 #857 was incomplete, ISC_MAGIC was not being used everwhere it should have been.
'magic' was not being declared consistantly.
some #include <isc/magic.h> were missing from other include files.
NS_SERVER_VALID was not using ISC_MAGIC_VALID.
2001-08-28 03:58:29 +00:00
Mark Andrews
2c0b26955e 961. [bug] Tried to use a IPV6 feature when ISC_PLATFORM_HAVEIPV6
was not defined.  [RT #1482]
2001-08-16 07:27:48 +00:00
Mark Andrews
6f7660093e 959. [port] freebsd: ncpus via sysctlbyname(). [RT #1584] 2001-08-16 06:19:58 +00:00
Mark Andrews
8ff4edd14e silence format warning: remove unused arg. 2001-08-12 00:12:14 +00:00
Andreas Gustafsson
76c8294c81 format string bugs and improved format string checking [RT #1578] 2001-08-08 22:54:55 +00:00
Andreas Gustafsson
d2a7d7e26c all failures opening /dev/random were reported as
'I/O error'.  This was highly confusing.
2001-07-18 01:31:13 +00:00
Andreas Gustafsson
ba35e9924e added isc_file_ischdiridempotent() 2001-07-16 18:33:02 +00:00
Andreas Gustafsson
a548a3c20c added unix implementation of isc_file_absolutepath() 2001-07-16 17:26:44 +00:00
Mark Andrews
bddfe77128 936. [func] Warn when non dotted decimal quad's are used.
[RT #1084]

 935.   [bug]           inet_pton failed to reject leading zeros.
2001-07-16 03:06:53 +00:00
Andreas Gustafsson
aa0dc8d920 934. [port] Deal with systems where accept() spuriously returns
ECONNRESET.
2001-07-15 22:50:24 +00:00
Andreas Gustafsson
86a733bc74 use ISC_PLATFORM_RLIMITTYPE unconditionally, eliminating
the need for the HAVE_RLIM_T macro
2001-07-14 01:55:08 +00:00
Brian Wellington
bb5de15290 REQUIRE that parameters are not NULL in many functions [RT #1470] 2001-07-10 04:23:01 +00:00
Andreas Gustafsson
e76d4c91bf coding style 2001-07-09 21:06:30 +00:00
Mark Andrews
9d99e3fda1 924. [port] Extend pre-RFC2133 support. [RT #987] 2001-07-09 08:07:41 +00:00
Andreas Gustafsson
305795c093 finish app.h move 2001-07-06 22:12:21 +00:00
Andreas Gustafsson
675a191f43 moved <isc/app.h> to OS-independent include directory 2001-07-06 19:50:05 +00:00
Mark Andrews
2bc98b7d91 910. [port] Some pre-RFC2133 IPv6 do not define IN6ADDR_ANY_INIT. 2001-06-25 03:56:58 +00:00
David Lawrence
2d67c24744 906. [port] Separated the system independent portion of
lib/isc/unix/entropy.c into lib/isc/entropy.c
			and added lib/isc/win32/entropy.c.
2001-06-21 14:19:20 +00:00
Andreas Gustafsson
19872fdfb7 convert more socket errors to specific ISC error codes, notably ECONNRESET 2001-06-15 22:07:51 +00:00
Mark Andrews
9a6573e16b sys/select.h not sys/socket.h 2001-06-12 01:35:42 +00:00
David Lawrence
04260c5c48 895. [func] New function, isc_dir_current(), akin to POSIX's
getcwd().
2001-06-08 23:50:32 +00:00
David Lawrence
504f7802d4 893. [func] Removed isc_file_test() and added isc_file_exists()
for the basic functionality that was being added
			with isc_file_test().
2001-06-08 21:53:49 +00:00
Brian Wellington
224e84bc0e misc. stuff related to [RT #1293] 2001-06-07 00:21:53 +00:00
Brian Wellington
33e49e8fdc #include <isc/magic.h> 2001-06-05 06:34:11 +00:00
David Lawrence
92ef1a9b9d use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land 2001-06-04 19:33:39 +00:00
Brian Wellington
d0b6ece407 ISC_LANG_BEGINDECLS -> ISC_LANG_ENDDECLS 2001-06-01 01:11:28 +00:00
David Lawrence
64c7a503c2 ensure that INADDR_LOOPBACK is defined 2001-05-31 10:54:51 +00:00
David Lawrence
50b7860fff new function isc_file_test() as framework for determining various attributes
of a pathname
2001-05-31 10:53:14 +00:00
Andreas Gustafsson
740ae0808f when returning a socket error, use isc__errno2result() instead
of always returning ISC_R_UNEXPECTED
2001-05-14 23:58:33 +00:00
Andreas Gustafsson
fd5847ef09 828. [bug] The errno value from recvfrom() could be overwritten
by logging code. [RT #1293]
2001-05-14 18:20:03 +00:00
Andreas Gustafsson
c3ebcedbe5 Add isc_file_progname(), with trivial POSIX implementation, and
call it from main().  A separate WIN32 implementation will be needed.
2001-05-08 19:47:55 +00:00
Brian Wellington
d144ea1d1c isc_file_basename should return a (const char *) 2001-05-05 02:47:21 +00:00
Brian Wellington
f2194a8ba9 implement isc_file_basename() 2001-05-03 18:59:30 +00:00
Andreas Gustafsson
5e194abb5b 814. [bug] Socket objects left over from accept() failures
were incorrectly destroyed, causing corruption
                        of socket manager data structures.

 813.   [bug]           File descriptors exceeding FD_SETSIZE were handled
                        badly. [RT #1192]
2001-04-26 23:45:55 +00:00
Andreas Gustafsson
0dc1e14537 alphabetized includes 2001-04-24 18:40:07 +00:00
David Lawrence
3507ae5d59 #include <time.h> for the utimes() prototype 2001-04-12 19:46:39 +00:00
Andreas Gustafsson
7900390a52 Previous change turned invalid peer address returns from accept()
into hard errors - they should be soft errors
2001-04-10 21:48:27 +00:00
Andreas Gustafsson
a84cfaa3f2 The bug fix in socket.c 1.189 was less than ideal: if a socket
got wedged in a state where accept() always returns EBADF, the server would loop calling
internal_accept() repeatedly.  Implemented an alternative fix where a hard
error in accept() causes an event with a nonzero result code to be sent, and
the new socket object to be freed
2001-04-10 21:38:33 +00:00
Brian Wellington
f8b3c62794 804. [bug] Attempting to obtain entropy could fail in some
situations.  This would be most common on systems
			with user-space threads. [RT #1131]
2001-04-04 20:57:35 +00:00
Brian Wellington
672056d560 797. [func] Issue a warning if the 'directory' option contains
a relative path. [RT #269]
2001-03-29 02:33:48 +00:00
Andreas Gustafsson
9efa0d2ae3 do not capitalize error message strings 2001-03-24 02:18:42 +00:00
Brian Wellington
48565891e8 784. [bug] nsupdate and other programs would not quit properly
if some signals were blocked by the caller. [RT #1081]
2001-03-20 21:45:20 +00:00
Brian Wellington
dde4382b7f fix comment 2001-03-19 22:44:52 +00:00
Brian Wellington
2f02f32f04 exit(1), not exit(-1) 2001-03-14 06:31:17 +00:00
Brian Wellington
2eb3dafdcf Add the socket flag ISC_R_NORETRY, which makes the socket code treat
a soft error as a hard error on send (that is, not retry it).  It also
modifies the code calling sendmsg() to retry on EINTR.
2001-03-06 01:23:03 +00:00
Brian Wellington
303243b9d4 Add isc/unix/syslog.c with a function to convert strings to syslog facilities. 2001-03-02 19:25:19 +00:00
Andreas Gustafsson
c05eeed3c9 754. [bug] Certain failure returns from sendto() could
cause the server to retry the transmission
                        indefinitely. [RT #902]
2001-02-24 23:51:09 +00:00
Mark Andrews
70ec7dd741 fix tv_usec in isc_time_nowplusinterval() also. 2001-02-24 10:22:20 +00:00
Mark Andrews
0fd53e151b unse not sec 2001-02-24 02:53:38 +00:00