From patchwork Thu Aug 15 01:16:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 171379 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp1543958ily; Wed, 14 Aug 2019 18:17:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxCwlaVLqEwaj9wNUzFPHaJF/Rh4xGviTA8C3f8cA6eRHxvWN608A1K5TVv4dVK1eAlvm5 X-Received: by 2002:a17:90a:e392:: with SMTP id b18mr670801pjz.140.1565831830824; Wed, 14 Aug 2019 18:17:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565831830; cv=none; d=google.com; s=arc-20160816; b=WvGnPRnYUdhpqLatHQ5VaEswSkK+Wh9rfJbbSBQVXceWT3XL3SlUZwwuBnpH7+bF9v nYnnts07rPWY0/CuVKcKU2G6H61/eEYS2D1m+4XxerI6mKZy8TvpsI4fjbv6Roke2WlI rYL/lzxU0DCiaLoQ2Uba8q2kIh/PlrGckkv7n6wP8XoRp7NV256C6KkE8dkCzKuGYBhm TPI67DKWbB1W2nnIqLLg/DxBSMBdERXbOFsdVbtcBvyKxxiIOHVH/3B2dP3a7pqVpUif yPUUn8SWND/5yvNmi6jDSU5cISEkbQDg92jgM5b9/QfLGDhl/al0KRbA7QzTvvH4e6dF /tcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=5uIZ4EfSQgMDnfT5hcmU3XEyi6Gwvr4OwLnFOrMM/js=; b=ycArPD5+/LcRNcMVg7cRS5oc+jmXj7Ce+f5d1U3Uy+udeus4wDLQMRMlTwa9tgxbkZ fprMLGT2S0qTvQoTiAZzkrb0q2jBhudqu0X2M59YaFuKBhj51/yemda+urmT31dPWBEA wls22l+ICtHtIYMF6fJ+Eef4qsVdF2jwZ1rroPefAovsdYL8ICIBHwmMnJsdB+os+Cc7 rxwmXhW1NMh8wetvWz6UQdSD5+lGXLryVEHdlW1Dh0lzjJQayBufL8mQltyi5FN78sC5 Lvay7227/35s++iC6ClIaoKgwqgBaRfZe+7+Ss2EPLvGsGN7q1TwolhrscEEdAHvC+L4 5zIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=LwGXv5aK; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id e139si882230pfh.270.2019.08.14.18.17.10; Wed, 14 Aug 2019 18:17:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=LwGXv5aK; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 864217F286; Thu, 15 Aug 2019 01:17:07 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mail.openembedded.org (Postfix) with ESMTP id 00C4D7F285 for ; Thu, 15 Aug 2019 01:17:01 +0000 (UTC) Received: by mail-pf1-f178.google.com with SMTP id o70so450335pfg.5 for ; Wed, 14 Aug 2019 18:17:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qWOLcsAEcGWIlMHNIpjEXwOwhsaJCqpk0YSvOhG+4iI=; b=LwGXv5aKrQufIhufw1xTARXLuwSQlALJ3VoURihhgMMytnysu1XowkgFxMeNgQzsVg ulUXiAcBxXac/SQKxlWPV+S4iLnDlYY/PPu2uC1zD0mx9+kRz02etDzoLl6ek0DEXE/T aKZRqlxg0wKQmAiyCaIgmrwq2yU026i8pNuNZnMagnw5sYJRFxjb2z1QxSfbXTB27JjK 2rJufkwF8jOPglzUxGX2zJGC575Dq8VHrnL1rbSba7NKI2/1PHDCNLZ0WGM9w8t7tjqf cmRdLmrL6f5h08RoWf42AGKR5VZbPzI2Jm0cLK29UcI9hQFrOWkSXTME5Jia9ZSEDTVs BY0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qWOLcsAEcGWIlMHNIpjEXwOwhsaJCqpk0YSvOhG+4iI=; b=kKyNU88fWITNuHLoCDjUbC6+BUs+nzQj2JaUhzkKHDoyPt3T1Wpe/RpqcJLOId4OiY lHzRs7xi04UmX+OcgsEKv3R+IHrZ3WVBx2SPC6Un26wn4MuWiA7e3D3jtE8vlzx7up6m zAj99ldyfSUH84NSvF7FIfFUZKfCpeex4sWF7aHm/Lfrq7Mt6mM2SrQmiotslH3Aph/t idH6GEWOTU+r+dDl4lorHmp/uls/UTVUxtMteIl7U17PG3WXYZoMfDvukkh1RKtWdFUh OL5w2J95zbl4B8zVorfxBRlGkNr5GLECJn5cRNOrXNria9UHzcoX2+PgYYT2YX5JFXm9 8EvQ== X-Gm-Message-State: APjAAAVgYSo6MZHh/gxeZkaqtRF2gqLFSnOEAzSOzCYx1t2JDIXlvJ+2 oXyVY1zMQY8yIkxY244mc7z64OyAtv0= X-Received: by 2002:a63:eb51:: with SMTP id b17mr1557289pgk.384.1565831821731; Wed, 14 Aug 2019 18:17:01 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net (c-73-71-176-3.hsd1.ca.comcast.net. [73.71.176.3]) by smtp.gmail.com with ESMTPSA id k5sm1201154pfg.167.2019.08.14.18.17.01 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 14 Aug 2019 18:17:01 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 14 Aug 2019 18:16:43 -0700 Message-Id: <20190815011644.24474-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190815011644.24474-1-raj.khem@gmail.com> References: <20190815011644.24474-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 2/3] systemd: Drop musl __secure_getenv patch X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This API is now implemented in musl [1] [1] https://git.musl-libc.org/cgit/musl/commit/?id=7844ecb590893f8344324837956718001402d297 Signed-off-by: Khem Raj --- ...en-secure-versions-are-not-available.patch | 32 ------------------- meta/recipes-core/systemd/systemd_242.bb | 2 +- 2 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 meta/recipes-core/systemd/systemd/0001-Use-getenv-when-secure-versions-are-not-available.patch -- 2.22.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/systemd/systemd/0001-Use-getenv-when-secure-versions-are-not-available.patch b/meta/recipes-core/systemd/systemd/0001-Use-getenv-when-secure-versions-are-not-available.patch deleted file mode 100644 index 37979755d0..0000000000 --- a/meta/recipes-core/systemd/systemd/0001-Use-getenv-when-secure-versions-are-not-available.patch +++ /dev/null @@ -1,32 +0,0 @@ -From b8055a61b5df6b43b8d3117936587b874b0a339b Mon Sep 17 00:00:00 2001 -From: Chen Qi -Date: Mon, 25 Feb 2019 11:01:18 +0800 -Subject: [PATCH 01/24] Use getenv when secure versions are not available - -musl doesnt implement secure version, so we default -to it if configure does not detect a secure implementation - -Signed-off-by: Khem Raj - -Upstream-Status: Denied - -Signed-off-by: Chen Qi ---- - src/basic/missing_stdlib.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/basic/missing_stdlib.h b/src/basic/missing_stdlib.h -index 188a8d4..c0ffe86 100644 ---- a/src/basic/missing_stdlib.h -+++ b/src/basic/missing_stdlib.h -@@ -8,6 +8,6 @@ - # if HAVE___SECURE_GETENV - # define secure_getenv __secure_getenv - # else --# error "neither secure_getenv nor __secure_getenv are available" -+# define secure_getenv getenv - # endif - #endif --- -2.7.4 - diff --git a/meta/recipes-core/systemd/systemd_242.bb b/meta/recipes-core/systemd/systemd_242.bb index 1953fef413..6992062cef 100644 --- a/meta/recipes-core/systemd/systemd_242.bb +++ b/meta/recipes-core/systemd/systemd_242.bb @@ -32,7 +32,7 @@ SRC_URI += "file://touchscreen.rules \ # patches needed by musl SRC_URI_append_libc-musl = " ${SRC_URI_MUSL}" -SRC_URI_MUSL = "file://0001-Use-getenv-when-secure-versions-are-not-available.patch \ +SRC_URI_MUSL = "\ file://0002-don-t-use-glibc-specific-qsort_r.patch \ file://0003-missing_type.h-add-__compare_fn_t-and-comparison_fn_.patch \ file://0004-add-fallback-parse_printf_format-implementation.patch \