/freebsd-11.0-release/contrib/unbound/smallapp/ |
H A D | unbound-checkconf.c | 267 const char* chrootdir, struct config_file* cfg) 274 if(chrootdir && chrootdir[0]) 276 "chrootdir %s", desc, str, chrootdir); 289 const char* chrootdir, struct config_file* cfg) 293 check_chroot_string(desc, &p->str, chrootdir, cfg); 300 const char* chrootdir, struct config_file* cfg) 314 check_chroot_string(desc, &p->str, chrootdir, cfg); 341 if(cfg->chrootdir 266 check_chroot_string(const char* desc, char** ss, const char* chrootdir, struct config_file* cfg) argument 288 check_chroot_filelist(const char* desc, struct config_strlist* list, const char* chrootdir, struct config_file* cfg) argument 299 check_chroot_filelist_wild(const char* desc, struct config_strlist* list, const char* chrootdir, struct config_file* cfg) argument [all...] |
/freebsd-11.0-release/contrib/unbound/daemon/ |
H A D | unbound.c | 465 log_init(cfg->logfile, cfg->use_syslog, cfg->chrootdir); 487 /* true if pidfile is inside chrootdir, or nochroot */ 488 pidinchroot = !(cfg->chrootdir && cfg->chrootdir[0]) || 489 (cfg->chrootdir && cfg->chrootdir[0] && 490 strncmp(cfg->pidfile, cfg->chrootdir, 491 strlen(cfg->chrootdir))==0); 547 if(cfg->chrootdir && cfg->chrootdir[ [all...] |
H A D | remote.c | 2146 log_init(cfg->logfile, cfg->use_syslog, cfg->chrootdir);
|
/freebsd-11.0-release/contrib/blacklist/etc/rc.d/ |
H A D | blacklistd | 29 # Find /etc/rc.d scripts with "chrootdir" rcorder(8) keyword, 33 for _lr in $(rcorder -k chrootdir /etc/rc.d/*); do
|
/freebsd-11.0-release/contrib/unbound/validator/ |
H A D | val_anchor.c | 1073 if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(nm, 1074 cfg->chrootdir, strlen(cfg->chrootdir)) == 0) 1075 nm += strlen(cfg->chrootdir); 1086 if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(nm, 1087 cfg->chrootdir, strlen(cfg->chrootdir)) == 0) 1088 nm += strlen(cfg->chrootdir); [all...] |
/freebsd-11.0-release/usr.sbin/bsdinstall/distextract/ |
H A D | distextract.c | 64 char *chrootdir; local 136 chrootdir = getenv("BSDINSTALL_CHROOT"); 137 if (chrootdir != NULL && chdir(chrootdir) != 0) { 140 chrootdir, strerror(errno));
|
/freebsd-11.0-release/usr.sbin/unbound/local-setup/ |
H A D | local-unbound-setup.sh | 41 chrootdir="" 81 chrootdir="${workdir}" 86 chrootdir="" 89 if [ -z "${chrootdir}" ] ; then 235 echo " chroot: ${chrootdir}"
|
/freebsd-11.0-release/contrib/unbound/util/ |
H A D | log.c | 87 log_init(const char* filename, int use_syslog, const char* chrootdir) argument 137 if(chrootdir && chrootdir[0] && strncmp(filename, chrootdir, 138 strlen(chrootdir)) == 0) 139 filename += strlen(chrootdir);
|
H A D | config_file.c | 151 if(!(cfg->chrootdir = strdup(CHROOT_DIR))) goto error_exit; 258 free(cfg->chrootdir); 259 cfg->chrootdir = NULL; 414 else S_STR("chroot:", chrootdir) 691 else O_STR(opt, "chroot", chrootdir) 939 free(cfg->chrootdir); 1317 if(cfg->chrootdir && cfg->chrootdir[0] && 1318 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 | 205 /** chrootdir, if not "" or chroot will be done */ 206 char* chrootdir; member in struct:config_file
|
H A D | configparser.y | 505 free(cfg_parser->cfg->chrootdir); 506 cfg_parser->cfg->chrootdir = $2;
|
/freebsd-11.0-release/contrib/unbound/iterator/ |
H A D | iter_hints.c | 406 if(cfg->chrootdir && cfg->chrootdir[0] && 407 strncmp(p->str, cfg->chrootdir, 408 strlen(cfg->chrootdir)) == 0) 409 f += strlen(cfg->chrootdir);
|
/freebsd-11.0-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 1017 if (chrootdir ) { 1019 if (chdir(chrootdir)) { 1020 msyslog(LOG_ERR, "Cannot chdir() to `%s': %m", chrootdir); 1023 if (chroot(chrootdir)) { 1024 msyslog(LOG_ERR, "Cannot chroot() to `%s': %m", chrootdir);
|
/freebsd-11.0-release/libexec/ftpd/ |
H A D | ftpd.c | 131 char *chrootdir; variable 1514 chrootdir = NULL; 1540 (chrootdir = strtok(residue, " \t")) != NULL) { 1541 if (chrootdir[0] != '/') 1542 asprintf(&chrootdir, "%s/%s", pw->pw_dir, chrootdir); 1544 chrootdir = strdup(chrootdir); /* make it permanent */ 1545 if (chrootdir == NULL) 1553 if (chrootdir [all...] |
/freebsd-11.0-release/contrib/ntp/include/ |
H A D | ntpd.h | 566 extern const char *chrootdir; /* directory to chroot() to */
|