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

12

/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Duser.c79 char *homedir; local
81 if (apr_env_get(&homedir, "HOME", pool) == APR_SUCCESS)
82 return utf8_or_nothing(homedir, pool);
86 apr_uid_homepath_get(&homedir, username, pool) == APR_SUCCESS)
87 return utf8_or_nothing(homedir, pool);
95 const char *homedir = user_get_homedir(pool); local
97 if (homedir)
98 return svn_dirent_canonicalize(homedir, pool);
H A Dgpg_agent.c235 * code in common/homedir.c.
269 const char *homedir = svn_dirent_canonicalize(gnupghome, scratch_pool);
270 socket_name = svn_dirent_join(homedir, "S.gpg-agent", scratch_pool);
276 const char *homedir;
298 homedir = svn_user_get_homedir(scratch_pool);
299 if (homedir)
300 maybe_socket[i++] = svn_dirent_join_many(scratch_pool, homedir,
268 const char *homedir = svn_dirent_canonicalize(gnupghome, scratch_pool); local
275 const char *homedir; local
/freebsd-11-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 extern char *homedir; /* Path name of home directory */
H A Dfio.c364 if (name[0] == '~' && homedir != NULL &&
366 (void)snprintf(xname, sizeof(xname), "%s%s", homedir, name + 1);
430 homedir ? homedir : ".", folder);
H A Dmain.c70 char *homedir; variable
/freebsd-11-stable/usr.sbin/amd/hlfsd/
H A DMakefile12 SRCS= hlfsd.c homedir.c nfs_prot_svc.c stubs.c
/freebsd-11-stable/contrib/opie/libopie/
H A Daccessfile.c154 int opiealways FUNCTION((homedir), char *homedir) argument
159 if (!homedir)
162 if (!(opiealwayspath = malloc(strlen(homedir) + sizeof(OPIE_ALWAYS_FILE) + 1)))
165 strcpy(opiealwayspath, homedir);
/freebsd-11-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;
855 * Determine client's requested homedir and bootfile.
857 homedir = NULL;
860 homedir = bp->bp_file;
861 bootfile = strrchr(homedir, '/');
863 if (homedir == bootfile)
864 homedir = NULL;
868 bootfile = homedir;
869 homedir = NULL;
873 (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-11-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-11-stable/release/picobsd/tinyware/simple_httpd/
H A Dsimple_httpd.c57 static 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-11-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-11-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-11-stable/contrib/llvm-project/lldb/source/API/
H A DSBHostOS.cpp98 FileSpec homedir(home_dir_path.c_str());
99 FileSystem::Instance().Resolve(homedir);
101 sb_fspec.SetFileSpec(homedir);
/freebsd-11-stable/contrib/amd/hlfsd/
H A Dhlfsd.h133 extern char *homedir(int, int);
/freebsd-11-stable/libexec/ftpd/
H A Dextern.h77 extern char *homedir;
/freebsd-11-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-11-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-11-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-11-stable/release/picobsd/tinyware/msh/
H A Dsh1.c66 homedir = lookup("HOME");
67 if (homedir->value == null)
68 setval(homedir, "/");
69 export(homedir);
/freebsd-11-stable/crypto/openssh/
H A Dauth.c497 char buf[PATH_MAX], homedir[PATH_MAX]; local
507 if (pw_dir != NULL && realpath(pw_dir, homedir) != NULL)
537 /* If are past the homedir then we can stop */
538 if (comparehome && strcmp(homedir, buf) == 0)

Completed in 170 milliseconds

12