From 1bbf06e94150d938ea45f0b8ed237fadad7efbc7 Mon Sep 17 00:00:00 2001 From: Ondřej Surý Date: Wed, 14 Nov 2012 14:03:41 +0100 Subject: Imported Upstream version 1.1.2~rc1 --- src/Makefile.am | 0 src/Makefile.in | 0 src/common/LICENSE.txt | 0 src/common/acl.c | 0 src/common/acl.h | 0 src/common/base32.c | 0 src/common/base32.h | 0 src/common/base32hex.c | 0 src/common/base32hex.h | 0 src/common/base64.c | 0 src/common/base64.h | 0 src/common/crc.h | 0 src/common/dSFMT-params.h | 0 src/common/dSFMT-params521.h | 0 src/common/dSFMT.c | 0 src/common/dSFMT.h | 0 src/common/errcode.c | 0 src/common/errcode.h | 0 src/common/errors.c | 0 src/common/errors.h | 0 src/common/evqueue.c | 0 src/common/evqueue.h | 0 src/common/evsched.c | 25 +++++---- src/common/evsched.h | 0 src/common/fdset.c | 0 src/common/fdset.h | 0 src/common/fdset_epoll.c | 0 src/common/fdset_epoll.h | 0 src/common/fdset_kqueue.c | 0 src/common/fdset_kqueue.h | 0 src/common/fdset_poll.c | 0 src/common/fdset_poll.h | 0 src/common/general-tree.c | 0 src/common/general-tree.h | 0 src/common/heap.c | 56 +++++++++------------ src/common/heap.h | 11 ++-- src/common/latency.c | 0 src/common/latency.h | 0 src/common/libtap/README | 0 src/common/libtap/tap.c | 0 src/common/libtap/tap.h | 0 src/common/libtap/tap_unit.h | 0 src/common/lists.c | 0 src/common/lists.h | 0 src/common/log.c | 0 src/common/log.h | 0 src/common/mempattern.c | 0 src/common/mempattern.h | 0 src/common/modified_tree.h | 0 src/common/print.c | 0 src/common/print.h | 0 src/common/prng.c | 0 src/common/prng.h | 0 src/common/ref.c | 0 src/common/ref.h | 0 src/common/skip-list.c | 0 src/common/skip-list.h | 0 src/common/slab/alloc-common.h | 0 src/common/slab/slab.c | 0 src/common/slab/slab.h | 0 src/common/sockaddr.c | 0 src/common/sockaddr.h | 0 src/common/tree.h | 0 src/config.h.in | 0 src/knot.conf.5 | 2 +- src/knot.service | 0 src/knot.spec | 0 src/knot.sysconfig | 0 src/knot/common.h | 0 src/knot/conf/cf-lex.l | 0 src/knot/conf/cf-parse.y | 17 ++++++- src/knot/conf/conf.c | 34 ++++++++++++- src/knot/conf/conf.h | 4 +- src/knot/conf/logconf.c | 0 src/knot/conf/logconf.h | 0 src/knot/ctl/knotc_main.c | 0 src/knot/ctl/process.c | 0 src/knot/ctl/process.h | 0 src/knot/main.c | 0 src/knot/other/debug.h | 0 src/knot/server/dthreads.c | 1 + src/knot/server/dthreads.h | 0 src/knot/server/journal.c | 2 +- src/knot/server/journal.h | 0 src/knot/server/notify.c | 0 src/knot/server/notify.h | 0 src/knot/server/server.c | 0 src/knot/server/server.h | 0 src/knot/server/socket.c | 0 src/knot/server/socket.h | 0 src/knot/server/tcp-handler.c | 0 src/knot/server/tcp-handler.h | 0 src/knot/server/udp-handler.c | 0 src/knot/server/udp-handler.h | 0 src/knot/server/xfr-handler.c | 0 src/knot/server/xfr-handler.h | 0 src/knot/server/zones.c | 1 + src/knot/server/zones.h | 0 src/knot/stat/gatherer.c | 0 src/knot/stat/gatherer.h | 0 src/knot/stat/stat-common.h | 0 src/knot/stat/stat.c | 0 src/knot/stat/stat.h | 0 src/knot/zone/semantic-check.c | 0 src/knot/zone/semantic-check.h | 0 src/knot/zone/zone-dump-text.c | 0 src/knot/zone/zone-dump-text.h | 0 src/knot/zone/zone-dump.c | 0 src/knot/zone/zone-dump.h | 0 src/knot/zone/zone-load.c | 0 src/knot/zone/zone-load.h | 0 src/knotc.8 | 2 +- src/knotd.8 | 2 +- src/libknot/common.h | 0 src/libknot/consts.h | 0 src/libknot/dname.c | 0 src/libknot/dname.h | 0 src/libknot/edns.c | 0 src/libknot/edns.h | 0 src/libknot/hash/cuckoo-hash-table.c | 0 src/libknot/hash/cuckoo-hash-table.h | 0 src/libknot/hash/hash-functions.c | 0 src/libknot/hash/hash-functions.h | 0 src/libknot/hash/universal-system.c | 0 src/libknot/hash/universal-system.h | 0 src/libknot/libknot.h | 0 src/libknot/nameserver/name-server.c | 0 src/libknot/nameserver/name-server.h | 0 src/libknot/nsec3.c | 0 src/libknot/nsec3.h | 0 src/libknot/packet/packet.c | 0 src/libknot/packet/packet.h | 0 src/libknot/packet/query.c | 0 src/libknot/packet/query.h | 0 src/libknot/packet/response.c | 0 src/libknot/packet/response.h | 0 src/libknot/rdata.c | 0 src/libknot/rdata.h | 0 src/libknot/rrset.c | 0 src/libknot/rrset.h | 0 src/libknot/tsig-op.c | 0 src/libknot/tsig-op.h | 0 src/libknot/tsig.c | 0 src/libknot/tsig.h | 0 src/libknot/updates/changesets.c | 0 src/libknot/updates/changesets.h | 0 src/libknot/updates/ddns.c | 0 src/libknot/updates/ddns.h | 0 src/libknot/updates/xfr-in.c | 0 src/libknot/updates/xfr-in.h | 0 src/libknot/util/debug.c | 0 src/libknot/util/debug.h | 0 src/libknot/util/descriptor.c | 0 src/libknot/util/descriptor.h | 0 src/libknot/util/tolower.c | 0 src/libknot/util/tolower.h | 0 src/libknot/util/utils.c | 0 src/libknot/util/utils.h | 0 src/libknot/util/wire.h | 0 src/libknot/zone/dname-table.c | 0 src/libknot/zone/dname-table.h | 0 src/libknot/zone/node.c | 0 src/libknot/zone/node.h | 0 src/libknot/zone/zone-contents.c | 0 src/libknot/zone/zone-contents.h | 0 src/libknot/zone/zone-diff.c | 0 src/libknot/zone/zone-diff.h | 0 src/libknot/zone/zone-tree.c | 0 src/libknot/zone/zone-tree.h | 0 src/libknot/zone/zone.c | 0 src/libknot/zone/zone.h | 0 src/libknot/zone/zonedb.c | 0 src/libknot/zone/zonedb.h | 0 src/tests/README | 0 src/tests/common/acl_tests.c | 0 src/tests/common/acl_tests.h | 0 src/tests/common/events_tests.c | 0 src/tests/common/events_tests.h | 0 src/tests/common/fdset_tests.c | 0 src/tests/common/fdset_tests.h | 0 src/tests/common/skiplist_tests.c | 0 src/tests/common/skiplist_tests.h | 0 src/tests/common/slab_tests.c | 0 src/tests/common/slab_tests.h | 0 src/tests/files/sample_conf | 0 src/tests/knot/conf_tests.c | 0 src/tests/knot/conf_tests.h | 0 src/tests/knot/dthreads_tests.c | 0 src/tests/knot/dthreads_tests.h | 0 src/tests/knot/journal_tests.c | 0 src/tests/knot/journal_tests.h | 0 src/tests/knot/server_tests.c | 0 src/tests/knot/server_tests.h | 0 src/tests/libknot/files/parsed_data | Bin src/tests/libknot/files/parsed_data_queries | Bin src/tests/libknot/files/raw_data | Bin src/tests/libknot/files/raw_data_queries | Bin src/tests/libknot/libknot/cuckoo_tests.c | 0 src/tests/libknot/libknot/cuckoo_tests.h | 0 src/tests/libknot/libknot/dname_table_tests.c | 0 src/tests/libknot/libknot/dname_table_tests.h | 0 src/tests/libknot/libknot/dname_tests.c | 0 src/tests/libknot/libknot/dname_tests.h | 0 src/tests/libknot/libknot/edns_tests.c | 0 src/tests/libknot/libknot/edns_tests.h | 0 src/tests/libknot/libknot/node_tests.c | 0 src/tests/libknot/libknot/node_tests.h | 0 src/tests/libknot/libknot/nsec3_tests.c | 0 src/tests/libknot/libknot/nsec3_tests.h | 0 src/tests/libknot/libknot/packet_tests.c | 0 src/tests/libknot/libknot/packet_tests.h | 0 src/tests/libknot/libknot/query_tests.c | 0 src/tests/libknot/libknot/query_tests.h | 0 src/tests/libknot/libknot/rdata_tests.c | 0 src/tests/libknot/libknot/rdata_tests.h | 0 src/tests/libknot/libknot/response_tests.c | 0 src/tests/libknot/libknot/response_tests.h | 0 src/tests/libknot/libknot/rrset_tests.c | 0 src/tests/libknot/libknot/rrset_tests.h | 0 src/tests/libknot/libknot/tsig_tests.c | 0 src/tests/libknot/libknot/tsig_tests.h | 0 src/tests/libknot/libknot/zone_tests.c | 0 src/tests/libknot/libknot/zone_tests.h | 0 src/tests/libknot/libknot/zone_tree_tests.c | 0 src/tests/libknot/libknot/zone_tree_tests.h | 0 src/tests/libknot/libknot/zonedb_tests.c | 0 src/tests/libknot/libknot/zonedb_tests.h | 0 src/tests/libknot/realdata/files/parsed_data | Bin .../libknot/realdata/files/parsed_data_queries | Bin src/tests/libknot/realdata/files/raw_data | Bin src/tests/libknot/realdata/files/raw_data_queries | Bin .../realdata/libknot/dname_tests_realdata.c | 0 .../realdata/libknot/dname_tests_realdata.h | 0 .../libknot/realdata/libknot/edns_tests_realdata.c | 0 .../libknot/realdata/libknot/edns_tests_realdata.h | 0 .../libknot/realdata/libknot/node_tests_realdata.c | 0 .../libknot/realdata/libknot/node_tests_realdata.h | 0 .../realdata/libknot/packet_tests_realdata.c | 0 .../realdata/libknot/packet_tests_realdata.h | 0 .../realdata/libknot/rdata_tests_realdata.c | 0 .../realdata/libknot/rdata_tests_realdata.h | 0 .../realdata/libknot/response_tests_realdata.c | 0 .../realdata/libknot/response_tests_realdata.h | 0 .../realdata/libknot/rrset_tests_realdata.c | 0 .../realdata/libknot/rrset_tests_realdata.h | 0 .../libknot/realdata/libknot/zone_tests_realdata.c | 0 .../libknot/realdata/libknot/zone_tests_realdata.h | 0 .../realdata/libknot/zonedb_tests_realdata.c | 0 .../realdata/libknot/zonedb_tests_realdata.h | 0 .../realdata/libknot_tests_loader_realdata.c | 0 .../realdata/libknot_tests_loader_realdata.h | 0 .../libknot/realdata/unittests_libknot_realdata.c | 0 src/tests/libknot/unittests_libknot.c | 0 src/tests/unittests_main.c | 0 src/tests/xfr_tests.c | 0 src/tests/xfr_tests.h | 0 src/zcompile/LICENSE | 0 src/zcompile/parser-descriptor.c | 0 src/zcompile/parser-descriptor.h | 0 src/zcompile/parser-util.c | 0 src/zcompile/parser-util.h | 0 src/zcompile/tests/unittests_zp_main.c | 0 src/zcompile/tests/zcompile_tests.c | 0 src/zcompile/zcompile-error.c | 0 src/zcompile/zcompile-error.h | 0 src/zcompile/zcompile.c | 0 src/zcompile/zcompile.h | 0 src/zcompile/zcompile_main.c | 0 src/zcompile/zlexer.l | 0 src/zcompile/zparser.y | 0 270 files changed, 102 insertions(+), 55 deletions(-) mode change 100644 => 100755 src/Makefile.am mode change 100644 => 100755 src/Makefile.in mode change 100644 => 100755 src/common/LICENSE.txt mode change 100644 => 100755 src/common/acl.c mode change 100644 => 100755 src/common/acl.h mode change 100644 => 100755 src/common/base32.c mode change 100644 => 100755 src/common/base32.h mode change 100644 => 100755 src/common/base32hex.c mode change 100644 => 100755 src/common/base32hex.h mode change 100644 => 100755 src/common/base64.c mode change 100644 => 100755 src/common/base64.h mode change 100644 => 100755 src/common/crc.h mode change 100644 => 100755 src/common/dSFMT-params.h mode change 100644 => 100755 src/common/dSFMT-params521.h mode change 100644 => 100755 src/common/dSFMT.c mode change 100644 => 100755 src/common/dSFMT.h mode change 100644 => 100755 src/common/errcode.c mode change 100644 => 100755 src/common/errcode.h mode change 100644 => 100755 src/common/errors.c mode change 100644 => 100755 src/common/errors.h mode change 100644 => 100755 src/common/evqueue.c mode change 100644 => 100755 src/common/evqueue.h mode change 100644 => 100755 src/common/evsched.c mode change 100644 => 100755 src/common/evsched.h mode change 100644 => 100755 src/common/fdset.c mode change 100644 => 100755 src/common/fdset.h mode change 100644 => 100755 src/common/fdset_epoll.c mode change 100644 => 100755 src/common/fdset_epoll.h mode change 100644 => 100755 src/common/fdset_kqueue.c mode change 100644 => 100755 src/common/fdset_kqueue.h mode change 100644 => 100755 src/common/fdset_poll.c mode change 100644 => 100755 src/common/fdset_poll.h mode change 100644 => 100755 src/common/general-tree.c mode change 100644 => 100755 src/common/general-tree.h mode change 100644 => 100755 src/common/heap.c mode change 100644 => 100755 src/common/heap.h mode change 100644 => 100755 src/common/latency.c mode change 100644 => 100755 src/common/latency.h mode change 100644 => 100755 src/common/libtap/README mode change 100644 => 100755 src/common/libtap/tap.c mode change 100644 => 100755 src/common/libtap/tap.h mode change 100644 => 100755 src/common/libtap/tap_unit.h mode change 100644 => 100755 src/common/lists.c mode change 100644 => 100755 src/common/lists.h mode change 100644 => 100755 src/common/log.c mode change 100644 => 100755 src/common/log.h mode change 100644 => 100755 src/common/mempattern.c mode change 100644 => 100755 src/common/mempattern.h mode change 100644 => 100755 src/common/modified_tree.h mode change 100644 => 100755 src/common/print.c mode change 100644 => 100755 src/common/print.h mode change 100644 => 100755 src/common/prng.c mode change 100644 => 100755 src/common/prng.h mode change 100644 => 100755 src/common/ref.c mode change 100644 => 100755 src/common/ref.h mode change 100644 => 100755 src/common/skip-list.c mode change 100644 => 100755 src/common/skip-list.h mode change 100644 => 100755 src/common/slab/alloc-common.h mode change 100644 => 100755 src/common/slab/slab.c mode change 100644 => 100755 src/common/slab/slab.h mode change 100644 => 100755 src/common/sockaddr.c mode change 100644 => 100755 src/common/sockaddr.h mode change 100644 => 100755 src/common/tree.h mode change 100644 => 100755 src/config.h.in mode change 100644 => 100755 src/knot.conf.5 mode change 100644 => 100755 src/knot.service mode change 100644 => 100755 src/knot.spec mode change 100644 => 100755 src/knot.sysconfig mode change 100644 => 100755 src/knot/common.h mode change 100644 => 100755 src/knot/conf/cf-lex.l mode change 100644 => 100755 src/knot/conf/cf-parse.y mode change 100644 => 100755 src/knot/conf/conf.c mode change 100644 => 100755 src/knot/conf/conf.h mode change 100644 => 100755 src/knot/conf/logconf.c mode change 100644 => 100755 src/knot/conf/logconf.h mode change 100644 => 100755 src/knot/ctl/knotc_main.c mode change 100644 => 100755 src/knot/ctl/process.c mode change 100644 => 100755 src/knot/ctl/process.h mode change 100644 => 100755 src/knot/main.c mode change 100644 => 100755 src/knot/other/debug.h mode change 100644 => 100755 src/knot/server/dthreads.c mode change 100644 => 100755 src/knot/server/dthreads.h mode change 100644 => 100755 src/knot/server/journal.c mode change 100644 => 100755 src/knot/server/journal.h mode change 100644 => 100755 src/knot/server/notify.c mode change 100644 => 100755 src/knot/server/notify.h mode change 100644 => 100755 src/knot/server/server.c mode change 100644 => 100755 src/knot/server/server.h mode change 100644 => 100755 src/knot/server/socket.c mode change 100644 => 100755 src/knot/server/socket.h mode change 100644 => 100755 src/knot/server/tcp-handler.c mode change 100644 => 100755 src/knot/server/tcp-handler.h mode change 100644 => 100755 src/knot/server/udp-handler.c mode change 100644 => 100755 src/knot/server/udp-handler.h mode change 100644 => 100755 src/knot/server/xfr-handler.c mode change 100644 => 100755 src/knot/server/xfr-handler.h mode change 100644 => 100755 src/knot/server/zones.c mode change 100644 => 100755 src/knot/server/zones.h mode change 100644 => 100755 src/knot/stat/gatherer.c mode change 100644 => 100755 src/knot/stat/gatherer.h mode change 100644 => 100755 src/knot/stat/stat-common.h mode change 100644 => 100755 src/knot/stat/stat.c mode change 100644 => 100755 src/knot/stat/stat.h mode change 100644 => 100755 src/knot/zone/semantic-check.c mode change 100644 => 100755 src/knot/zone/semantic-check.h mode change 100644 => 100755 src/knot/zone/zone-dump-text.c mode change 100644 => 100755 src/knot/zone/zone-dump-text.h mode change 100644 => 100755 src/knot/zone/zone-dump.c mode change 100644 => 100755 src/knot/zone/zone-dump.h mode change 100644 => 100755 src/knot/zone/zone-load.c mode change 100644 => 100755 src/knot/zone/zone-load.h mode change 100644 => 100755 src/knotc.8 mode change 100644 => 100755 src/knotd.8 mode change 100644 => 100755 src/libknot/common.h mode change 100644 => 100755 src/libknot/consts.h mode change 100644 => 100755 src/libknot/dname.c mode change 100644 => 100755 src/libknot/dname.h mode change 100644 => 100755 src/libknot/edns.c mode change 100644 => 100755 src/libknot/edns.h mode change 100644 => 100755 src/libknot/hash/cuckoo-hash-table.c mode change 100644 => 100755 src/libknot/hash/cuckoo-hash-table.h mode change 100644 => 100755 src/libknot/hash/hash-functions.c mode change 100644 => 100755 src/libknot/hash/hash-functions.h mode change 100644 => 100755 src/libknot/hash/universal-system.c mode change 100644 => 100755 src/libknot/hash/universal-system.h mode change 100644 => 100755 src/libknot/libknot.h mode change 100644 => 100755 src/libknot/nameserver/name-server.c mode change 100644 => 100755 src/libknot/nameserver/name-server.h mode change 100644 => 100755 src/libknot/nsec3.c mode change 100644 => 100755 src/libknot/nsec3.h mode change 100644 => 100755 src/libknot/packet/packet.c mode change 100644 => 100755 src/libknot/packet/packet.h mode change 100644 => 100755 src/libknot/packet/query.c mode change 100644 => 100755 src/libknot/packet/query.h mode change 100644 => 100755 src/libknot/packet/response.c mode change 100644 => 100755 src/libknot/packet/response.h mode change 100644 => 100755 src/libknot/rdata.c mode change 100644 => 100755 src/libknot/rdata.h mode change 100644 => 100755 src/libknot/rrset.c mode change 100644 => 100755 src/libknot/rrset.h mode change 100644 => 100755 src/libknot/tsig-op.c mode change 100644 => 100755 src/libknot/tsig-op.h mode change 100644 => 100755 src/libknot/tsig.c mode change 100644 => 100755 src/libknot/tsig.h mode change 100644 => 100755 src/libknot/updates/changesets.c mode change 100644 => 100755 src/libknot/updates/changesets.h mode change 100644 => 100755 src/libknot/updates/ddns.c mode change 100644 => 100755 src/libknot/updates/ddns.h mode change 100644 => 100755 src/libknot/updates/xfr-in.c mode change 100644 => 100755 src/libknot/updates/xfr-in.h mode change 100644 => 100755 src/libknot/util/debug.c mode change 100644 => 100755 src/libknot/util/debug.h mode change 100644 => 100755 src/libknot/util/descriptor.c mode change 100644 => 100755 src/libknot/util/descriptor.h mode change 100644 => 100755 src/libknot/util/tolower.c mode change 100644 => 100755 src/libknot/util/tolower.h mode change 100644 => 100755 src/libknot/util/utils.c mode change 100644 => 100755 src/libknot/util/utils.h mode change 100644 => 100755 src/libknot/util/wire.h mode change 100644 => 100755 src/libknot/zone/dname-table.c mode change 100644 => 100755 src/libknot/zone/dname-table.h mode change 100644 => 100755 src/libknot/zone/node.c mode change 100644 => 100755 src/libknot/zone/node.h mode change 100644 => 100755 src/libknot/zone/zone-contents.c mode change 100644 => 100755 src/libknot/zone/zone-contents.h mode change 100644 => 100755 src/libknot/zone/zone-diff.c mode change 100644 => 100755 src/libknot/zone/zone-diff.h mode change 100644 => 100755 src/libknot/zone/zone-tree.c mode change 100644 => 100755 src/libknot/zone/zone-tree.h mode change 100644 => 100755 src/libknot/zone/zone.c mode change 100644 => 100755 src/libknot/zone/zone.h mode change 100644 => 100755 src/libknot/zone/zonedb.c mode change 100644 => 100755 src/libknot/zone/zonedb.h mode change 100644 => 100755 src/tests/README mode change 100644 => 100755 src/tests/common/acl_tests.c mode change 100644 => 100755 src/tests/common/acl_tests.h mode change 100644 => 100755 src/tests/common/events_tests.c mode change 100644 => 100755 src/tests/common/events_tests.h mode change 100644 => 100755 src/tests/common/fdset_tests.c mode change 100644 => 100755 src/tests/common/fdset_tests.h mode change 100644 => 100755 src/tests/common/skiplist_tests.c mode change 100644 => 100755 src/tests/common/skiplist_tests.h mode change 100644 => 100755 src/tests/common/slab_tests.c mode change 100644 => 100755 src/tests/common/slab_tests.h mode change 100644 => 100755 src/tests/files/sample_conf mode change 100644 => 100755 src/tests/knot/conf_tests.c mode change 100644 => 100755 src/tests/knot/conf_tests.h mode change 100644 => 100755 src/tests/knot/dthreads_tests.c mode change 100644 => 100755 src/tests/knot/dthreads_tests.h mode change 100644 => 100755 src/tests/knot/journal_tests.c mode change 100644 => 100755 src/tests/knot/journal_tests.h mode change 100644 => 100755 src/tests/knot/server_tests.c mode change 100644 => 100755 src/tests/knot/server_tests.h mode change 100644 => 100755 src/tests/libknot/files/parsed_data mode change 100644 => 100755 src/tests/libknot/files/parsed_data_queries mode change 100644 => 100755 src/tests/libknot/files/raw_data mode change 100644 => 100755 src/tests/libknot/files/raw_data_queries mode change 100644 => 100755 src/tests/libknot/libknot/cuckoo_tests.c mode change 100644 => 100755 src/tests/libknot/libknot/cuckoo_tests.h mode change 100644 => 100755 src/tests/libknot/libknot/dname_table_tests.c mode change 100644 => 100755 src/tests/libknot/libknot/dname_table_tests.h mode change 100644 => 100755 src/tests/libknot/libknot/dname_tests.c mode change 100644 => 100755 src/tests/libknot/libknot/dname_tests.h mode change 100644 => 100755 src/tests/libknot/libknot/edns_tests.c mode change 100644 => 100755 src/tests/libknot/libknot/edns_tests.h mode change 100644 => 100755 src/tests/libknot/libknot/node_tests.c mode change 100644 => 100755 src/tests/libknot/libknot/node_tests.h mode change 100644 => 100755 src/tests/libknot/libknot/nsec3_tests.c mode change 100644 => 100755 src/tests/libknot/libknot/nsec3_tests.h mode change 100644 => 100755 src/tests/libknot/libknot/packet_tests.c mode change 100644 => 100755 src/tests/libknot/libknot/packet_tests.h mode change 100644 => 100755 src/tests/libknot/libknot/query_tests.c mode change 100644 => 100755 src/tests/libknot/libknot/query_tests.h mode change 100644 => 100755 src/tests/libknot/libknot/rdata_tests.c mode change 100644 => 100755 src/tests/libknot/libknot/rdata_tests.h mode change 100644 => 100755 src/tests/libknot/libknot/response_tests.c mode change 100644 => 100755 src/tests/libknot/libknot/response_tests.h mode change 100644 => 100755 src/tests/libknot/libknot/rrset_tests.c mode change 100644 => 100755 src/tests/libknot/libknot/rrset_tests.h mode change 100644 => 100755 src/tests/libknot/libknot/tsig_tests.c mode change 100644 => 100755 src/tests/libknot/libknot/tsig_tests.h mode change 100644 => 100755 src/tests/libknot/libknot/zone_tests.c mode change 100644 => 100755 src/tests/libknot/libknot/zone_tests.h mode change 100644 => 100755 src/tests/libknot/libknot/zone_tree_tests.c mode change 100644 => 100755 src/tests/libknot/libknot/zone_tree_tests.h mode change 100644 => 100755 src/tests/libknot/libknot/zonedb_tests.c mode change 100644 => 100755 src/tests/libknot/libknot/zonedb_tests.h mode change 100644 => 100755 src/tests/libknot/realdata/files/parsed_data mode change 100644 => 100755 src/tests/libknot/realdata/files/parsed_data_queries mode change 100644 => 100755 src/tests/libknot/realdata/files/raw_data mode change 100644 => 100755 src/tests/libknot/realdata/files/raw_data_queries mode change 100644 => 100755 src/tests/libknot/realdata/libknot/dname_tests_realdata.c mode change 100644 => 100755 src/tests/libknot/realdata/libknot/dname_tests_realdata.h mode change 100644 => 100755 src/tests/libknot/realdata/libknot/edns_tests_realdata.c mode change 100644 => 100755 src/tests/libknot/realdata/libknot/edns_tests_realdata.h mode change 100644 => 100755 src/tests/libknot/realdata/libknot/node_tests_realdata.c mode change 100644 => 100755 src/tests/libknot/realdata/libknot/node_tests_realdata.h mode change 100644 => 100755 src/tests/libknot/realdata/libknot/packet_tests_realdata.c mode change 100644 => 100755 src/tests/libknot/realdata/libknot/packet_tests_realdata.h mode change 100644 => 100755 src/tests/libknot/realdata/libknot/rdata_tests_realdata.c mode change 100644 => 100755 src/tests/libknot/realdata/libknot/rdata_tests_realdata.h mode change 100644 => 100755 src/tests/libknot/realdata/libknot/response_tests_realdata.c mode change 100644 => 100755 src/tests/libknot/realdata/libknot/response_tests_realdata.h mode change 100644 => 100755 src/tests/libknot/realdata/libknot/rrset_tests_realdata.c mode change 100644 => 100755 src/tests/libknot/realdata/libknot/rrset_tests_realdata.h mode change 100644 => 100755 src/tests/libknot/realdata/libknot/zone_tests_realdata.c mode change 100644 => 100755 src/tests/libknot/realdata/libknot/zone_tests_realdata.h mode change 100644 => 100755 src/tests/libknot/realdata/libknot/zonedb_tests_realdata.c mode change 100644 => 100755 src/tests/libknot/realdata/libknot/zonedb_tests_realdata.h mode change 100644 => 100755 src/tests/libknot/realdata/libknot_tests_loader_realdata.c mode change 100644 => 100755 src/tests/libknot/realdata/libknot_tests_loader_realdata.h mode change 100644 => 100755 src/tests/libknot/realdata/unittests_libknot_realdata.c mode change 100644 => 100755 src/tests/libknot/unittests_libknot.c mode change 100644 => 100755 src/tests/unittests_main.c mode change 100644 => 100755 src/tests/xfr_tests.c mode change 100644 => 100755 src/tests/xfr_tests.h mode change 100644 => 100755 src/zcompile/LICENSE mode change 100644 => 100755 src/zcompile/parser-descriptor.c mode change 100644 => 100755 src/zcompile/parser-descriptor.h mode change 100644 => 100755 src/zcompile/parser-util.c mode change 100644 => 100755 src/zcompile/parser-util.h mode change 100644 => 100755 src/zcompile/tests/unittests_zp_main.c mode change 100644 => 100755 src/zcompile/tests/zcompile_tests.c mode change 100644 => 100755 src/zcompile/zcompile-error.c mode change 100644 => 100755 src/zcompile/zcompile-error.h mode change 100644 => 100755 src/zcompile/zcompile.c mode change 100644 => 100755 src/zcompile/zcompile.h mode change 100644 => 100755 src/zcompile/zcompile_main.c mode change 100644 => 100755 src/zcompile/zlexer.l mode change 100644 => 100755 src/zcompile/zparser.y (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am old mode 100644 new mode 100755 diff --git a/src/Makefile.in b/src/Makefile.in old mode 100644 new mode 100755 diff --git a/src/common/LICENSE.txt b/src/common/LICENSE.txt old mode 100644 new mode 100755 diff --git a/src/common/acl.c b/src/common/acl.c old mode 100644 new mode 100755 diff --git a/src/common/acl.h b/src/common/acl.h old mode 100644 new mode 100755 diff --git a/src/common/base32.c b/src/common/base32.c old mode 100644 new mode 100755 diff --git a/src/common/base32.h b/src/common/base32.h old mode 100644 new mode 100755 diff --git a/src/common/base32hex.c b/src/common/base32hex.c old mode 100644 new mode 100755 diff --git a/src/common/base32hex.h b/src/common/base32hex.h old mode 100644 new mode 100755 diff --git a/src/common/base64.c b/src/common/base64.c old mode 100644 new mode 100755 diff --git a/src/common/base64.h b/src/common/base64.h old mode 100644 new mode 100755 diff --git a/src/common/crc.h b/src/common/crc.h old mode 100644 new mode 100755 diff --git a/src/common/dSFMT-params.h b/src/common/dSFMT-params.h old mode 100644 new mode 100755 diff --git a/src/common/dSFMT-params521.h b/src/common/dSFMT-params521.h old mode 100644 new mode 100755 diff --git a/src/common/dSFMT.c b/src/common/dSFMT.c old mode 100644 new mode 100755 diff --git a/src/common/dSFMT.h b/src/common/dSFMT.h old mode 100644 new mode 100755 diff --git a/src/common/errcode.c b/src/common/errcode.c old mode 100644 new mode 100755 diff --git a/src/common/errcode.h b/src/common/errcode.h old mode 100644 new mode 100755 diff --git a/src/common/errors.c b/src/common/errors.c old mode 100644 new mode 100755 diff --git a/src/common/errors.h b/src/common/errors.h old mode 100644 new mode 100755 diff --git a/src/common/evqueue.c b/src/common/evqueue.c old mode 100644 new mode 100755 diff --git a/src/common/evqueue.h b/src/common/evqueue.h old mode 100644 new mode 100755 diff --git a/src/common/evsched.c b/src/common/evsched.c old mode 100644 new mode 100755 index 8b6f721..9bfdef0 --- a/src/common/evsched.c +++ b/src/common/evsched.c @@ -26,15 +26,18 @@ #define OPENBSD_SLAB_BROKEN #endif -/* Heap only cares about x= are broken, this is for compat.*/ +static inline int timercmp_ge(struct timeval *a, struct timeval *b) { + return timercmp(a, b, >) || timercmp(a, b, ==); +} + +static int compare_event_heap_nodes(event_t *e1, event_t *e2) { - if (timercmp(&(*e1)->tv, &(*e2)->tv, <)) return -1; - if (timercmp(&(*e1)->tv, &(*e2)->tv, >)) return 1; + if (timercmp(&e1->tv, &e2->tv, <)) return -1; + if (timercmp(&e1->tv, &e2->tv, >)) return 1; return 0; } - /*! * \brief Set event timer to T (now) + dt miliseconds. */ @@ -78,7 +81,7 @@ evsched_t *evsched_new() #ifndef OPENBSD_SLAB_BROKEN slab_cache_init(&s->cache.alloc, sizeof(event_t)); #endif - heap_init(&s->heap, sizeof(event_t *), compare_event_heap_nodes, 0, NULL); + heap_init(&s->heap, compare_event_heap_nodes, 0); return s; } @@ -179,7 +182,7 @@ event_t* evsched_next(evsched_t *s) event_t *next_ev = *((event_t**)HHEAD(&s->heap)); /* Immediately return. */ - if (timercmp(&dt, &next_ev->tv, >=)) { + if (timercmp_ge(&dt, &next_ev->tv)) { s->current = next_ev; heap_delmin(&s->heap); pthread_mutex_unlock(&s->mx); @@ -235,10 +238,10 @@ int evsched_schedule(evsched_t *s, event_t *ev, uint32_t dt) /* Lock calendar. */ pthread_mutex_lock(&s->mx); - heap_insert(&s->heap, &ev); + heap_insert(&s->heap, ev); /* Unlock calendar. */ - pthread_cond_signal(&s->notify); + pthread_cond_broadcast(&s->notify); pthread_mutex_unlock(&s->mx); return 0; @@ -302,12 +305,12 @@ int evsched_cancel(evsched_t *s, event_t *ev) /* Lock calendar. */ pthread_mutex_lock(&s->mx); - if ((found = heap_find(&s->heap, &ev))) { + if ((found = heap_find(&s->heap, ev))) { heap_delete(&s->heap, found); } /* Unlock calendar. */ - pthread_cond_signal(&s->notify); + pthread_cond_broadcast(&s->notify); pthread_mutex_unlock(&s->mx); /* Enable running events. */ diff --git a/src/common/evsched.h b/src/common/evsched.h old mode 100644 new mode 100755 diff --git a/src/common/fdset.c b/src/common/fdset.c old mode 100644 new mode 100755 diff --git a/src/common/fdset.h b/src/common/fdset.h old mode 100644 new mode 100755 diff --git a/src/common/fdset_epoll.c b/src/common/fdset_epoll.c old mode 100644 new mode 100755 diff --git a/src/common/fdset_epoll.h b/src/common/fdset_epoll.h old mode 100644 new mode 100755 diff --git a/src/common/fdset_kqueue.c b/src/common/fdset_kqueue.c old mode 100644 new mode 100755 diff --git a/src/common/fdset_kqueue.h b/src/common/fdset_kqueue.h old mode 100644 new mode 100755 diff --git a/src/common/fdset_poll.c b/src/common/fdset_poll.c old mode 100644 new mode 100755 diff --git a/src/common/fdset_poll.h b/src/common/fdset_poll.h old mode 100644 new mode 100755 diff --git a/src/common/general-tree.c b/src/common/general-tree.c old mode 100644 new mode 100755 diff --git a/src/common/general-tree.h b/src/common/general-tree.h old mode 100644 new mode 100755 diff --git a/src/common/heap.c b/src/common/heap.c old mode 100644 new mode 100755 index 6fefb11..27b82da --- a/src/common/heap.c +++ b/src/common/heap.c @@ -22,11 +22,8 @@ * * Most macros use these parameters: * - * - @type - the type of elements * - @num - a variable (signed or unsigned integer) with the number of elements * - @heap - a C array of type @type; the heap is stored in `heap[1] .. heap[num]`; `heap[0]` is unused - * - @less - a callback to compare two element values; `less(x, y)` shall return a non-zero value iff @x is lower than @y - * - @swap - a callback to swap two array elements; `swap(heap, i, j, t)` must swap `heap[i]` with `heap[j]` with possible help of temporary variable @t (type @type). * * A valid heap must follow these rules: * @@ -44,26 +41,23 @@ #include #include -void _def_swap(struct heap *h, void *e1, void *e2) +static inline void heap_swap(heap_val_t *e1, heap_val_t *e2) { - if (e1 == e2) return; - void *tmp = HTEMPELEMENT(h); - memcpy(tmp, e1, h->elm_size); - memcpy(e1, e2, h->elm_size); - memcpy(e2, tmp, h->elm_size); + if (e1 == e2) return; /* Stack tmp should be faster than tmpelem. */ + heap_val_t tmp = *e1; /* Even faster than 2-XOR nowadays. */ + *e1 = *e2; + *e2 = tmp; } -int heap_init(struct heap *h, int elm_size, int (*cmp)(void *, void *), int init_size, void (*swap)(struct heap *, void *, void *)) +int heap_init(struct heap *h, int (*cmp)(void *, void *), int init_size) { int isize = init_size ? init_size : INITIAL_HEAP_SIZE; h->num = 0; h->max_size = isize; h->cmp = cmp; - h->swap = swap ? swap : _def_swap; - h->data = malloc((isize + 1) * elm_size); - h->elm_size = elm_size; + h->data = malloc((isize + 1) * sizeof(heap_val_t)); /* Temp element unused. */ return h->data ? 1 : 0; }; @@ -75,9 +69,9 @@ static inline void _heap_bubble_down(struct heap *h, int e) { e1 = 2*e; if(e1 > h->num) break; - if((h->cmp(HELEMENT(h, e),HELEMENT(h,e1)) < 0) && (e1 == h->num || (h->cmp(HELEMENT(h, e),HELEMENT(h,e1+1)) < 0))) break; - if((e1 != h->num) && (h->cmp(HELEMENT(h, e1+1), HELEMENT(h,e1)) < 0)) e1++; - h->swap(h,HELEMENT(h,e),HELEMENT(h,e1)); + if((h->cmp(*HELEMENT(h, e),*HELEMENT(h,e1)) < 0) && (e1 == h->num || (h->cmp(*HELEMENT(h, e),*HELEMENT(h,e1+1)) < 0))) break; + if((e1 != h->num) && (h->cmp(*HELEMENT(h, e1+1), *HELEMENT(h,e1)) < 0)) e1++; + heap_swap(HELEMENT(h,e),HELEMENT(h,e1)); e = e1; } } @@ -88,8 +82,8 @@ static inline void _heap_bubble_up(struct heap *h, int e) while (e > 1) { e1 = e/2; - if(h->cmp(HELEMENT(h, e1),HELEMENT(h,e)) < 0) break; - h->swap(h,HELEMENT(h,e),HELEMENT(h,e1)); + if(h->cmp(*HELEMENT(h, e1),*HELEMENT(h,e)) < 0) break; + heap_swap(HELEMENT(h,e),HELEMENT(h,e1)); e = e1; } @@ -100,7 +94,7 @@ void heap_delmin(struct heap *h) if(h->num == 0) return; if(h->num > 1) { - h->swap(h,HHEAD(h),HELEMENT(h,h->num)); + heap_swap(HHEAD(h),HELEMENT(h,h->num)); } --h->num; _heap_bubble_down(h, 1); @@ -111,39 +105,39 @@ int heap_insert(struct heap *h, void *e) if(h->num == h->max_size) { h->max_size = h->max_size * HEAP_INCREASE_STEP; - h->data = realloc(h->data, (h->max_size + 1) * h->elm_size); + h->data = realloc(h->data, (h->max_size + 1) * sizeof(heap_val_t)); } h->num++; - memcpy(HELEMENT(h,h->num),e,h->elm_size); + *HELEMENT(h,h->num) = e; _heap_bubble_up(h,h->num); - return h->data ? 1 :0 ; + return h->data ? 1 : 0; } int heap_find(struct heap *h, void *elm) /* FIXME - very slow */ { - int i = h->num; - - while(i > 0) + int i = 1; /* Skip tmp element. */ + int np = h->num + 1; /* Start from min-heap top. */ + while(i != np) { - if(h->cmp(HELEMENT(h, i),elm) == 0) break; - --i; + if(*HELEMENT(h, i) == elm) return i; + ++i; } - return i; + return 0; } void heap_delete(struct heap *h, int e) { - h->swap(h, HELEMENT(h, e), HELEMENT(h, h->num)); + heap_swap(HELEMENT(h, e), HELEMENT(h, h->num)); h->num--; - if(h->cmp(HELEMENT(h, e), HELEMENT(h, h->num + 1)) < 0) _heap_bubble_up(h, e); + if(h->cmp(*HELEMENT(h, e), *HELEMENT(h, h->num + 1)) < 0) _heap_bubble_up(h, e); else _heap_bubble_down(h, e); if ((h->num > INITIAL_HEAP_SIZE) && (h->num < h->max_size / HEAP_DECREASE_THRESHOLD)) { h->max_size = h->max_size / HEAP_INCREASE_STEP; - h->data = realloc(h->data, (h->max_size + 1) * h->elm_size); + h->data = realloc(h->data, (h->max_size + 1) * sizeof(heap_val_t)); } } diff --git a/src/common/heap.h b/src/common/heap.h old mode 100644 new mode 100755 index d6f8a0b..6fe355c --- a/src/common/heap.h +++ b/src/common/heap.h @@ -28,24 +28,23 @@ #ifndef _HEAP_H_ #define _HEAP_H_ +typedef void* heap_val_t; + struct heap { int num; /* Number of elements */ - int elm_size; /* Size of a single element */ int max_size; /* Size of allocated memory */ int (*cmp)(void *, void *); - void (*swap)(struct heap *, void *, void *); - void *data; + heap_val_t *data; }; /* Array follows */ #define INITIAL_HEAP_SIZE 512 /* initial heap size */ #define HEAP_INCREASE_STEP 2 /* multiplier for each inflation, keep conservative */ #define HEAP_DECREASE_THRESHOLD 2 /* threshold for deflation, keep conservative */ -#define HTEMPELEMENT(h) ((h)->data) /* Pointer to tmp element (for swap) */ -#define HELEMENT(h,num) ((char*)(h)->data + (num) * (h)->elm_size) +#define HELEMENT(h,num) ((h)->data + (num)) #define HHEAD(h) HELEMENT((h),1) #define EMPTY_HEAP(h) ((h)->num == 0) /* h->num == 0 */ -int heap_init(struct heap *, int, int (*cmp)(), int, void (*swap)()); +int heap_init(struct heap *, int (*cmp)(), int); void heap_delmin(struct heap *); int heap_insert(struct heap *, void *); int heap_find(struct heap *, void *); diff --git a/src/common/latency.c b/src/common/latency.c old mode 100644 new mode 100755 diff --git a/src/common/latency.h b/src/common/latency.h old mode 100644 new mode 100755 diff --git a/src/common/libtap/README b/src/common/libtap/README old mode 100644 new mode 100755 diff --git a/src/common/libtap/tap.c b/src/common/libtap/tap.c old mode 100644 new mode 100755 diff --git a/src/common/libtap/tap.h b/src/common/libtap/tap.h old mode 100644 new mode 100755 diff --git a/src/common/libtap/tap_unit.h b/src/common/libtap/tap_unit.h old mode 100644 new mode 100755 diff --git a/src/common/lists.c b/src/common/lists.c old mode 100644 new mode 100755 diff --git a/src/common/lists.h b/src/common/lists.h old mode 100644 new mode 100755 diff --git a/src/common/log.c b/src/common/log.c old mode 100644 new mode 100755 diff --git a/src/common/log.h b/src/common/log.h old mode 100644 new mode 100755 diff --git a/src/common/mempattern.c b/src/common/mempattern.c old mode 100644 new mode 100755 diff --git a/src/common/mempattern.h b/src/common/mempattern.h old mode 100644 new mode 100755 diff --git a/src/common/modified_tree.h b/src/common/modified_tree.h old mode 100644 new mode 100755 diff --git a/src/common/print.c b/src/common/print.c old mode 100644 new mode 100755 diff --git a/src/common/print.h b/src/common/print.h old mode 100644 new mode 100755 diff --git a/src/common/prng.c b/src/common/prng.c old mode 100644 new mode 100755 diff --git a/src/common/prng.h b/src/common/prng.h old mode 100644 new mode 100755 diff --git a/src/common/ref.c b/src/common/ref.c old mode 100644 new mode 100755 diff --git a/src/common/ref.h b/src/common/ref.h old mode 100644 new mode 100755 diff --git a/src/common/skip-list.c b/src/common/skip-list.c old mode 100644 new mode 100755 diff --git a/src/common/skip-list.h b/src/common/skip-list.h old mode 100644 new mode 100755 diff --git a/src/common/slab/alloc-common.h b/src/common/slab/alloc-common.h old mode 100644 new mode 100755 diff --git a/src/common/slab/slab.c b/src/common/slab/slab.c old mode 100644 new mode 100755 diff --git a/src/common/slab/slab.h b/src/common/slab/slab.h old mode 100644 new mode 100755 diff --git a/src/common/sockaddr.c b/src/common/sockaddr.c old mode 100644 new mode 100755 diff --git a/src/common/sockaddr.h b/src/common/sockaddr.h old mode 100644 new mode 100755 diff --git a/src/common/tree.h b/src/common/tree.h old mode 100644 new mode 100755 diff --git a/src/config.h.in b/src/config.h.in old mode 100644 new mode 100755 diff --git a/src/knot.conf.5 b/src/knot.conf.5 old mode 100644 new mode 100755 index e778553..4c3f367 --- a/src/knot.conf.5 +++ b/src/knot.conf.5 @@ -1,4 +1,4 @@ -.TH "knot.conf" "5" "August 2012" "CZ.NIC Labs" "Knot DNS, version 1.1.1" +.TH "knot.conf" "5" "August 2012" "CZ.NIC Labs" "Knot DNS, version 1.1.2-rc1" .SH "NAME" .LP .B knot.conf diff --git a/src/knot.service b/src/knot.service old mode 100644 new mode 100755 diff --git a/src/knot.spec b/src/knot.spec old mode 100644 new mode 100755 diff --git a/src/knot.sysconfig b/src/knot.sysconfig old mode 100644 new mode 100755 diff --git a/src/knot/common.h b/src/knot/common.h old mode 100644 new mode 100755 diff --git a/src/knot/conf/cf-lex.l b/src/knot/conf/cf-lex.l old mode 100644 new mode 100755 diff --git a/src/knot/conf/cf-parse.y b/src/knot/conf/cf-parse.y old mode 100644 new mode 100755 index 7a18e6e..4f490b5 --- a/src/knot/conf/cf-parse.y +++ b/src/knot/conf/cf-parse.y @@ -189,6 +189,7 @@ static void conf_zone_start(void *scanner, char *name) { } /* Check domain name. */ + char buf[512]; knot_dname_t *dn = NULL; if (this_zone->name != NULL) { dn = knot_dname_new_from_str(this_zone->name, nlen + 1, 0); @@ -199,9 +200,23 @@ static void conf_zone_start(void *scanner, char *name) { this_zone = NULL; cf_error(scanner, "invalid zone origin"); } else { + /* Check for duplicates. */ + if (gen_tree_find(new_config->zone_tree, dn) != NULL) { + snprintf(buf, sizeof(buf), "zone '%s' is already present, " + "refusing to duplicate", this_zone->name); + knot_dname_free(&dn); + free(this_zone->name); + this_zone->name = NULL; + /* Must not free, some versions of flex might continue after error and segfault. + * free(this_zone); this_zone = NULL; + */ + cf_error(scanner, buf); + return; + } + /* Directly discard dname, won't be needed. */ - knot_dname_free(&dn); add_tail(&new_config->zones, &this_zone->n); + gen_tree_add(new_config->zone_tree, dn, NULL); /* Will hold reference. */ ++new_config->zones_count; /* Initialize ACL lists. */ diff --git a/src/knot/conf/conf.c b/src/knot/conf/conf.c old mode 100644 new mode 100755 index 0583c88..d9d0a77 --- a/src/knot/conf/conf.c +++ b/src/knot/conf/conf.c @@ -72,6 +72,30 @@ void cf_error(void *scanner, const char *msg) _parser_res = KNOT_EPARSEFAIL; } +static int conf_ztree_compare(void *p1, void *p2) +{ + return knot_dname_compare((knot_dname_t*)p1, (knot_dname_t*)p2); +} + +static void conf_ztree_free(void *node, void *data) +{ + UNUSED(data); + knot_dname_t *zname = (knot_dname_t*)node; + knot_dname_free(&zname); +} + +static void conf_parse_begin(conf_t *conf) +{ + conf->zone_tree = gen_tree_new(conf_ztree_compare); +} + +static void conf_parse_end(conf_t *conf) +{ + if (conf->zone_tree) { + gen_tree_destroy(&conf->zone_tree, conf_ztree_free, NULL); + } +} + /*! * \brief Call config hooks that need updating. * @@ -346,6 +370,7 @@ static int conf_fparser(conf_t *conf) int ret = KNOT_EOK; pthread_mutex_lock(&_parser_lock); + // { // Hook new configuration new_config = conf; @@ -367,6 +392,7 @@ static int conf_fparser(conf_t *conf) fclose(f); // } pthread_mutex_unlock(&_parser_lock); + return ret; } @@ -456,8 +482,10 @@ int conf_add_hook(conf_t * conf, int sections, int conf_parse(conf_t *conf) { /* Parse file. */ + conf_parse_begin(conf); int ret = conf_fparser(conf); - + conf_parse_end(conf); + /* Postprocess config. */ if (ret == 0) { ret = conf_process(conf); @@ -475,7 +503,9 @@ int conf_parse(conf_t *conf) int conf_parse_str(conf_t *conf, const char* src) { /* Parse config from string. */ + conf_parse_begin(conf); int ret = conf_strparser(conf, src); + conf_parse_end(conf); /* Postprocess config. */ conf_process(conf); @@ -625,7 +655,9 @@ int conf_open(const char* path) conf_t *nconf = conf_new(path); /* Parse config. */ + conf_parse_begin(nconf); int ret = conf_fparser(nconf); + conf_parse_end(nconf); if (ret == KNOT_EOK) { /* Postprocess config. */ ret = conf_process(nconf); diff --git a/src/knot/conf/conf.h b/src/knot/conf/conf.h old mode 100644 new mode 100755 index 391a85f..9f2440e --- a/src/knot/conf/conf.h +++ b/src/knot/conf/conf.h @@ -39,6 +39,7 @@ #include "common/lists.h" #include "common/log.h" #include "common/sockaddr.h" +#include "common/general-tree.h" /* Constants. */ #define CONFIG_DEFAULT_PORT 53 @@ -199,7 +200,8 @@ typedef struct conf_t { int dbsync_timeout; /*!< Default interval between syncing to zonefile.*/ size_t ixfr_fslimit; /*!< File size limit for IXFR journal. */ int build_diffs; /*!< Calculate differences from changes. */ - + general_tree_t *zone_tree; /*!< Zone tree for duplicate checking. */ + /* * Implementation specifics */ diff --git a/src/knot/conf/logconf.c b/src/knot/conf/logconf.c old mode 100644 new mode 100755 diff --git a/src/knot/conf/logconf.h b/src/knot/conf/logconf.h old mode 100644 new mode 100755 diff --git a/src/knot/ctl/knotc_main.c b/src/knot/ctl/knotc_main.c old mode 100644 new mode 100755 diff --git a/src/knot/ctl/process.c b/src/knot/ctl/process.c old mode 100644 new mode 100755 diff --git a/src/knot/ctl/process.h b/src/knot/ctl/process.h old mode 100644 new mode 100755 diff --git a/src/knot/main.c b/src/knot/main.c old mode 100644 new mode 100755 diff --git a/src/knot/other/debug.h b/src/knot/other/debug.h old mode 100644 new mode 100755 diff --git a/src/knot/server/dthreads.c b/src/knot/server/dthreads.c old mode 100644 new mode 100755 index 4e3bee9..82d7dd2 --- a/src/knot/server/dthreads.c +++ b/src/knot/server/dthreads.c @@ -435,6 +435,7 @@ void dt_delete(dt_unit_t **unit) // Deinit mutexes pthread_mutex_destroy(&d_unit->_notify_mx); pthread_mutex_destroy(&d_unit->_report_mx); + pthread_mutex_destroy(&d_unit->_mx); // Deinit conditions pthread_cond_destroy(&d_unit->_notify); diff --git a/src/knot/server/dthreads.h b/src/knot/server/dthreads.h old mode 100644 new mode 100755 diff --git a/src/knot/server/journal.c b/src/knot/server/journal.c old mode 100644 new mode 100755 index dc20e41..ac393cf --- a/src/knot/server/journal.c +++ b/src/knot/server/journal.c @@ -718,7 +718,7 @@ int journal_read(journal_t *journal, uint64_t id, journal_cmp_t cf, char *dst) /* Check valid flag. */ if (!(n->flags & JOURNAL_VALID)) { dbg_journal("journal: node with id=%llu is invalid " - "(flags=0x%hx)\n", (unsigned long long)id, n->flags); + "(flags=0x%hx)\n", (unsigned long long)n->id, n->flags); return KNOT_EINVAL; } diff --git a/src/knot/server/journal.h b/src/knot/server/journal.h old mode 100644 new mode 100755 diff --git a/src/knot/server/notify.c b/src/knot/server/notify.c old mode 100644 new mode 100755 diff --git a/src/knot/server/notify.h b/src/knot/server/notify.h old mode 100644 new mode 100755 diff --git a/src/knot/server/server.c b/src/knot/server/server.c old mode 100644 new mode 100755 diff --git a/src/knot/server/server.h b/src/knot/server/server.h old mode 100644 new mode 100755 diff --git a/src/knot/server/socket.c b/src/knot/server/socket.c old mode 100644 new mode 100755 diff --git a/src/knot/server/socket.h b/src/knot/server/socket.h old mode 100644 new mode 100755 diff --git a/src/knot/server/tcp-handler.c b/src/knot/server/tcp-handler.c old mode 100644 new mode 100755 diff --git a/src/knot/server/tcp-handler.h b/src/knot/server/tcp-handler.h old mode 100644 new mode 100755 diff --git a/src/knot/server/udp-handler.c b/src/knot/server/udp-handler.c old mode 100644 new mode 100755 diff --git a/src/knot/server/udp-handler.h b/src/knot/server/udp-handler.h old mode 100644 new mode 100755 diff --git a/src/knot/server/xfr-handler.c b/src/knot/server/xfr-handler.c old mode 100644 new mode 100755 diff --git a/src/knot/server/xfr-handler.h b/src/knot/server/xfr-handler.h old mode 100644 new mode 100755 diff --git a/src/knot/server/zones.c b/src/knot/server/zones.c old mode 100644 new mode 100755 index 4b5ad38..d993c49 --- a/src/knot/server/zones.c +++ b/src/knot/server/zones.c @@ -1565,6 +1565,7 @@ static int zones_insert_zone(conf_zone_t *z, knot_zone_t **dst, /* Refresh new slave zones (almost) immediately. */ if(is_new && zd->xfr_in.timer) { + evsched_cancel(sch, zd->xfr_in.timer); evsched_schedule(sch, zd->xfr_in.timer, zd->xfr_in.bootstrap_retry / 2); } diff --git a/src/knot/server/zones.h b/src/knot/server/zones.h old mode 100644 new mode 100755 diff --git a/src/knot/stat/gatherer.c b/src/knot/stat/gatherer.c old mode 100644 new mode 100755 diff --git a/src/knot/stat/gatherer.h b/src/knot/stat/gatherer.h old mode 100644 new mode 100755 diff --git a/src/knot/stat/stat-common.h b/src/knot/stat/stat-common.h old mode 100644 new mode 100755 diff --git a/src/knot/stat/stat.c b/src/knot/stat/stat.c old mode 100644 new mode 100755 diff --git a/src/knot/stat/stat.h b/src/knot/stat/stat.h old mode 100644 new mode 100755 diff --git a/src/knot/zone/semantic-check.c b/src/knot/zone/semantic-check.c old mode 100644 new mode 100755 diff --git a/src/knot/zone/semantic-check.h b/src/knot/zone/semantic-check.h old mode 100644 new mode 100755 diff --git a/src/knot/zone/zone-dump-text.c b/src/knot/zone/zone-dump-text.c old mode 100644 new mode 100755 diff --git a/src/knot/zone/zone-dump-text.h b/src/knot/zone/zone-dump-text.h old mode 100644 new mode 100755 diff --git a/src/knot/zone/zone-dump.c b/src/knot/zone/zone-dump.c old mode 100644 new mode 100755 diff --git a/src/knot/zone/zone-dump.h b/src/knot/zone/zone-dump.h old mode 100644 new mode 100755 diff --git a/src/knot/zone/zone-load.c b/src/knot/zone/zone-load.c old mode 100644 new mode 100755 diff --git a/src/knot/zone/zone-load.h b/src/knot/zone/zone-load.h old mode 100644 new mode 100755 diff --git a/src/knotc.8 b/src/knotc.8 old mode 100644 new mode 100755 index 5b83f49..9776ff7 --- a/src/knotc.8 +++ b/src/knotc.8 @@ -1,4 +1,4 @@ -.TH knotc "8" "August 2012" "CZ.NIC Labs" "Knot DNS, version 1.1.1" +.TH knotc "8" "August 2012" "CZ.NIC Labs" "Knot DNS, version 1.1.2-rc1" .SH NAME .B knotc \- Knot DNS control utility diff --git a/src/knotd.8 b/src/knotd.8 old mode 100644 new mode 100755 index 9ae9eba..63eba6e --- a/src/knotd.8 +++ b/src/knotd.8 @@ -1,4 +1,4 @@ -.TH "knotd" "8" "August 2012" "CZ.NIC Labs" "Knot DNS, version 1.1.1" +.TH "knotd" "8" "August 2012" "CZ.NIC Labs" "Knot DNS, version 1.1.2-rc1" .SH NAME .B knotd \- Knot DNS daemon diff --git a/src/libknot/common.h b/src/libknot/common.h old mode 100644 new mode 100755 diff --git a/src/libknot/consts.h b/src/libknot/consts.h old mode 100644 new mode 100755 diff --git a/src/libknot/dname.c b/src/libknot/dname.c old mode 100644 new mode 100755 diff --git a/src/libknot/dname.h b/src/libknot/dname.h old mode 100644 new mode 100755 diff --git a/src/libknot/edns.c b/src/libknot/edns.c old mode 100644 new mode 100755 diff --git a/src/libknot/edns.h b/src/libknot/edns.h old mode 100644 new mode 100755 diff --git a/src/libknot/hash/cuckoo-hash-table.c b/src/libknot/hash/cuckoo-hash-table.c old mode 100644 new mode 100755 diff --git a/src/libknot/hash/cuckoo-hash-table.h b/src/libknot/hash/cuckoo-hash-table.h old mode 100644 new mode 100755 diff --git a/src/libknot/hash/hash-functions.c b/src/libknot/hash/hash-functions.c old mode 100644 new mode 100755 diff --git a/src/libknot/hash/hash-functions.h b/src/libknot/hash/hash-functions.h old mode 100644 new mode 100755 diff --git a/src/libknot/hash/universal-system.c b/src/libknot/hash/universal-system.c old mode 100644 new mode 100755 diff --git a/src/libknot/hash/universal-system.h b/src/libknot/hash/universal-system.h old mode 100644 new mode 100755 diff --git a/src/libknot/libknot.h b/src/libknot/libknot.h old mode 100644 new mode 100755 diff --git a/src/libknot/nameserver/name-server.c b/src/libknot/nameserver/name-server.c old mode 100644 new mode 100755 diff --git a/src/libknot/nameserver/name-server.h b/src/libknot/nameserver/name-server.h old mode 100644 new mode 100755 diff --git a/src/libknot/nsec3.c b/src/libknot/nsec3.c old mode 100644 new mode 100755 diff --git a/src/libknot/nsec3.h b/src/libknot/nsec3.h old mode 100644 new mode 100755 diff --git a/src/libknot/packet/packet.c b/src/libknot/packet/packet.c old mode 100644 new mode 100755 diff --git a/src/libknot/packet/packet.h b/src/libknot/packet/packet.h old mode 100644 new mode 100755 diff --git a/src/libknot/packet/query.c b/src/libknot/packet/query.c old mode 100644 new mode 100755 diff --git a/src/libknot/packet/query.h b/src/libknot/packet/query.h old mode 100644 new mode 100755 diff --git a/src/libknot/packet/response.c b/src/libknot/packet/response.c old mode 100644 new mode 100755 diff --git a/src/libknot/packet/response.h b/src/libknot/packet/response.h old mode 100644 new mode 100755 diff --git a/src/libknot/rdata.c b/src/libknot/rdata.c old mode 100644 new mode 100755 diff --git a/src/libknot/rdata.h b/src/libknot/rdata.h old mode 100644 new mode 100755 diff --git a/src/libknot/rrset.c b/src/libknot/rrset.c old mode 100644 new mode 100755 diff --git a/src/libknot/rrset.h b/src/libknot/rrset.h old mode 100644 new mode 100755 diff --git a/src/libknot/tsig-op.c b/src/libknot/tsig-op.c old mode 100644 new mode 100755 diff --git a/src/libknot/tsig-op.h b/src/libknot/tsig-op.h old mode 100644 new mode 100755 diff --git a/src/libknot/tsig.c b/src/libknot/tsig.c old mode 100644 new mode 100755 diff --git a/src/libknot/tsig.h b/src/libknot/tsig.h old mode 100644 new mode 100755 diff --git a/src/libknot/updates/changesets.c b/src/libknot/updates/changesets.c old mode 100644 new mode 100755 diff --git a/src/libknot/updates/changesets.h b/src/libknot/updates/changesets.h old mode 100644 new mode 100755 diff --git a/src/libknot/updates/ddns.c b/src/libknot/updates/ddns.c old mode 100644 new mode 100755 diff --git a/src/libknot/updates/ddns.h b/src/libknot/updates/ddns.h old mode 100644 new mode 100755 diff --git a/src/libknot/updates/xfr-in.c b/src/libknot/updates/xfr-in.c old mode 100644 new mode 100755 diff --git a/src/libknot/updates/xfr-in.h b/src/libknot/updates/xfr-in.h old mode 100644 new mode 100755 diff --git a/src/libknot/util/debug.c b/src/libknot/util/debug.c old mode 100644 new mode 100755 diff --git a/src/libknot/util/debug.h b/src/libknot/util/debug.h old mode 100644 new mode 100755 diff --git a/src/libknot/util/descriptor.c b/src/libknot/util/descriptor.c old mode 100644 new mode 100755 diff --git a/src/libknot/util/descriptor.h b/src/libknot/util/descriptor.h old mode 100644 new mode 100755 diff --git a/src/libknot/util/tolower.c b/src/libknot/util/tolower.c old mode 100644 new mode 100755 diff --git a/src/libknot/util/tolower.h b/src/libknot/util/tolower.h old mode 100644 new mode 100755 diff --git a/src/libknot/util/utils.c b/src/libknot/util/utils.c old mode 100644 new mode 100755 diff --git a/src/libknot/util/utils.h b/src/libknot/util/utils.h old mode 100644 new mode 100755 diff --git a/src/libknot/util/wire.h b/src/libknot/util/wire.h old mode 100644 new mode 100755 diff --git a/src/libknot/zone/dname-table.c b/src/libknot/zone/dname-table.c old mode 100644 new mode 100755 diff --git a/src/libknot/zone/dname-table.h b/src/libknot/zone/dname-table.h old mode 100644 new mode 100755 diff --git a/src/libknot/zone/node.c b/src/libknot/zone/node.c old mode 100644 new mode 100755 diff --git a/src/libknot/zone/node.h b/src/libknot/zone/node.h old mode 100644 new mode 100755 diff --git a/src/libknot/zone/zone-contents.c b/src/libknot/zone/zone-contents.c old mode 100644 new mode 100755 diff --git a/src/libknot/zone/zone-contents.h b/src/libknot/zone/zone-contents.h old mode 100644 new mode 100755 diff --git a/src/libknot/zone/zone-diff.c b/src/libknot/zone/zone-diff.c old mode 100644 new mode 100755 diff --git a/src/libknot/zone/zone-diff.h b/src/libknot/zone/zone-diff.h old mode 100644 new mode 100755 diff --git a/src/libknot/zone/zone-tree.c b/src/libknot/zone/zone-tree.c old mode 100644 new mode 100755 diff --git a/src/libknot/zone/zone-tree.h b/src/libknot/zone/zone-tree.h old mode 100644 new mode 100755 diff --git a/src/libknot/zone/zone.c b/src/libknot/zone/zone.c old mode 100644 new mode 100755 diff --git a/src/libknot/zone/zone.h b/src/libknot/zone/zone.h old mode 100644 new mode 100755 diff --git a/src/libknot/zone/zonedb.c b/src/libknot/zone/zonedb.c old mode 100644 new mode 100755 diff --git a/src/libknot/zone/zonedb.h b/src/libknot/zone/zonedb.h old mode 100644 new mode 100755 diff --git a/src/tests/README b/src/tests/README old mode 100644 new mode 100755 diff --git a/src/tests/common/acl_tests.c b/src/tests/common/acl_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/common/acl_tests.h b/src/tests/common/acl_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/common/events_tests.c b/src/tests/common/events_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/common/events_tests.h b/src/tests/common/events_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/common/fdset_tests.c b/src/tests/common/fdset_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/common/fdset_tests.h b/src/tests/common/fdset_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/common/skiplist_tests.c b/src/tests/common/skiplist_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/common/skiplist_tests.h b/src/tests/common/skiplist_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/common/slab_tests.c b/src/tests/common/slab_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/common/slab_tests.h b/src/tests/common/slab_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/files/sample_conf b/src/tests/files/sample_conf old mode 100644 new mode 100755 diff --git a/src/tests/knot/conf_tests.c b/src/tests/knot/conf_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/knot/conf_tests.h b/src/tests/knot/conf_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/knot/dthreads_tests.c b/src/tests/knot/dthreads_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/knot/dthreads_tests.h b/src/tests/knot/dthreads_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/knot/journal_tests.c b/src/tests/knot/journal_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/knot/journal_tests.h b/src/tests/knot/journal_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/knot/server_tests.c b/src/tests/knot/server_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/knot/server_tests.h b/src/tests/knot/server_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/files/parsed_data b/src/tests/libknot/files/parsed_data old mode 100644 new mode 100755 diff --git a/src/tests/libknot/files/parsed_data_queries b/src/tests/libknot/files/parsed_data_queries old mode 100644 new mode 100755 diff --git a/src/tests/libknot/files/raw_data b/src/tests/libknot/files/raw_data old mode 100644 new mode 100755 diff --git a/src/tests/libknot/files/raw_data_queries b/src/tests/libknot/files/raw_data_queries old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/cuckoo_tests.c b/src/tests/libknot/libknot/cuckoo_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/cuckoo_tests.h b/src/tests/libknot/libknot/cuckoo_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/dname_table_tests.c b/src/tests/libknot/libknot/dname_table_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/dname_table_tests.h b/src/tests/libknot/libknot/dname_table_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/dname_tests.c b/src/tests/libknot/libknot/dname_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/dname_tests.h b/src/tests/libknot/libknot/dname_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/edns_tests.c b/src/tests/libknot/libknot/edns_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/edns_tests.h b/src/tests/libknot/libknot/edns_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/node_tests.c b/src/tests/libknot/libknot/node_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/node_tests.h b/src/tests/libknot/libknot/node_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/nsec3_tests.c b/src/tests/libknot/libknot/nsec3_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/nsec3_tests.h b/src/tests/libknot/libknot/nsec3_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/packet_tests.c b/src/tests/libknot/libknot/packet_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/packet_tests.h b/src/tests/libknot/libknot/packet_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/query_tests.c b/src/tests/libknot/libknot/query_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/query_tests.h b/src/tests/libknot/libknot/query_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/rdata_tests.c b/src/tests/libknot/libknot/rdata_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/rdata_tests.h b/src/tests/libknot/libknot/rdata_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/response_tests.c b/src/tests/libknot/libknot/response_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/response_tests.h b/src/tests/libknot/libknot/response_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/rrset_tests.c b/src/tests/libknot/libknot/rrset_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/rrset_tests.h b/src/tests/libknot/libknot/rrset_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/tsig_tests.c b/src/tests/libknot/libknot/tsig_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/tsig_tests.h b/src/tests/libknot/libknot/tsig_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/zone_tests.c b/src/tests/libknot/libknot/zone_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/zone_tests.h b/src/tests/libknot/libknot/zone_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/zone_tree_tests.c b/src/tests/libknot/libknot/zone_tree_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/zone_tree_tests.h b/src/tests/libknot/libknot/zone_tree_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/zonedb_tests.c b/src/tests/libknot/libknot/zonedb_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/libknot/zonedb_tests.h b/src/tests/libknot/libknot/zonedb_tests.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/files/parsed_data b/src/tests/libknot/realdata/files/parsed_data old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/files/parsed_data_queries b/src/tests/libknot/realdata/files/parsed_data_queries old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/files/raw_data b/src/tests/libknot/realdata/files/raw_data old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/files/raw_data_queries b/src/tests/libknot/realdata/files/raw_data_queries old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot/dname_tests_realdata.c b/src/tests/libknot/realdata/libknot/dname_tests_realdata.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot/dname_tests_realdata.h b/src/tests/libknot/realdata/libknot/dname_tests_realdata.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot/edns_tests_realdata.c b/src/tests/libknot/realdata/libknot/edns_tests_realdata.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot/edns_tests_realdata.h b/src/tests/libknot/realdata/libknot/edns_tests_realdata.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot/node_tests_realdata.c b/src/tests/libknot/realdata/libknot/node_tests_realdata.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot/node_tests_realdata.h b/src/tests/libknot/realdata/libknot/node_tests_realdata.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot/packet_tests_realdata.c b/src/tests/libknot/realdata/libknot/packet_tests_realdata.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot/packet_tests_realdata.h b/src/tests/libknot/realdata/libknot/packet_tests_realdata.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot/rdata_tests_realdata.c b/src/tests/libknot/realdata/libknot/rdata_tests_realdata.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot/rdata_tests_realdata.h b/src/tests/libknot/realdata/libknot/rdata_tests_realdata.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot/response_tests_realdata.c b/src/tests/libknot/realdata/libknot/response_tests_realdata.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot/response_tests_realdata.h b/src/tests/libknot/realdata/libknot/response_tests_realdata.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot/rrset_tests_realdata.c b/src/tests/libknot/realdata/libknot/rrset_tests_realdata.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot/rrset_tests_realdata.h b/src/tests/libknot/realdata/libknot/rrset_tests_realdata.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot/zone_tests_realdata.c b/src/tests/libknot/realdata/libknot/zone_tests_realdata.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot/zone_tests_realdata.h b/src/tests/libknot/realdata/libknot/zone_tests_realdata.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot/zonedb_tests_realdata.c b/src/tests/libknot/realdata/libknot/zonedb_tests_realdata.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot/zonedb_tests_realdata.h b/src/tests/libknot/realdata/libknot/zonedb_tests_realdata.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot_tests_loader_realdata.c b/src/tests/libknot/realdata/libknot_tests_loader_realdata.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/libknot_tests_loader_realdata.h b/src/tests/libknot/realdata/libknot_tests_loader_realdata.h old mode 100644 new mode 100755 diff --git a/src/tests/libknot/realdata/unittests_libknot_realdata.c b/src/tests/libknot/realdata/unittests_libknot_realdata.c old mode 100644 new mode 100755 diff --git a/src/tests/libknot/unittests_libknot.c b/src/tests/libknot/unittests_libknot.c old mode 100644 new mode 100755 diff --git a/src/tests/unittests_main.c b/src/tests/unittests_main.c old mode 100644 new mode 100755 diff --git a/src/tests/xfr_tests.c b/src/tests/xfr_tests.c old mode 100644 new mode 100755 diff --git a/src/tests/xfr_tests.h b/src/tests/xfr_tests.h old mode 100644 new mode 100755 diff --git a/src/zcompile/LICENSE b/src/zcompile/LICENSE old mode 100644 new mode 100755 diff --git a/src/zcompile/parser-descriptor.c b/src/zcompile/parser-descriptor.c old mode 100644 new mode 100755 diff --git a/src/zcompile/parser-descriptor.h b/src/zcompile/parser-descriptor.h old mode 100644 new mode 100755 diff --git a/src/zcompile/parser-util.c b/src/zcompile/parser-util.c old mode 100644 new mode 100755 diff --git a/src/zcompile/parser-util.h b/src/zcompile/parser-util.h old mode 100644 new mode 100755 diff --git a/src/zcompile/tests/unittests_zp_main.c b/src/zcompile/tests/unittests_zp_main.c old mode 100644 new mode 100755 diff --git a/src/zcompile/tests/zcompile_tests.c b/src/zcompile/tests/zcompile_tests.c old mode 100644 new mode 100755 diff --git a/src/zcompile/zcompile-error.c b/src/zcompile/zcompile-error.c old mode 100644 new mode 100755 diff --git a/src/zcompile/zcompile-error.h b/src/zcompile/zcompile-error.h old mode 100644 new mode 100755 diff --git a/src/zcompile/zcompile.c b/src/zcompile/zcompile.c old mode 100644 new mode 100755 diff --git a/src/zcompile/zcompile.h b/src/zcompile/zcompile.h old mode 100644 new mode 100755 diff --git a/src/zcompile/zcompile_main.c b/src/zcompile/zcompile_main.c old mode 100644 new mode 100755 diff --git a/src/zcompile/zlexer.l b/src/zcompile/zlexer.l old mode 100644 new mode 100755 diff --git a/src/zcompile/zparser.y b/src/zcompile/zparser.y old mode 100644 new mode 100755 -- cgit v1.2.3