From nobody Sat Apr 27 16:15:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=virtuozzo.com ARC-Seal: i=1; a=rsa-sha256; t=1594124877; cv=none; d=zohomail.com; s=zohoarc; b=NMOKQhXzgCHiKohzKzKzYZhroNzkNf05e8Rax40sckIFX8yAAV/XY/Wj3vPx4Y6q8bkckunoZ7NEb+ErTEJIxURPdbn5IGm5QfdIIpBbD599YO4vKXuM8fnTwsyeRE4xASLlwgm/FkalRMrPN/yjk5n+oNMGD7ZFjNujX0DIWNc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594124877; h=Content-Type:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:Sender:Subject:To; bh=luUJ/Eru1JLUQEO/iUd7p6qcSJawqxgBw9wy9X/U+D0=; b=dPA2/9JPl74RS1rjJZbiUfGeeYQnUcDakAZ+Zd7wSVb9Umz7J/pPGuJlROKuWcqxVeTCOCP/1+NnpX3HrqIWhL24bNLkQjvrV89Iiv1yPIqhYdsfRxZ4GSh/Q4SOXIMHl0pAOwje2ZgDGxC0vI3xVOQVlJupiUZEaiJZwidEbFw= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1594124877465747.9996222173721; Tue, 7 Jul 2020 05:27:57 -0700 (PDT) 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-295-TaXDx18mN36UgAcc5vl7lQ-1; Tue, 07 Jul 2020 08:27:53 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2F7C6100A8FC; Tue, 7 Jul 2020 12:27:22 +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 DAE175D9F3; Tue, 7 Jul 2020 12:27:20 +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 D754872F5B; Tue, 7 Jul 2020 12:27:18 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 067CPpcP013749 for ; Tue, 7 Jul 2020 08:25:51 -0400 Received: by smtp.corp.redhat.com (Postfix) id F0E8A208DD99; Tue, 7 Jul 2020 12:25:50 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EB5D9208DD94 for ; Tue, 7 Jul 2020 12:25:44 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9C9378EF3B1 for ; Tue, 7 Jul 2020 12:25:44 +0000 (UTC) Received: from relay3.sw.ru (relay.sw.ru [185.231.240.75]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-467-4TxprihbMW2DK0IZYjMJCw-1; Tue, 07 Jul 2020 08:25:42 -0400 Received: from [172.16.50.220] (helo=vz7.localdomain) by relay3.sw.ru with esmtp (Exim 4.93) (envelope-from ) id 1jsmH5-0002aw-Pt for libvir-list@redhat.com; Tue, 07 Jul 2020 15:00:35 +0300 X-MC-Unique: TaXDx18mN36UgAcc5vl7lQ-1 X-MC-Unique: 4TxprihbMW2DK0IZYjMJCw-1 From: Nikolay Shirokovskiy To: libvir-list@redhat.com Subject: [PATCH] storage: fix vstorage backend build Date: Tue, 7 Jul 2020 15:00:24 +0300 Message-Id: <1594123224-581352-1-git-send-email-nshirokovskiy@virtuozzo.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-loop: libvir-list@redhat.com 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.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add headers with declarations of geteuid/getegid and virGetUserName/virGetGroupName. Signed-off-by: Nikolay Shirokovskiy --- src/storage/storage_backend_vstorage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/storage/storage_backend_vstorage.c b/src/storage/storage_b= ackend_vstorage.c index 85ab832..6cff9f1 100644 --- a/src/storage/storage_backend_vstorage.c +++ b/src/storage/storage_backend_vstorage.c @@ -6,10 +6,12 @@ #include "storage_backend_vstorage.h" #include "virlog.h" #include "virstring.h" +#include "virutil.h" #include #include #include #include +#include #include "storage_util.h" =20 #define VIR_FROM_THIS VIR_FROM_STORAGE --=20 1.8.3.1