Lines Matching refs:pp
2342 _cleanup_free_ char *p = NULL, *pp = NULL; in setup_exec_directory() local
2380 pp = path_join(params->prefix[type], "private"); in setup_exec_directory()
2381 if (!pp) { in setup_exec_directory()
2387 r = mkdir_safe_label(pp, 0700, 0, 0, MKDIR_WARN_MODE); in setup_exec_directory()
2391 if (!path_extend(&pp, context->directories[type].items[i].path)) { in setup_exec_directory()
2397 r = mkdir_parents_label(pp, 0755); in setup_exec_directory()
2402 (laccess(pp, F_OK) < 0 && errno == ENOENT)) { in setup_exec_directory()
2410 exec_directory_type_to_string(type), p, pp); in setup_exec_directory()
2412 if (rename(p, pp) < 0) { in setup_exec_directory()
2419 r = mkdir_label(pp, context->directories[type].mode); in setup_exec_directory()
2427 r = symlink_idempotent(pp, p, true); in setup_exec_directory()
2513 … r = chmod_and_chown(pp ?: p, context->directories[type].mode, UID_INVALID, GID_INVALID); in setup_exec_directory()
2520 r = path_chown_recursive(pp ?: p, uid, gid, context->dynamic_user ? 01777 : 07777); in setup_exec_directory()