From nobody Tue Feb 10 06:25:07 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1576615245; cv=none; d=zohomail.com; s=zohoarc; b=E7hNaj1BOR1UFFWnsS0ze0+QJQMCKAmnSVXHHsn6e8+eHsnB8O+fhqg+8/RGWZdsGRAVg5A66fdkWkewgvOKAl0qHeHSCZPWnv5HREbJtdP/OXCWpElL0LzJCwuw8FOKJHX9tmSSjSqK8DLsia6ytnJffj45qYQuyI18AabKYY4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1576615245; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Y7MbE3mE27OV7438mm+S33ytvxEaVAxdHrsb4bIYTwo=; b=aA7U1hlQ24gtdWiPP2mCzeEc05CAWz7VkbedKMXTYgUSrzixHO/cv4v3xRRA29o3zvU1clKh4X9V5rDUptQXRMd9W6x4UyVKWHayJyQQbkIJtuZamN89fj4MPY0k0rcPvfVlQksSycWB2N6/EQ8rce8qFuxmBv/aNN2D54am448= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1576615245208246.32823555405685; Tue, 17 Dec 2019 12:40:45 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-176-BSfq0LejO8GOVRim81OLlg-1; Tue, 17 Dec 2019 15:40:41 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id AA7BF1809A40; Tue, 17 Dec 2019 20:40:35 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1BD5F5C1C3; Tue, 17 Dec 2019 20:40:32 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 8F591104905; Tue, 17 Dec 2019 20:40:30 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id xBHKeSC2006609 for ; Tue, 17 Dec 2019 15:40:28 -0500 Received: by smtp.corp.redhat.com (Postfix) id 1E87E7C82C; Tue, 17 Dec 2019 20:40:28 +0000 (UTC) Received: from laerte.redhat.com (unknown [10.43.2.64]) by smtp.corp.redhat.com (Postfix) with ESMTP id 728726FF0F; Tue, 17 Dec 2019 20:40:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576615243; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Y7MbE3mE27OV7438mm+S33ytvxEaVAxdHrsb4bIYTwo=; b=bHEixY/yTVy5rs7LJdq3V6x+Ixi1pW5Hi549QQm1JHSNgG7TRpa0OvQ/ukdDYyRRT7GjZg nXMiL2lTNa0oge3XEBIl9pnO71ribLvonRWDOC3aQ4jUD+z1xkw2QyIhYZoFSScQWfz4q6 QRQEeoFSUaETCq1pl/PWKaBL0RKmyfM= From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= To: libvir-list@redhat.com Date: Tue, 17 Dec 2019 21:40:18 +0100 Message-Id: <20191217204021.1018731-2-fidencio@redhat.com> In-Reply-To: <20191217204021.1018731-1-fidencio@redhat.com> References: <20191217204021.1018731-1-fidencio@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Cc: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Subject: [libvirt] [PATCH v3 1/4] util: Rewrite virGetUserDirectory() using g_get_home_dir() X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-MC-Unique: BSfq0LejO8GOVRim81OLlg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Signed-off-by: Fabiano Fid=C3=AAncio --- src/util/virutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/virutil.c b/src/util/virutil.c index ed1f696e37..7008c3119c 100644 --- a/src/util/virutil.c +++ b/src/util/virutil.c @@ -582,7 +582,7 @@ virGetHostnameQuiet(void) char * virGetUserDirectory(void) { - return virGetUserDirectoryByUID(geteuid()); + return g_strdup(g_get_home_dir()); } =20 =20 --=20 2.23.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list