From nobody Mon Apr 29 16:34:04 2024 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-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=1583414597; cv=none; d=zohomail.com; s=zohoarc; b=V/HzaM4CZfeCaV3o1F9SAi1VBBPxn+YXm7cdjyijLfv5V2Fj67rGM5FwHXo8S7TXnmz5kl5QDVKxv0RzviiiqDRNBClnASS8zsMpqWQUe4/ePBmnqjfZ8rLfLM81gYaLF5qflwVxb5AqLUKQYlupikhFHRYgDxgJ025CEcw3rNA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583414597; h=Content-Type:Content-Transfer-Encoding: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=Qcikp/UXsNpPg5Pw5rXop7PMVhf/oF/dMnGZvelOrfI=; b=ZENEnS3WvLKnzH0NXZ5Lz4pJBkV5yUA9MLWWOpYtLcChM/Tl8RGCYD8yTObanz9NkqUurFiOFxPUXf2hx82FERtaHnGvKR/qPqLRlkWTx7OtqQ6tV1dc2YS27q/d7k5WhtzTFMx6m944ynm5PUHmfI1goYwMR0orQ6nnJKnYhT0= 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-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 158341459742548.16936665062656; Thu, 5 Mar 2020 05:23:17 -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-12-K9V28jfVOs2T0LElWv9jaA-1; Thu, 05 Mar 2020 08:23:12 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6A09C13E4; Thu, 5 Mar 2020 13:23:06 +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 367B291D91; Thu, 5 Mar 2020 13:23:06 +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 B665D86A0E; Thu, 5 Mar 2020 13:23:05 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 025DMZv7005729 for ; Thu, 5 Mar 2020 08:22:35 -0500 Received: by smtp.corp.redhat.com (Postfix) id BC3CE5DA2C; Thu, 5 Mar 2020 13:22:35 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.43.2.81]) by smtp.corp.redhat.com (Postfix) with ESMTP id 41BC05D9C9 for ; Thu, 5 Mar 2020 13:22:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583414596; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=Qcikp/UXsNpPg5Pw5rXop7PMVhf/oF/dMnGZvelOrfI=; b=cWhQ0a/afwlSEJNnD8yIctR39S8tfvispTWHRsVUJocljxJtlgWRSwQQzVsb5lTIDJlDqV Wip5eIpewXmYu7X2E5e/om0tpAhdNc40fqB60li5fj0TUjHASCs+IQHbKDQFAdfMUFG0Ae 7wuc6nzLB5MTmqbAovoGwpuMrD8ZSZA= X-MC-Unique: K9V28jfVOs2T0LElWv9jaA-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 1/2] util: audit: drop support for old libaudit Date: Thu, 5 Mar 2020 14:22:27 +0100 Message-Id: <5f391a03985c8bde20730c38c54580ea4a5e9069.1583414537.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Virtualization event types were added in 2.0.5: https://github.com/linux-audit/audit-userspace/commit/3755e9ff Even Ubuntu 14.04 (which we don't support) has 2.3.2. Signed-off-by: J=C3=A1n Tomko Reviewed-by: Daniel Henrique Barboza --- src/util/viraudit.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/util/viraudit.c b/src/util/viraudit.c index 20eb3f3621..c8346aa81b 100644 --- a/src/util/viraudit.c +++ b/src/util/viraudit.c @@ -35,18 +35,6 @@ =20 VIR_LOG_INIT("util.audit"); =20 -/* Provide the macros in case the header file is old. - FIXME: should be removed. */ -#ifndef AUDIT_VIRT_CONTROL -# define AUDIT_VIRT_CONTROL 2500 /* Start, Pause, Stop VM */ -#endif -#ifndef AUDIT_VIRT_RESOURCE -# define AUDIT_VIRT_RESOURCE 2501 /* Resource assignment */ -#endif -#ifndef AUDIT_VIRT_MACHINE_ID -# define AUDIT_VIRT_MACHINE_ID 2502 /* Binding of label to VM */ -#endif - #define VIR_FROM_THIS VIR_FROM_AUDIT =20 #if WITH_AUDIT --=20 2.24.1 From nobody Mon Apr 29 16:34:04 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; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 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=1583414599; cv=none; d=zohomail.com; s=zohoarc; b=NIhRq2HltuELMzXoURs1ELkB0j7ZJdQiUdfdvrg2HINWSfLYyZRtIkHJI7yqSYnsBFP1/z/1BV4A2c/TN2KikojVhfuz0JKj0f85ykV0XWbp0Z/CvDFm/LEHv8VuaW4NsfZBz87CtjsJV7z4PdcERlVDC6zIbrCsmQuG0rk+OA8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583414599; h=Content-Type:Content-Transfer-Encoding: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=S+Ch5vWBkv6F8MKVH0AukoAI0Blt27oqzyYr0q7sj3Y=; b=PMgdW+gq8FpuxIbqzVP0ZZhgbbi7sgKmAiyyFYxucx3c04Jlw+0ONPA+r9/J8GtWdUcsjmktTRmEnGr53LyCHmn/EjZFTitoxPbkf/RreGXbn9qkyG3rqURlaO/LFiSsK3ArD2Zk6qXUrN6ovysBTJqL5T9Kkj0yPMMf4myAws4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 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-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1583414599854588.2582002601686; Thu, 5 Mar 2020 05:23:19 -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-319-hcvfcIbcPpG9yj6D1jgbpQ-1; Thu, 05 Mar 2020 08:23:16 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A86A5107ACC9; Thu, 5 Mar 2020 13:23:10 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7501560BE0; Thu, 5 Mar 2020 13:23:10 +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 29D95182B013; Thu, 5 Mar 2020 13:23:10 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 025DMaPj005737 for ; Thu, 5 Mar 2020 08:22:36 -0500 Received: by smtp.corp.redhat.com (Postfix) id 915AC5DA2C; Thu, 5 Mar 2020 13:22:36 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.43.2.81]) by smtp.corp.redhat.com (Postfix) with ESMTP id 16E745D9C9 for ; Thu, 5 Mar 2020 13:22:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583414598; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=S+Ch5vWBkv6F8MKVH0AukoAI0Blt27oqzyYr0q7sj3Y=; b=H8zAtAmGjHN2agUKs2Dgzifr/yh1OlQ50gANASkMpVx4xpWrmgHf/tLy/L+d9ZF6bAWe+d nhWe693uUvPgOI7A6X5x9EjqV0uryDKnyrLDdgpPzwLfroK7v1/KU5McMOTFqKyskObEpP F89akZEJaEIyMMXsMcsP664cv7uYwKM= X-MC-Unique: hcvfcIbcPpG9yj6D1jgbpQ-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 2/2] util: viraudit: remove unnecessary includes Date: Thu, 5 Mar 2020 14:22:28 +0100 Message-Id: <60cdab86fe57ac0d9fd01ae14903a4e46a53daa4.1583414537.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: J=C3=A1n Tomko Reviewed-by: Daniel Henrique Barboza --- src/util/viraudit.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/util/viraudit.c b/src/util/viraudit.c index c8346aa81b..13421653b9 100644 --- a/src/util/viraudit.c +++ b/src/util/viraudit.c @@ -24,14 +24,11 @@ #ifdef WITH_AUDIT # include #endif -#include =20 #include "virerror.h" #include "virlog.h" #include "viraudit.h" #include "virfile.h" -#include "viralloc.h" -#include "virstring.h" =20 VIR_LOG_INIT("util.audit"); =20 --=20 2.24.1