Searched refs:homedir (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-10-stable/contrib/subversion/subversion/libsvn_subr/
H A Duser.c75 char *homedir; local
77 if (apr_env_get(&homedir, "HOME", pool) == APR_SUCCESS)
78 return utf8_or_nothing(homedir, pool);
82 apr_uid_homepath_get(&homedir, username, pool) == APR_SUCCESS)
83 return utf8_or_nothing(homedir, pool);
H A Dgpg_agent.c265 const char *homedir = svn_dirent_canonicalize(gnupghome, pool);
266 socket_name = svn_dirent_join(homedir, "S.gpg-agent", pool);
270 const char *homedir = svn_user_get_homedir(pool);
272 if (!homedir)
275 homedir = svn_dirent_canonicalize(homedir, pool);
276 socket_name = svn_dirent_join_many(pool, homedir, ".gnupg",
264 const char *homedir = svn_dirent_canonicalize(gnupghome, pool); local
269 const char *homedir = svn_user_get_homedir(pool); local
/freebsd-10-stable/usr.bin/mail/
H A Dtemp.c82 homedir = NULL;
84 homedir = savestr(cp);
86 printf("user = %s, homedir = %s\n", myname,
87 homedir ? homedir : "NONE");
H A Dglob.h56 char *homedir; /* Path name of home directory */ variable
H A Dfio.c364 if (name[0] == '~' && homedir != NULL &&
366 (void)snprintf(xname, sizeof(xname), "%s%s", homedir, name + 1);
430 homedir ? homedir : ".", folder);
/freebsd-10-stable/usr.sbin/amd/hlfsd/
H A DMakefile12 SRCS= hlfsd.c homedir.c nfs_prot_svc.c stubs.c
/freebsd-10-stable/contrib/opie/libopie/
H A Daccessfile.c153 int opiealways FUNCTION((homedir), char *homedir) argument
158 if (!homedir)
161 if (!(opiealwayspath = malloc(strlen(homedir) + sizeof(OPIE_ALWAYS_FILE) + 1)))
164 strcpy(opiealwayspath, homedir);
/freebsd-10-stable/libexec/bootpd/
H A Dbootpd.h105 homedir :1, member in struct:flag
174 *homedir,
173 *homedir, member in struct:host
H A Dbootpd.c640 char *homedir, *bootfile;
851 * Determine client's requested homedir and bootfile.
853 homedir = NULL;
856 homedir = bp->bp_file;
857 bootfile = strrchr(homedir, '/');
859 if (homedir == bootfile)
860 homedir = NULL;
864 bootfile = homedir;
865 homedir = NULL;
869 (homedir)
636 char *homedir, *bootfile; local
[all...]
H A Ddumptab.c181 if (hp->flags.homedir) {
182 fprintf(fp, "\\\n\t:hd=%s:", hp->homedir->string);
/freebsd-10-stable/crypto/heimdal/lib/kafs/
H A Dkafs.h113 const char *homedir);
115 const char *homedir);
168 const char *homedir);
174 const char *homedir);
H A Dcommon.c215 const char *homedir)
220 int er = (*data->afslog_uid)(data, cells[i], 0, uid, homedir);
229 uid_t uid, const char *homedir)
235 if (homedir == NULL)
236 homedir = getenv("HOME");
237 if (homedir != NULL) {
239 snprintf(home, sizeof(home), "%s/.TheseCells", homedir);
255 ret = afslog_cells(data, cells, idx, uid, homedir);
214 afslog_cells(struct kafs_data *data, char **cells, int max, uid_t uid, const char *homedir) argument
228 _kafs_afslog_all_local_cells(struct kafs_data *data, uid_t uid, const char *homedir) argument
H A Dafskrb5.c210 uid_t uid, const char *homedir)
219 return _kafs_afslog_all_local_cells (data, uid, homedir);
257 const char *homedir)
283 ret = afslog_uid_int(&kd, cell, 0, uid, homedir);
316 const char *homedir)
318 return krb5_afslog_uid_home (context, id, cell, realm, getuid(), homedir);
209 afslog_uid_int(struct kafs_data *data, const char *cell, const char *rh, uid_t uid, const char *homedir) argument
252 krb5_afslog_uid_home(krb5_context context, krb5_ccache id, const char *cell, krb5_const_realm realm, uid_t uid, const char *homedir) argument
312 krb5_afslog_home(krb5_context context, krb5_ccache id, const char *cell, krb5_const_realm realm, const char *homedir) argument
/freebsd-10-stable/release/picobsd/tinyware/simple_httpd/
H A Dsimple_httpd.c57 char homedir[100]; variable
379 strcpy (homedir,getenv("HOME"));
380 if (!geteuid()) strcpy (homedir,"/httphome");
381 else strcat (homedir,"/httphome");
395 strcpy(homedir,optarg);
432 if (chdir(homedir)) {
434 puts(homedir);
451 if (fetch_mode == NULL) printf("html home: %s\n",homedir);
/freebsd-10-stable/contrib/libreadline/
H A Dutil.c179 char *homedir, *temp; local
187 homedir = tilde_expand ("~");
188 _rl_replace_text (homedir, start, end);
215 homedir = tilde_expand (temp);
218 _rl_replace_text (homedir, start, end);
/freebsd-10-stable/crypto/openssh/regress/
H A Dcheck-perm.c97 char buf[PATH_MAX], homedir[PATH_MAX]; local
107 if (pw_dir != NULL && realpath(pw_dir, homedir) != NULL)
137 /* If are past the homedir then we can stop */
138 if (comparehome && strcmp(homedir, buf) == 0)
/freebsd-10-stable/libexec/ftpd/
H A Dextern.h80 extern char *homedir;
/freebsd-10-stable/contrib/amd/hlfsd/
H A Dhlfsd.h133 extern char *homedir(int, int);
/freebsd-10-stable/contrib/gdb/gdb/
H A Dmain.c151 char *homedir, *homeinit; local
612 homedir = getenv ("HOME");
613 if (homedir)
615 homeinit = (char *) alloca (strlen (homedir) +
617 strcpy (homeinit, homedir);
627 need them if homedir is set. Make sure that they are
636 homedir was set. */
705 if (!homedir
/freebsd-10-stable/contrib/texinfo/info/
H A Dinfokey.c179 char *homedir;
181 homedir = getenv ("HOME");
183 if (!homedir)
184 homedir = ".";
187 input_filename = mkpath (homedir, INFOKEY_SRCFILE);
189 output_filename = mkpath (homedir, INFOKEY_FILE);
178 char *homedir; local
/freebsd-10-stable/usr.sbin/pkg_install/create/
H A Dperform.c354 make_dist(const char *homedir, const char *pkg, const char *suff, Package *plist) argument
374 snprintf(tball, FILENAME_MAX, "%s/%s.%s", homedir, pkg, suff);
567 char homedir[MAXPATHLEN], log_dir[FILENAME_MAX]; local
574 getcwd(homedir, sizeof(homedir));
599 make_dist(homedir, pkg, suf, &plist);
602 if (chdir(homedir) == FAIL) {
603 warnx("can't change directory to '%s'!", homedir);
/freebsd-10-stable/crypto/heimdal/appl/ftp/ftp/
H A Dmain.c92 char homedir[MaxPathLen]; local
140 strlcpy(homedir, pw->pw_dir, sizeof(homedir));
141 home = homedir;
/freebsd-10-stable/usr.sbin/pw/
H A Dpw_user.c80 static char *pw_homepolicy(struct userconf * cnf, char *homedir,
429 pw_homepolicy(struct userconf * cnf, char *homedir, const char *user) argument
433 if (homedir)
434 return (homedir);
1191 char *gecos, *homedir, *skel, *walk, *userid, *groupid, *grname; local
1204 gecos = homedir = skel = userid = groupid = default_passwd = NULL;
1238 homedir = optarg;
1395 pwd->pw_dir = pw_homepolicy(cmdcnf, homedir, pwd->pw_name);
1517 char *gecos, *homedir, *grname, *name, *newname, *walk, *skel, *shell; local
1530 gecos = homedir
[all...]
/freebsd-10-stable/release/picobsd/tinyware/msh/
H A Dsh1.c66 homedir = lookup("HOME");
67 if (homedir->value == null)
68 setval(homedir, "/");
69 export(homedir);
/freebsd-10-stable/crypto/openssh/
H A Dauth.c484 char buf[PATH_MAX], homedir[PATH_MAX]; local
494 if (pw_dir != NULL && realpath(pw_dir, homedir) != NULL)
524 /* If are past the homedir then we can stop */
525 if (comparehome && strcmp(homedir, buf) == 0)

Completed in 670 milliseconds

12