From nobody Fri Apr 26 08:54:16 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1610376068; cv=none; d=zohomail.com; s=zohoarc; b=as6HVr7geA4troD3b9jynrfCewLsQ1S8WSY1jrM80w5xtr3JfjY8QRj8fvS1LhSzP/2tAFArNBov3B/sYpfqMNQeW3tpWIR4FsOj/1LpoDohE9vrUBXS8YBR94gadziYXEAz6rZW0NRSK2dR2+Bg7i8OvbiysWvSbCl70ZnmPL0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610376068; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=Par2CaqGT0hQZ6YPwHpXBmVW79BVGk3s0ae9AIJ2wmo=; b=kfUXt16dTQzqW+19R9/S08ddv6E4lMMacxoqhbSnx9Z+QgvYLCdKPtPlzmSfc6gzOCduMttou8jAZndVhT4DKClM658sBKkI8OR7+TatXfNQdYq+ici7cc+cPOVGpqQZCzqr6vK61+IOZ8o2Uo6BfEz7tGKLlXseAsebVAyqtiM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=quarantine dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1610376068542812.3274413315468; Mon, 11 Jan 2021 06:41:08 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.64914.114804 (Exim 4.92) (envelope-from ) id 1kyyNC-0007s4-D9; Mon, 11 Jan 2021 14:40:46 +0000 Received: by outflank-mailman (output) from mailman id 64914.114804; Mon, 11 Jan 2021 14:40:46 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kyyNC-0007rx-A1; Mon, 11 Jan 2021 14:40:46 +0000 Received: by outflank-mailman (input) for mailman id 64914; Mon, 11 Jan 2021 14:40:45 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kyyNB-0007rs-Og for xen-devel@lists.xenproject.org; Mon, 11 Jan 2021 14:40:45 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id a7c78755-15d1-4c5b-bb7c-914fc1377d8e; Mon, 11 Jan 2021 14:40:44 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 1DA97AD1E; Mon, 11 Jan 2021 14:40:44 +0000 (UTC) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: a7c78755-15d1-4c5b-bb7c-914fc1377d8e X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1610376044; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Par2CaqGT0hQZ6YPwHpXBmVW79BVGk3s0ae9AIJ2wmo=; b=j4DIWZIo/R0pd/YaOUVH3iLj9Kb260hhu2cbjVMwqfENu0nkr6zPOLdupbcXmp5ConqHq+ 7DhCek048AX3URkqDxtWgpxGyIg/nQAaUqqdW5+Wckad95lvE0n5OrdwWpLuqIZ2e3vvwT jd0ss1afQ/LfnpqEeEjVyBeTKwJcPHs= To: "xen-devel@lists.xenproject.org" Cc: Ian Jackson , Wei Liu From: Jan Beulich Subject: [PATCH] tools/libxenstat: ensure strnlen() declaration is visible Message-ID: Date: Mon, 11 Jan 2021 15:40:43 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) Content-Type: text/plain; charset="utf-8" Its guard was updated such that it is visible by default when POSIX 2008 was adopted by glibc. It's not visible by default on older glibc. Fixes: 40fe714ca424 ("tools/libs/stat: use memcpy instead of strncpy in get= Bridge") Signed-off-by: Jan Beulich Reviewed-by: Ian Jackson --- a/tools/libs/stat/xenstat_linux.c +++ b/tools/libs/stat/xenstat_linux.c @@ -20,6 +20,7 @@ * Use is subject to license terms. */ =20 +#define _GNU_SOURCE #include #include #include