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

123

/netbsd-current/external/mit/libuv/dist/test/
H A Dtest-homedir.c29 TEST_IMPL(homedir) {
30 char homedir[PATHMAX]; local
35 len = sizeof homedir;
36 homedir[0] = '\0';
37 ASSERT(strlen(homedir) == 0);
38 r = uv_os_homedir(homedir, &len);
40 ASSERT(strlen(homedir) == len);
42 ASSERT(homedir[len] == '\0');
45 if (len == 3 && homedir[1] == ':')
46 ASSERT(homedir[
[all...]
H A Dtest-get-passwd.c55 len = strlen(pwd.homedir);
59 if (len == 3 && pwd.homedir[1] == ':')
60 ASSERT(pwd.homedir[2] == '\\');
62 ASSERT(pwd.homedir[len - 1] != '\\');
65 ASSERT(pwd.homedir[0] == '/');
67 ASSERT(pwd.homedir[len - 1] != '/');
87 ASSERT_NULL(pwd.homedir);
94 ASSERT_NULL(pwd.homedir);
/netbsd-current/external/bsd/openldap/dist/tests/data/
H A Dslapd-homedir.conf28 #homedirmod#moduleload ../servers/slapd/overlays/homedir.la
46 overlay homedir
48 homedir-min-uidnumber @MINUID@
49 homedir-skeleton-path @DATADIR@/homedir/skel
50 homedir-regexp ^(/home/[-_/a-z0-9]+)$ @TESTDIR@/$1
51 homedir-delete-style ARCHIVE
52 homedir-archive-path @TESTDIR@/archive
/netbsd-current/external/bsd/am-utils/bin/hlfsd/
H A DMakefile10 SRCS= hlfsd.c homedir.c nfs_prot_svc.c stubs.c
/netbsd-current/games/warp/
H A Dintrp.h13 EXT char *homedir INIT(NULL); /* login directory */
H A Dintrp.c44 homedir = getenv("HOME");
45 if (homedir == NULL)
46 homedir = getenv("LOGDIR");
48 dotdir = getval("DOTDIR",homedir);
110 snprintf(scrbuf, sizeof(scrbuf), "%s%s",homedir,s);
382 s = homedir;
/netbsd-current/usr.bin/mail/
H A Dtemp.c88 homedir = savestr(cp);
98 (void)printf("user = %s, homedir = %s, origdir = %s\n",
99 myname, homedir, origdir);
H A Dglob.h65 EXTERN char *homedir; /* Path name of home directory */ variable
/netbsd-current/external/gpl2/xcvs/dist/src/
H A Dcvsrc.c36 char *homedir; local
68 homedir = get_homedir ();
74 if (!homedir)
77 homeinit = strcat_filename_onto_homedir (homedir, cvsrc);
/netbsd-current/external/bsd/am-utils/dist/hlfsd/
H A DMakefile.am17 homedir.c \
H A Dhlfsd.h135 extern char *homedir(int, int);
/netbsd-current/usr.sbin/bootp/common/
H A Dbootpd.h105 homedir :1, member in struct:flag
174 *homedir,
173 *homedir, member in struct:host
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Dsshconnect.h44 char *homedir; member in struct:ssh_conn_info
63 "d", conn_info->homedir, \
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/kafs/
H A Dkafs.h118 const char *homedir);
120 const char *homedir);
173 const char *homedir);
179 const char *homedir);
H A Dcommon.c217 const char *homedir)
222 int er = (*data->afslog_uid)(data, cells[i], 0, uid, homedir);
231 uid_t uid, const char *homedir)
237 if (homedir == NULL)
238 homedir = getenv("HOME");
239 if (homedir != NULL) {
241 snprintf(home, sizeof(home), "%s/.TheseCells", homedir);
257 ret = afslog_cells(data, cells, idx, uid, homedir);
216 afslog_cells(struct kafs_data *data, char **cells, int max, uid_t uid, const char *homedir) argument
230 _kafs_afslog_all_local_cells(struct kafs_data *data, uid_t uid, const char *homedir) argument
H A Dafskrb5.c208 uid_t uid, const char *homedir)
217 return _kafs_afslog_all_local_cells (data, uid, homedir);
255 const char *homedir)
281 ret = afslog_uid_int(&kd, cell, 0, uid, homedir);
314 const char *homedir)
316 return krb5_afslog_uid_home (context, id, cell, realm, getuid(), homedir);
207 afslog_uid_int(struct kafs_data *data, const char *cell, const char *rh, uid_t uid, const char *homedir) argument
250 krb5_afslog_uid_home(krb5_context context, krb5_ccache id, const char *cell, krb5_const_realm realm, uid_t uid, const char *homedir) argument
310 krb5_afslog_home(krb5_context context, krb5_ccache id, const char *cell, krb5_const_realm realm, const char *homedir) argument
/netbsd-current/usr.sbin/bootp/bootpd/
H A Dbootpd.c607 char *homedir, *bootfile;
827 * Determine client's requested homedir and bootfile.
829 homedir = NULL;
834 homedir = bp->bp_file;
837 for (t = homedir; t - homedir < BP_FILE_LEN; t++)
840 if (t - homedir < BP_FILE_LEN) {
841 report(LOG_INFO, "requested path length > BP_FILE_LEN file = \"%s\", nul terminating", homedir);
842 homedir[BP_FILE_LEN - 1] = '\0';
845 bootfile = strrchr(homedir, '/');
602 char *homedir, *bootfile; local
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/readline/readline/
H A Dutil.c181 char *homedir, *temp; local
189 homedir = tilde_expand ("~");
190 _rl_replace_text (homedir, start, end);
191 xfree (homedir);
220 homedir = tilde_expand (temp);
223 _rl_replace_text (homedir, start, end);
224 xfree (homedir);
/netbsd-current/external/gpl3/gdb/dist/readline/readline/
H A Dutil.c182 char *homedir, *temp; local
190 homedir = tilde_expand ("~");
191 _rl_replace_text (homedir, start, end);
192 xfree (homedir);
221 homedir = tilde_expand (temp);
224 _rl_replace_text (homedir, start, end);
225 xfree (homedir);
/netbsd-current/usr.bin/rdist/
H A Dmain.c76 char homedir[PATH_MAX]; /* user's home directory */ variable
100 strlcpy(homedir, pw->pw_dir, sizeof(homedir));
/netbsd-current/external/gpl3/gdb/dist/gdbsupport/
H A Dpathstuff.cc358 const char *homedir = getenv ("HOME"); local
359 if (homedir != nullptr && homedir[0] != '\0')
362 std::string abs = gdb_abspath (homedir);
/netbsd-current/etc/
H A Dsecurity512 while read uid homedir; do
513 if [ -f ${homedir}/.rhosts ] ; then
514 rhost=$(ls -ldgT ${homedir}/.rhosts)
523 while read uid homedir; do
524 if [ -f ${homedir}/.rhosts ] &&
525 [ -r ${homedir}/.rhosts ] &&
526 cat -f ${homedir}/.rhosts | egrep '\+' > /dev/null
543 while read uid homedir; do
544 if [ -d ${homedir}/ ] ; then
545 file=$(ls -ldgT ${homedir})
[all...]
/netbsd-current/external/gpl2/texinfo/dist/info/
H A Dinfokey.c181 char *homedir;
183 homedir = getenv ("HOME");
185 if (!homedir)
186 homedir = ".";
189 input_filename = mkpath (homedir, INFOKEY_SRCFILE);
191 output_filename = mkpath (homedir, INFOKEY_FILE);
180 char *homedir; local
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/nssov/
H A Dpasswd.c218 struct berval homedir; local
328 homedir=default_passwd_homeDirectory;
337 homedir=a->a_vals[0];
338 if (homedir.bv_val[0]=='\0')
339 homedir=default_passwd_homeDirectory;
385 WRITE_BERVAL(cbp->fp,&homedir);
/netbsd-current/crypto/external/bsd/netpgp/dist/bindings/lua/
H A Dnetpgp.lua41 opt.add_option{"-h", "--homedir", action="store", dest="homedir", help="--homedir directory"}
72 if options.homedir then
73 netpgp.homedir(pgp, options.homedir)

Completed in 590 milliseconds

123