/freebsd-10.1-release/contrib/unbound/smallapp/ |
H A D | unbound-checkconf.c | 261 const char* chrootdir, struct config_file* cfg) 268 if(chrootdir && chrootdir[0]) 270 "chrootdir %s", desc, str, chrootdir); 283 const char* chrootdir, struct config_file* cfg) 287 check_chroot_string(desc, &p->str, chrootdir, cfg); 294 const char* chrootdir, struct config_file* cfg) 308 check_chroot_string(desc, &p->str, chrootdir, cfg); 333 if(cfg->chrootdir 260 check_chroot_string(const char* desc, char** ss, const char* chrootdir, struct config_file* cfg) argument 282 check_chroot_filelist(const char* desc, struct config_strlist* list, const char* chrootdir, struct config_file* cfg) argument 293 check_chroot_filelist_wild(const char* desc, struct config_strlist* list, const char* chrootdir, struct config_file* cfg) argument [all...] |
/freebsd-10.1-release/contrib/unbound/daemon/ |
H A D | unbound.c | 455 log_init(cfg->logfile, cfg->use_syslog, cfg->chrootdir); 487 /* true if pidfile is inside chrootdir, or nochroot */ 488 !(cfg->chrootdir && cfg->chrootdir[0]) || 489 (cfg->chrootdir && cfg->chrootdir[0] && 490 strncmp(daemon->pidfile, cfg->chrootdir, 491 strlen(cfg->chrootdir))==0)); 504 if(!(cfg->chrootdir && cfg->chrootdir[ [all...] |
H A D | remote.c | 1906 log_init(cfg->logfile, cfg->use_syslog, cfg->chrootdir);
|
/freebsd-10.1-release/usr.sbin/unbound/local-setup/ |
H A D | local-unbound-setup.sh | 39 chrootdir="" 77 chrootdir="${workdir}" 82 chrootdir="" 85 if [ -z "${chrootdir}" ] ; then 233 echo " chroot: ${chrootdir}"
|
/freebsd-10.1-release/contrib/unbound/validator/ |
H A D | val_anchor.c | 1056 if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(nm, 1057 cfg->chrootdir, strlen(cfg->chrootdir)) == 0) 1058 nm += strlen(cfg->chrootdir); 1069 if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(nm, 1070 cfg->chrootdir, strlen(cfg->chrootdir)) == 0) 1071 nm += strlen(cfg->chrootdir); [all...] |
/freebsd-10.1-release/contrib/unbound/util/ |
H A D | log.c | 83 log_init(const char* filename, int use_syslog, const char* chrootdir) argument 125 if(chrootdir && chrootdir[0] && strncmp(filename, chrootdir, 126 strlen(chrootdir)) == 0) 127 filename += strlen(chrootdir);
|
H A D | config_file.c | 135 if(!(cfg->chrootdir = strdup(CHROOT_DIR))) goto error_exit; 225 free(cfg->chrootdir); 226 cfg->chrootdir = NULL; 372 else S_STR("chroot:", chrootdir) 628 else O_STR(opt, "chroot", chrootdir) 845 free(cfg->chrootdir); 1197 if(cfg->chrootdir && cfg->chrootdir[0] && 1198 strncmp(cfg->chrootdir, fname, strlen(cfg->chrootdir)) [all...] |
H A D | log.h | 81 * @param chrootdir: to which directory we have been chrooted, if any. 83 void log_init(const char* filename, int use_syslog, const char* chrootdir);
|
H A D | config_file.h | 191 /** chrootdir, if not "" or chroot will be done */ 192 char* chrootdir; member in struct:config_file
|
H A D | configparser.y | 458 free(cfg_parser->cfg->chrootdir); 459 cfg_parser->cfg->chrootdir = $2;
|
/freebsd-10.1-release/contrib/unbound/iterator/ |
H A D | iter_hints.c | 404 if(cfg->chrootdir && cfg->chrootdir[0] && 405 strncmp(p->str, cfg->chrootdir, 406 strlen(cfg->chrootdir)) == 0) 407 f += strlen(cfg->chrootdir);
|
/freebsd-10.1-release/contrib/ntp/ntpd/ |
H A D | cmd_args.c | 85 chrootdir = OPT_ARG( JAILDIR );
|
H A D | ntpd.c | 182 const char *chrootdir; /* directory to chroot to */ variable 1015 if (chrootdir ) { 1017 if (chdir(chrootdir)) { 1018 msyslog(LOG_ERR, "Cannot chdir() to `%s': %m", chrootdir); 1021 if (chroot(chrootdir)) { 1022 msyslog(LOG_ERR, "Cannot chroot() to `%s': %m", chrootdir);
|
/freebsd-10.1-release/libexec/ftpd/ |
H A D | ftpd.c | 127 char *chrootdir; variable 1499 chrootdir = NULL; 1525 (chrootdir = strtok(residue, " \t")) != NULL) { 1526 if (chrootdir[0] != '/') 1527 asprintf(&chrootdir, "%s/%s", pw->pw_dir, chrootdir); 1529 chrootdir = strdup(chrootdir); /* make it permanent */ 1530 if (chrootdir == NULL) 1538 if (chrootdir [all...] |
/freebsd-10.1-release/contrib/ntp/include/ |
H A D | ntpd.h | 563 extern const char *chrootdir; /* directory to chroot() to */
|