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

12

/external/curl/src/
H A Dtool_homedir.h26 char *homedir(void);
H A Dtool_homedir.c63 char *homedir(void) function
H A Dtool_parsecfg.c58 /* NULL or no file name attempts to load .curlrc from the homedir! */
62 home = homedir(); /* portable homedir finder */
/external/selinux/policycoreutils/restorecond/
H A Drestorecond.h28 extern const char *homedir;
H A Drestorecond.c65 const char *homedir; variable
211 homedir = pwd->pw_dir;
H A Duser.c200 if (asprintf(&ptr, "%s/.restorecond", homedir) < 0) {
H A Dwatch.c231 if (asprintf(&ptr, "%s%s", homedir, &buffer[1]) < 0)
/external/dbus/dbus/
H A Ddbus-userdb.c80 dbus_free (info->homedir);
292 info->homedir) ||
379 * Gets homedir of user owning current process. The returned string
382 * @param homedir place to store pointer to homedir
386 _dbus_homedir_from_current_process (const DBusString **homedir) argument
394 *homedir = &process_homedir;
404 * @param homedir string to append home directory to
405 * @returns #TRUE if user existed and we appended their homedir
409 DBusString *homedir)
408 _dbus_homedir_from_username(const DBusString *username, DBusString *homedir) argument
447 _dbus_homedir_from_uid(dbus_uid_t uid, DBusString *homedir) argument
[all...]
H A Ddbus-userdb.h112 dbus_bool_t _dbus_homedir_from_current_process (const DBusString **homedir);
114 DBusString *homedir);
117 DBusString *homedir);
H A Ddbus-sysdeps-unix.h105 char *homedir; /**< Home directory */ member in struct:DBusUserInfo
H A Ddbus-userdb-util.c439 const DBusString *homedir; local
448 if (!_dbus_homedir_from_current_process (&homedir))
449 _dbus_assert_not_reached ("didn't get homedir");
457 printf (" Current user: %s homedir: %s gids:",
459 _dbus_string_get_const_data (homedir));
H A Ddbus-sysdeps-unix.c2041 info->homedir = _dbus_strdup (p->pw_dir);
2044 info->homedir == NULL)
2070 info->homedir = NULL;
3758 const DBusString *homedir; local
3761 if (!_dbus_homedir_from_current_process (&homedir))
3764 if (!_dbus_string_append (&servicedir_path, _dbus_string_get_const_data (homedir)))
3912 DBusString homedir; local
3919 if (!_dbus_string_init (&homedir))
3925 if (!_dbus_homedir_from_uid (uid, &homedir))
3935 _dbus_string_set_length (&homedir,
[all...]
H A Ddbus-sysdeps-win.c3315 DBusString homedir; local
3323 if (!_dbus_string_init (&homedir))
3329 _dbus_string_append(&homedir,homedrive);
3335 _dbus_string_append(&homedir,homepath);
3345 _dbus_string_set_length (&homedir, 0);
3346 if (!_dbus_string_append (&homedir, override))
3349 _dbus_verbose ("Using fake homedir for testing: %s\n",
3350 _dbus_string_get_const_data (&homedir));
3373 if (!_dbus_concat_dir_and_file (&homedir,
3377 if (!_dbus_string_copy (&homedir,
[all...]
/external/selinux/policycoreutils/sandbox/
H A Dtest_sandbox.py53 "Verify that we can't list homedir within the sandbox"
83 "Verify that we set homedir a file system"
84 homedir = mkdtemp(dir=".", prefix=".sandbox_test")
85 p = Popen(['sandbox', '-H', homedir, '-M', 'id'], stdout=PIPE, stderr=PIPE)
87 shutil.rmtree(homedir)
H A Dsandbox211 if not self.__options.homedir or not self.__options.tmpdir:
262 homedir = pwd.getpwuid(os.getuid()).pw_dir
264 copyfile(f, homedir, self.__homedir)
306 sandbox [-h] [-l level ] [-[X|M] [-H homedir] [-T tempdir]] [-I includefile ] [-W windowmanager ] [ -w windowsize ] [[-i file ] ...] [ -t type ] command
308 sandbox [-h] [-l level ] [-[X|M] [-H homedir] [-T tempdir]] [-I includefile ] [-W windowmanager ] [ -w windowsize ] [[-i file ] ...] [ -t type ] -S
341 parser.add_option("-H", "--homedir",
344 dest="homedir",
389 if not self.__options.homedir or not self.__options.tmpdir:
394 self.__homedir = self.__options.homedir
398 self.__homedir = self.__options.homedir
[all...]
/external/curl/lib/
H A Dssh.h126 char *homedir; /* when doing SFTP we figure out home dir in the member in struct:ssh_conn
H A Dssh.c129 char *homedir, /* when SFTP is used */
412 char *homedir, /* when SFTP is used */
441 size_t homelen = strlen(homedir);
449 memcpy(real_path, homedir, homelen);
1153 sshc->homedir = strdup(tempHome);
1154 if(!sshc->homedir) {
1159 conn->data->state.most_recent_ftp_entrypath = sshc->homedir;
1178 we get the homedir here, we get the "workingpath" in the DO action
1179 since the homedir will remain the same between request but the
1187 result = ssh_getworkingpath(conn, sshc->homedir,
411 ssh_getworkingpath(struct connectdata *conn, char *homedir, char **path) argument
[all...]
/external/webrtc/webrtc/base/
H A Dunixfilesystem.cc426 const char* homedir; local
428 homedir = home;
430 homedir = dotdir;
432 homedir = pw->pw_dir;
436 path->SetPathname(homedir, "");
/external/libvncserver/libvncserver/tightvnc-filetransfer/
H A Dhandlefiletransferrequest.c62 void FreeHomeDir(char *homedir);
162 char *homedir = NULL; local
169 homedir = strdup (pwEnt->pw_dir);
172 return homedir;
178 * directory. param: homedir - the string returned by a previous call to
182 FreeHomeDir(char *homedir) argument
184 free (homedir);
/external/openssh/
H A Dauth.c473 char buf[PATH_MAX], homedir[PATH_MAX]; local
483 if (pw_dir != NULL && realpath(pw_dir, homedir) != NULL)
522 /* If are past the homedir then we can stop */
523 if (comparehome && strcmp(homedir, buf) == 0)
H A Dsftp-server.c1510 char *cp, *homedir = NULL, buf[4*4096]; local
1560 homedir = percent_expand(cp, "d", user_pw->pw_dir,
1638 if (homedir != NULL) {
1639 if (chdir(homedir) != 0) {
1640 error("chdir to \"%s\" failed: %s", homedir,
/external/selinux/libsemanage/src/
H A Dgenhomedircon.c160 static int ignore(const char *homedir) { argument
163 if (strcmp(ptr->dir, homedir) == 0) {
386 * so we don't label a non-homedir as a homedir.
396 WARN(s->h_semanage, "%s homedir %s or its parent directory conflicts with a file context already specified in the policy. This usually indicates an incorrectly defined system account. If it is a system account please make sure its uid is less than %u or greater than %u or its login shell is /sbin/nologin.", pwbuf->pw_name, pwbuf->pw_dir, minuid, maxuid);
444 * homedir.
586 semanage_list_t * tpl, char *homedir)
589 {.search_for = TEMPLATE_HOME_ROOT,.replace_with = homedir},
585 write_home_root_context(genhomedircon_settings_t * s, FILE * out, semanage_list_t * tpl, char *homedir) argument
/external/libhevc/test/decoder/
H A Dmain.c1716 int hevcdec_main(char *homedir, char *documentdir, int screen_wd, int screen_ht) argument
1772 sprintf(filename_trace, "%s/iostrace.txt", homedir);
1929 sprintf(filename_with_path, "%s/%s", homedir, ac_cfg_fname);
1970 sprintf(filename_with_path, "%s/%s", homedir, s_app_ctx.ac_ip_fname);
1987 sprintf(filename_with_path, "%s/%s", homedir, s_app_ctx.ac_piclen_fname);
/external/mksh/src/
H A Deval.c76 static char *homedir(char *);
1711 dp = homedir(cp);
1725 homedir(char *name) function
/external/libavc/test/decoder/
H A Dmain.c1778 int h264dec_main(char * homedir,char *documentdir, int screen_wd, int screen_ht) argument
1836 sprintf(filename_trace, "%s/iostrace.txt", homedir );
1993 sprintf(filename_with_path, "%s/%s", homedir, ac_cfg_fname);
2035 sprintf(filename_with_path, "%s/%s", homedir, s_app_ctx.ac_ip_fname);
2052 sprintf(filename_with_path, "%s/%s", homedir, s_app_ctx.ac_piclen_fname);

Completed in 380 milliseconds

12