| /src/external/mpl/bind/dist/bin/confgen/ |
| rndc-confgen.c | 73 [-s addr] [-t chrootdir] [-u user]\n\ 82 -t chrootdir: write a keyfile in chrootdir as well (requires -a)\n\ 106 char *chrootdir = NULL; local 186 chrootdir = isc_commandline_argument; 235 write_key_file(keyfile, chrootdir == NULL ? user : NULL, 241 if (chrootdir != NULL) { 243 len = strlen(chrootdir) + strlen(keyfile) + 2; 245 snprintf(buf, len, "%s%s%s", chrootdir,
|
| /src/external/bsd/ntp/dist/ntpd/ |
| ntpd.c | 214 const char *chrootdir; /* directory to chroot to */ variable 1238 if (chrootdir ) { 1240 if (chdir(chrootdir)) { 1241 msyslog(LOG_ERR, "Cannot chdir() to `%s': %m", chrootdir); 1244 if (chroot(chrootdir)) { 1245 msyslog(LOG_ERR, "Cannot chroot() to `%s': %m", chrootdir);
|
| /src/external/bsd/nsd/dist/ |
| nsd.h | 275 const char *chrootdir; member in struct:nsd
|
| remote.c | 2159 if(xfrd->nsd->chrootdir) { 2160 size_t l = strlen(xfrd->nsd->chrootdir); 2161 while(l>0 && xfrd->nsd->chrootdir[l-1] == '/') 2163 if(strncmp(xfrd->nsd->chrootdir, cfgfile, l) != 0) { 2166 cfgfile, xfrd->nsd->chrootdir); 2207 const char *chrootdir = xfrd->nsd->chrootdir; local 2212 if (chrootdir && !file_inside_chroot(file, chrootdir)) 2215 xfrd->nsd->options->configfile, xfrd->nsd->chrootdir, [all...] |
| /src/libexec/httpd/ |
| bozohttpd.c | 2585 char *chrootdir; local 2704 if ((chrootdir = bozo_get_pref(prefs, "chroot dir")) != NULL) { 2705 httpd->rootdir = bozostrdup(httpd, NULL, chrootdir); 2723 if ((chrootdir != NULL || username != NULL) && !dirtyenv)
|
| /src/external/bsd/unbound/dist/util/ |
| config_file.h | 339 /** chrootdir, if not "" or chroot will be done */ 340 char* chrootdir; member in struct:config_file
|