- no useless initialisation if getpwnam not available.
- iana, ldns snapshot updated.
git-svn-id: file:///svn/unbound/trunk@1150
be551aaa-1e26-0410-a405-
d3ace91eadb9
@echo "You still need to remove "`dirname $(DESTDIR)$(configfile)`" , $(DESTDIR)$(configfile) by hand"
download_ldns:
- svn export https://www.nlnetlabs.nl/ldns/svn/trunk/makedist.sh ldns_makedist.sh
- ./ldns_makedist.sh -s -d https://www.nlnetlabs.nl/ldns/svn/trunk
+ svn export https://www.nlnetlabs.nl/svn/ldns/trunk/makedist.sh ldns_makedist.sh
+ ./ldns_makedist.sh -s -d https://www.nlnetlabs.nl/svn/ldns/trunk
mv ldns-*_pre_*.tar.gz ldns-src.tar.gz
rm ldns-*_pre_*.tar.gz.sha1 ldns_makedist.sh
Summary: Validating, recursive, and caching DNS resolver
Name: unbound
-Version: 1.0.0
+Version: 1.0.1
Release: 1%{?dist}
License: BSD
Url: http://www.nlnetlabs.nl/unbound/
do_chroot(struct daemon* daemon, struct config_file* cfg, int debug_mode,
char** cfgfile)
{
+#ifdef HAVE_GETPWNAM
uid_t uid;
gid_t gid;
/* initialize, but not to 0 (root) */
log_assert(cfg);
/* daemonize last to be able to print error to user */
-#ifdef HAVE_GETPWNAM
if(cfg->username && cfg->username[0]) {
struct passwd *pwd;
if((pwd = getpwnam(cfg->username)) == NULL)
IPv6 example prefix to AS112 default blocklist.
- fixup lookup of DS records by client with trustanchor for same.
- libunbound ub_resolve, fix handling of error condition during setup.
+ - lowered log_hex blocksize to fit through BSD syslog linesize.
+ - no useless initialisation if getpwnam not available.
+ - iana, ldns snapshot updated.
3 July 2008: Wouter
- Matthijs fixed memory leaks in root hints file reading.
uint8_t* data8 = (uint8_t*)data;
const char* hexchar = "0123456789ABCDEF";
char buf[1024+1]; /* alloc blocksize hex chars + \0 */
- const size_t blocksize = 1024;
+ const size_t blocksize = 512;
size_t len;
if(length == 0) {