24231e53a5c3079431f84dcddfee1e761fec7329 |
|
31-Oct-2017 |
Mark Andrews <marka@isc.org> |
4804. [port] win32: access() does not work on directories as
required by POSIX. Supply a alternative in
isc_file_isdirwritable. [RT #46394] |
5a93d3be4e0c652f455066bb764416173a00c951 |
|
14-Sep-2017 |
Mark Andrews <marka@isc.org> |
more str{n}{cat,cpy} corrections rt45981_stage2
(cherry picked from commit cb629cdeda09bb5a0be90e491b22c4b58d28f900) |
bd911976d51f102751848568ccf56592fd5f6d77 |
|
14-Sep-2017 |
Tinderbox User <tbox@isc.org> |
update copyright notice / whitespace |
7cd594b8427fe742d44295790ba367e1de22a47d |
|
13-Sep-2017 |
Evan Hunt <each@isc.org> |
[master] cleanup strcat/strcpy
4722. [cleanup] Clean up uses of strcpy() and strcat() in favor of
strlcpy() and strlcat() for safety. [RT #45981]
(cherry picked from commit 114f95089c4db619ee723e4146639700afa17b5e) |
cccfafa31131844c3b82e4c92f87f243d7ca3287 |
|
29-Jun-2016 |
Mark Andrews <marka@isc.org> |
4403. [bug] Rename variables and arguments that shadow: basename,
clone and gai_error.
(cherry picked from commit ecfa005085e9f23d95d3ca1fc23211284a919423) |
0c27b3fe77ac1d5094ba3521e8142d9e7973133f |
|
27-Jun-2016 |
Mark Andrews <marka@isc.org> |
4401. [misc] Change LICENSE to MPL 2.0. |
f89adb2c2a52b505501c3eaa2aec9fd4df6bd60a |
|
06-May-2016 |
Tinderbox User <tbox@isc.org> |
update copyright notice / whitespace |
28053af04c5121ec234c320e4c76273305816e7a |
|
05-May-2016 |
Evan Hunt <each@isc.org> |
[master] nanosecond-accurate file modification times
4361. [cleanup] Where supported, file modification times returned
by isc_file_getmodtime() are now accurate to the
nanosecond. [RT #41968] |
5b1c7ef35bb495820360182b5192689f33f1cc7d |
|
20-Nov-2015 |
Mark Andrews <marka@isc.org> |
4264. [bug] Check const of strchr/strrchr assignments match
argument's const status. [RT #41150] |
4dd41c7d5976ff6889e4fbf306036f4256af409a |
|
18-Sep-2015 |
Mark Andrews <marka@isc.org> |
4218. [bug] Potential null pointer dereference on out of memory if mmap is not supported. [RT #40777] |
af669cb4fd7ecfb67ed145b176e5e764b249573b |
|
27-Feb-2015 |
Mark Andrews <marka@isc.org> |
4074. [cleanup] Cleaned up more warnings from gcc -Wshadow. [RT #38708] |
b624001e36cf750d88a13d300915b0a8ea936d3a |
|
17-Jan-2015 |
Tinderbox User <tbox@isc.org> |
update copyright notice / whitespace |
b05a50c852608a40d1a06d6124bafb9b500c10c1 |
|
16-Jan-2015 |
Mukund Sivaraman <muks@isc.org> |
Make call to open a temporary file name safe during NZF creation (#38331)
Based on a patch sent in by Tony Finch <dot@dotat.at>.
Also fix win32 implementation of isc_file_openunique() to use a random
filename instead of using the process id. |
70bceacc808d0a20401fc3ba6d8ff79044ee3d63 |
|
21-Nov-2014 |
Mark Andrews <marka@isc.org> |
silence signed/unsigned warning |
d478dbae80bd215df3fef6cfc207b078ea285b8d |
|
06-Nov-2014 |
Tinderbox User <tbox@isc.org> |
update copyright notice |
ad9645512cc7f07c05005a5b1ad1875aa14e9cd9 |
|
05-Nov-2014 |
Evan Hunt <each@isc.org> |
[master] add print.h |
ce96d4326c872c8165b5e3a81ac5b49950c782c6 |
|
05-Nov-2014 |
Evan Hunt <each@isc.org> |
[master] new mkeys and nzf naming format
3999. [func] "mkeys" and "nzf" files are now named after
their corresponding views, unless the view name
contains characters that would be incompatible
with use in a filename (i.e., slash, backslash,
or capital letters). If a view name does contain
these characters, the files will still be named
using a cryptographic hash of the view name.
Regardless of this, if a file using the old name
format is found to exist, it will continue to be
used. [RT #37704] |
bff64bf12b58a6f80e740e94f2e42a32df18113a |
|
24-Jan-2014 |
Evan Hunt <each@isc.org> |
[master] correct copyrights and attributions
see RT #35423 for details; highlights:
- remove license clauses 3 and 4 from NetBSD code
- remove advertising clause from historical BSD code
- add openssl advertising attributions |
431a83fb29482c5170b3e4026e59bb14849a6707 |
|
10-Jan-2014 |
Tinderbox User <tbox@isc.org> |
update copyright notice |
e851ea826066ac5a5b01c2c23218faa0273a12e8 |
|
09-Jan-2014 |
Evan Hunt <each@isc.org> |
[master] replace memcpy() with memmove().
3698. [cleanup] Replaced all uses of memcpy() with memmove().
[RT #35120] |
bea3baa50cc275ede316c34db9da3292c7ca6f9b |
|
28-Feb-2013 |
Tinderbox User <tbox@isc.org> |
update copyright notice |
f79c13fed857f2b7e9e3ea6e8174424dc549616a |
|
27-Feb-2013 |
Evan Hunt <each@isc.org> |
[master] silence warning due to incorrect assert |
41bbb34bc20f189af62e7047ce42822615417f15 |
|
03-Oct-2012 |
Evan Hunt <each@isc.org> |
fix coverity issues
3388. [bug] Fixed several Coverity warnings. [RT #30996] |
05284949f73d496092c6f21f1ef9d788075fa2db |
|
26-Sep-2012 |
Evan Hunt <each@isc.org> |
handle nonexistent managed-keys-directory
3378. [bug] Handle missing 'managed-keys-directory' better.
[RT #30625] |
7e9d637131516486630290d36c4c0db544cb700e |
|
12-Sep-2012 |
Mark Andrews <marka@isc.org> |
3373. [bug] win32: open raw files in binary mode. [RT #30944] |
c514f38c801755da4dbe405139d8512873b332b0 |
|
05-Jul-2012 |
ckb <ckb@isc.org> |
Conflicts:
lib/dns/dst_parse.c
lib/isc/win32/file.c |
3b398443f0dca316ba7a6e057ba2d1b8ab4ddf70 |
|
22-Jun-2012 |
Tinderbox User <tbox@isc.org> |
update copyright notice |
5506903c9215faf42586307c2288942fd804c579 |
|
21-Jun-2012 |
Evan Hunt <each@isc.org> |
Merge rt28412b
- check for mmap() in configure
- implement isc_file_mmap() and isc_file_munmap() to do
malloc()/read() and free() when run on systems that do not
support mmap(). |
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866 |
|
21-Jun-2012 |
Tinderbox User <tbox@isc.org> |
update copyright notice |
7829fad4093f2c1985b1efb7cea00287ff015d2b |
|
20-Jun-2012 |
ckb <ckb@isc.org> |
merging fast format zone files
Conflicts:
.gitignore
bin/named/zoneconf.c
bin/tests/.gitignore
bin/tests/system/autosign/tests.sh
bin/tests/system/masterformat/clean.sh
bin/tests/system/masterformat/ns1/compile.sh
bin/tests/system/masterformat/tests.sh
configure
lib/dns/db.c
lib/dns/include/dns/db.h
lib/dns/include/dns/types.h
lib/dns/master.c
lib/dns/masterdump.c
lib/dns/rbt.c
lib/dns/rbtdb.c
lib/dns/sdb.c
lib/dns/sdlz.c
lib/dns/tests/.cvsignore
lib/dns/tests/Makefile.in
lib/dns/win32/libdns.def
lib/dns/xfrin.c
lib/dns/zone.c
lib/export/dns/Makefile.in
lib/isc/include/isc/file.h
lib/isc/unix/file.c
lib/isc/win32/file.c
lib/isccfg/namedconf.c |
5fa46bc91672ef5737aee6f99763161511566c24 |
|
11-Mar-2012 |
Tinderbox User <tbox@isc.org> |
update copyright notice |
28a8f5b0de57d269cf2845c69cb6abe18cbd3b3a |
|
07-Mar-2012 |
Mark Andrews <marka@isc.org> |
set $Id$ |
32babe43eb479d2ae8736f9985a84d1b9d95a33a |
|
04-Mar-2011 |
Scott Mann <smann@isc.org> |
Ensure that log files are plain files. (RT #22771) |
135bcc2e42a94543f11af2a4196b13552ab46d89 |
|
12-Jan-2011 |
Automatic Updater <source@isc.org> |
update copyright notice |
433e06a25cdd92d665abda3e64c2c65f4a3f9b21 |
|
10-Jan-2011 |
Mark Andrews <marka@isc.org> |
3006. [func] Allow dynamically generated TSIG keys to be preserved
across restarts of named. Initially this is for
TSIG keys generated using GSSAPI. [RT #22639] |
747abb4993e03b8812514e4476bff67f5248c717 |
|
28-Aug-2009 |
Evan Hunt <each@isc.org> |
2658. [bug] dnssec-settime and dnssec-revoke didn't process
key file paths correctly. [RT #20078] |
351b62535d4c4f89883bfdba025999dd32490266 |
|
10-Jun-2009 |
Evan Hunt <each@isc.org> |
2609. [func] Simplify the configuration of dynamic zones:
- add ddns-confgen command to generate
configuration text for named.conf
- add zone option "ddns-autoconf yes;", which
causes named to generate a TSIG session key
and allow updates to the zone using that key
- add '-l' (localhost) option to nsupdate, which
causes nsupdate to connect to a locally-running
named process using the session key generated
by named
[RT #19284] |
bf33eb0b522801792a6663b0360bc94b9e9b77c2 |
|
17-Feb-2009 |
Automatic Updater <source@isc.org> |
update copyright notice |
e502b133d630bda0ee64c1e2ce6729d96750d8ab |
|
16-Feb-2009 |
Mark Andrews <marka@isc.org> |
2556. [cleanup] PCI compliance:
* new libisc log module file
* isc_dir_chroot() now also changes the working
directory to "/".
* additional INSISTs
* additional logging when files can't be removed. |
70e5a7403f0e0a3bd292b8287c5fed5772c15270 |
|
20-Jun-2007 |
Automatic Updater <source@isc.org> |
update copyright notice |
ec5347e2c775f027573ce5648b910361aa926c01 |
|
19-Jun-2007 |
Automatic Updater <source@isc.org> |
update copyright notice |
69fe9aaafdd6a141610e86a777d325db75422070 |
|
29-Apr-2005 |
Mark Andrews <marka@isc.org> |
update copyright notice |
ab023a65562e62b85a824509d829b6fad87e00b1 |
|
27-Apr-2005 |
Rob Austein <sra@isc.org> |
1851. [doc] Doxygen comment markup. [RT #11398] |
1676408640d8283c9f17eec0b183e1302ea7fd70 |
|
18-Mar-2004 |
Mark Andrews <marka@isc.org> |
pullup silence compiler fixes
ifconfig.sh for Solaris 9
README updates |
dafcb997e390efa4423883dafd100c975c4095d6 |
|
05-Mar-2004 |
Mark Andrews <marka@isc.org> |
update copyright notice |
f93fad20d476484fc7a2ea4b38a26e6f902115b4 |
|
27-May-2002 |
Mark Andrews <marka@isc.org> |
check location before dereference |
a2734fa74aecefc958622b01467398985041cec1 |
|
22-May-2002 |
Mark Andrews <marka@isc.org> |
isc_file_renameunique() no longer used mkstemp(). |
34e5a08809dda3276252269ebddd1616e62081a2 |
|
09-May-2002 |
Mark Andrews <marka@isc.org> |
1287. [func] isc_file_openunique() now creates file using mode
0666 rather than 0600. |
1f1d36a87b65186d9f89aac7f456ab1fd2a39ef6 |
|
30-Nov-2001 |
Andreas Gustafsson <source@isc.org> |
Check return values or cast them to (void), as required by the coding
standards; add exceptions to the coding standards for cases where this is
not desirable |
1299e93989afbe1fee0739811b05fd1641ea14ae |
|
20-Sep-2001 |
Andreas Gustafsson <source@isc.org> |
1011. [cleanup] Removed isc_dir_current(). |
faa96aba6d3318de03ab994f642975ebe8d2d301 |
|
30-Aug-2001 |
Andreas Gustafsson <source@isc.org> |
removed empty line |
59251c9e9c2135bdb64ccf970f0a769a0bbe30ab |
|
30-Aug-2001 |
Mark Andrews <marka@isc.org> |
isc_file_truncate() |
ba35e9924e95c45f8ae536f453b9064740e49841 |
|
16-Jul-2001 |
Andreas Gustafsson <source@isc.org> |
added isc_file_ischdiridempotent() |
a548a3c20cf520a61b7e6c6332de51bae2314e45 |
|
16-Jul-2001 |
Andreas Gustafsson <source@isc.org> |
added unix implementation of isc_file_absolutepath() |
bb5de152900ed45191b73116a5d18dbb74a0ef92 |
|
10-Jul-2001 |
Brian Wellington <source@isc.org> |
REQUIRE that parameters are not NULL in many functions [RT #1470] |
504f7802d4c9b43db4820f496c4d00e078effa18 |
|
08-Jun-2001 |
David Lawrence <source@isc.org> |
893. [func] Removed isc_file_test() and added isc_file_exists()
for the basic functionality that was being added
with isc_file_test(). |
50b7860fff04e18d13be24899829da467da4132c |
|
31-May-2001 |
David Lawrence <source@isc.org> |
new function isc_file_test() as framework for determining various attributes
of a pathname |
c3ebcedbe5b1510289957ec187d6b062c27b142f |
|
08-May-2001 |
Andreas Gustafsson <source@isc.org> |
Add isc_file_progname(), with trivial POSIX implementation, and
call it from main(). A separate WIN32 implementation will be needed. |
d144ea1d1c08204c3a86ca0ebbc6d203a8270260 |
|
05-May-2001 |
Brian Wellington <source@isc.org> |
isc_file_basename should return a (const char *) |
f2194a8ba995997dfdc1f863d1a6ee48f0fb382a |
|
03-May-2001 |
Brian Wellington <source@isc.org> |
implement isc_file_basename() |
3507ae5d59e8574970bbe9246287209418d8351b |
|
12-Apr-2001 |
David Lawrence <source@isc.org> |
#include <time.h> for the utimes() prototype |
672056d560d973cac1c0d02f087e059eef8f948f |
|
29-Mar-2001 |
Brian Wellington <source@isc.org> |
797. [func] Issue a warning if the 'directory' option contains
a relative path. [RT #269] |
499b34cea04a46823d003d4c0520c8b03e8513cb |
|
09-Jan-2001 |
Brian Wellington <source@isc.org> |
copyright update |
090432605e41a36b7a2c224b1c9dea2ecffa8d34 |
|
27-Dec-2000 |
David Lawrence <source@isc.org> |
isc_file_renameunique() set its result incorrectly if renaming failed; it used
the value of errno from an unlink() call, not from the rename() call. |
b28d2a3d7b00bc9a0b0a5a894f345a028f3416de |
|
21-Oct-2000 |
Andreas Gustafsson <source@isc.org> |
the established alternate spelling of 'template' is
'templet', not 'templat' |
1dc5c713eb26f4fe7e434ccc8ea4eb56f25f58cd |
|
19-Oct-2000 |
Brian Wellington <source@isc.org> |
removed unused variable |
3030ea490caca7a9747e8e7df0e5e859f94306a9 |
|
07-Oct-2000 |
Mark Andrews <marka@isc.org> |
If the rename failed in isc_file_renameunique() unlink the temporary file. |
9282d220f4e731fe72372ca06bc6a4f0c1aaaa35 |
|
03-Oct-2000 |
Mark Andrews <marka@isc.org> |
New functions isc_file_template(), isc_file_renameunique().
isc_file_template() allows the caller to specify the prefix unlike
isc_file_mktemplate(). The later is now written using isc_file_template(). |
b7e031d5173476224027407d8e23eaa7557fc396 |
|
08-Sep-2000 |
Andreas Gustafsson <source@isc.org> |
435. [bug] dns_zone_dump() overwrote existing zone files
rather than writing to a temporary file and
renaming. This could lead to empty or partial
zone files being left around in certain error
conditions involving the initial transfer of a
slave zone, interfering with subsequent server
startup. [RT #282] |
7ec4367f3d578170a9495ff3c851b248c1656f08 |
|
08-Sep-2000 |
Andreas Gustafsson <source@isc.org> |
434. [func] New function isc_file_isabsolute(). |
40f53fa8d9c6a4fc38c0014495e7a42b08f52481 |
|
01-Aug-2000 |
David Lawrence <source@isc.org> |
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace. |
15a44745412679c30a6d022733925af70a38b715 |
|
27-Jul-2000 |
David Lawrence <source@isc.org> |
word wrap copyright notice at column 70 |
2298aec5a165b22f893559fad7ede008be74c17c |
|
26-Jun-2000 |
David Lawrence <source@isc.org> |
test for high bit being set in isc_file_settime needed to use an
unsigned long long constant to work correctly on platforms that have
a 64 bit timeval.tv_sec and 32 bit ints. |
9c3531d72aeaad6c5f01efe6a1c82023e1379e4d |
|
23-Jun-2000 |
David Lawrence <source@isc.org> |
add RCS id string |
826c281a05cb89c9c28621937dc83fa676a5b207 |
|
24-May-2000 |
David Lawrence <source@isc.org> |
Solaris 5.6 gives this warning about a left shift to set the high bit:
warning: integer overflow detected: op "<<"
unless the operand is unsigned/ |
77685300d90f3072f2b8249f4237a7e4c574ec0f |
|
24-May-2000 |
David Lawrence <source@isc.org> |
cast isc_time_seconds to long when assigning to a timeval.tv_sec, and explain
why this is an ok thing to do. shuts up the irix compiler. |
bc12a0c0d031e5d6b2e004e3b0f4b3c93534cdc7 |
|
18-May-2000 |
David Lawrence <source@isc.org> |
Ensure proper range of isc_time_seconds() assigning to timeval.tv_sec,
and cast isc_time_nanoseconds to shut up the IRIX compiler. |
a823dfa6638d57d20d023910f2e98b4efe80fd16 |
|
16-May-2000 |
Brian Wellington <source@isc.org> |
sys/time.h needed for struct timeval |
5273184ae1ae4fbb30c54d59c6c40ab2c68312af |
|
16-May-2000 |
Mark Andrews <marka@isc.org> |
Add isc_file_settime() set access and modification times. |
d8e34837cd6c88c42b3ecdb9107a43ecf8252e79 |
|
11-May-2000 |
David Lawrence <source@isc.org> |
isc_file_{stdiofunc} -> isc_stdio_* |
0c73b546ecfa49b9d1c8fdb9a48d4cd62176124a |
|
11-May-2000 |
David Lawrence <source@isc.org> |
Moved posix_result from file.c to errno2result.[ch], for use by multiple
source files. We may want to generalize this as part of the libisc API,
but with a better name. |
996f4a8bc34cb0203ce6a40ff82bca8bf32423cc |
|
10-May-2000 |
Andreas Gustafsson <source@isc.org> |
164. [cleanup] Added functions isc_file_fopen(), isc_file_fclose(),
isc_file_fseek(), isc_file_fread(), isc_file_fwrite(),
isc_file_fflush(), isc_file_ffsync(), isc_file_remove()
to encapsulate nonportable usage of errno and fflush(). |
0c5a46afed34cadcfd0d7801c8a32dfe0ac6432a |
|
08-May-2000 |
David Lawrence <source@isc.org> |
comment about why unistd.h is required |
ab7c67129234bbaa03c2529729d8da746a453a49 |
|
08-May-2000 |
Michael Graff <mgraff@isc.org> |
add <stdlib.h> for mkstemp on NetBSD |
1a69a1a78cfaa86f3b68bbc965232b7876d4da2a |
|
08-May-2000 |
David Lawrence <source@isc.org> |
Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.
ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
/*
* This is a comment.
*/ |
6b7257f756eb0530cdf54df9a7fab8d51a5001c3 |
|
28-Apr-2000 |
David Lawrence <source@isc.org> |
include config.h |
364a82f7c25b62967678027043425201a5e5171a |
|
28-Apr-2000 |
Bob Halley <source@isc.org> |
include isc/util.h |
a890fbefa3a143ff0513854c895e0f04c8d72bd5 |
|
26-Apr-2000 |
David Lawrence <source@isc.org> |
C++ reserves the word "template"; use "templet" as the parameter to
isc_file_openunique |
2c34cafc1c7c5176c3f34dc80ba889c54fdec681 |
|
26-Apr-2000 |
David Lawrence <source@isc.org> |
include <isc/time.h> |
8b7304a34c751e519ede7d00b77f1f962c0a37e4 |
|
24-Apr-2000 |
David Lawrence <source@isc.org> |
73. [func] New "file" API in libisc, including new function
isc_file_getmodtime, isc_mktemplate renamed to
isc_file_mktemplate and isc_ufile renamed to
isc_file_openunique. By no means an exhaustive API,
it is just what's needed for now. |