Searched refs:path0 (Results 1 – 1 of 1) sorted by relevance
669 sltab_add_sym(const char *path0, const char *value0, mode_t mode) in sltab_add_sym() argument679 fd = open(path0, O_WRONLY | O_CREAT | O_EXCL | O_CLOEXEC, 0600); in sltab_add_sym()683 unlink(path0); in sltab_add_sym()689 if (havechd && *path0 != '/') { in sltab_add_sym()690 if ((path = realpath(path0, NULL)) == NULL) { in sltab_add_sym()691 syswarn(1, errno, "Cannot canonicalize %s", path0); in sltab_add_sym()692 unlink(path0); in sltab_add_sym()695 } else if ((path = strdup(path0)) == NULL) { in sltab_add_sym()697 unlink(path0); in sltab_add_sym()