From nobody Sun Feb 8 19:54:41 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 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=1670510141; cv=none; d=zohomail.com; s=zohoarc; b=lZF00tGXhbxP4GR9/z3ys1Ajc9/Zk8TtRqNoVfoXYTxskicQg1tHAMT8WSn/yz2U10QvxMPw2RWo28Dt4leLWFX5e6eE1l8E+yRC3128rO6GpfxyA3uSF1Ss59L8n//7pMXlWVqC05/PeuhI7NCR/Xqre9QkQqqAc91Y9GiCCU8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1670510141; 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=dmpl0sdOvV4Dr66nHnej9p5dy/j8g7aYbJ5M0RTwj+0=; b=KmFuRkoENU//CDAhyws3kDCYFS5iz9ila2I2Pr81NiPkhamEX0o4cJV95AQyuouZcWGZM/prxEXEFheZKx1ZkQEep2MLOdZHIf+j05S9yPaV9GO+D+1uu35hxBLoLjDx2qVCS2xIu6NPx4Mh1L8G19IgxhvIL0UWmjcLew40JMc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 167051014135384.28116974862712; Thu, 8 Dec 2022 06:35:41 -0800 (PST) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-114-JCDSNYzAMzGzyh-mkVtCeQ-1; Thu, 08 Dec 2022 09:35:36 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7BFAD1C06911; Thu, 8 Dec 2022 14:35:33 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 688481121333; Thu, 8 Dec 2022 14:35:33 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 78615194704D; Thu, 8 Dec 2022 14:35:32 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 94011194704A for ; Thu, 8 Dec 2022 14:35:31 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 869572024CC0; Thu, 8 Dec 2022 14:35:31 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.33.36.117]) by smtp.corp.redhat.com (Postfix) with ESMTP id F1BA12024CC5; Thu, 8 Dec 2022 14:35:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670510140; 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=dmpl0sdOvV4Dr66nHnej9p5dy/j8g7aYbJ5M0RTwj+0=; b=CIn5hQENXMiPb1raaKd2qQ0m5H60G6f2CR9AkxfIdeRtq2NVh75DzxARAiyv+Rnvb+JW9Z /Q/8Xg1yv0i/gXZoWw9rvcyIJAeC2bJDB4oOJcVtUb/FfnEwY2iEmoN7G1y1CcLEOby6Hr wtZAI/D4u4UpEsZHbVyKKfEyQJi3Cbw= X-MC-Unique: JCDSNYzAMzGzyh-mkVtCeQ-1 X-Original-To: libvir-list@listman.corp.redhat.com From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 02/21] meson: remove obsolete check for EPOLL_CLOEXEC Date: Thu, 8 Dec 2022 14:35:06 +0000 Message-Id: <20221208143525.1731853-3-berrange@redhat.com> In-Reply-To: <20221208143525.1731853-1-berrange@redhat.com> References: <20221208143525.1731853-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1670510142567100003 The EPOLL_CLOEXEC constant was introduced to Linux in commit a0998b50c3f0b8fdd265c63e0032f86ebe377dbf Author: Ulrich Drepper Date: Wed Jul 23 21:29:27 2008 -0700 flag parameters: epoll_create This is old enough that all our supported platforms can be assumed to have this feature. For added fun this whole meson check was semantically insane because EPOLL_CLOEXEC is not a valid arg to unshare(). Signed-off-by: Daniel P. Berrang=C3=A9 --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 22679db85d..f313767cfe 100644 --- a/meson.build +++ b/meson.build @@ -1532,7 +1532,7 @@ if not get_option('driver_lxc').disabled() and host_m= achine.system() =3D=3D 'linux' #include =20 void main(void) { - unshare(!(LO_FLAGS_AUTOCLEAR + EPOLL_CLOEXEC)); + unshare(!(LO_FLAGS_AUTOCLEAR)); } ''' if cc.compiles(lxc_support_code, name: 'lxc support', args: '-D_GNU_SOUR= CE') --=20 2.38.1