From patchwork Tue Sep 15 12:45:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yann Sionneau X-Patchwork-Id: 1364322 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=uclibc-ng.org (client-ip=2a00:1828:2000:679::23; helo=helium.openadk.org; envelope-from=devel-bounces@uclibc-ng.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=kalray.eu Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=kalray.eu header.i=@kalray.eu header.a=rsa-sha256 header.s=32AE1B44-9502-11E5-BA35-3734643DEF29 header.b=MQ2WrpTR; dkim-atps=neutral Received: from helium.openadk.org (helium.openadk.org [IPv6:2a00:1828:2000:679::23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BrNJy3gGzz9sTH for ; Tue, 15 Sep 2020 22:46:40 +1000 (AEST) Received: from helium.openadk.org (localhost [IPv6:::1]) by helium.openadk.org (Postfix) with ESMTP id 2685510166; Tue, 15 Sep 2020 14:46:32 +0200 (CEST) X-Original-To: devel@uclibc-ng.org Delivered-To: devel@helium.openadk.org Received: from mib.mailinblack.com (mib.mailinblack.com [185.7.73.95]) by helium.openadk.org (Postfix) with ESMTPS id 1D56510141 for ; Tue, 15 Sep 2020 14:46:30 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mib.mailinblack.com (Postfix) with ESMTP id 4FE1C333024 for ; Tue, 15 Sep 2020 12:46:28 +0000 (UTC) Received: from mib.mailinblack.com (localhost [127.0.0.1]) by mib.mailinblack.com with SMTP (Mib Daemon ) id KF3Y9Z9G for devel@uclibc-ng.org; Tue, 15 Sep 2020 12:46:28 +0000 (UTC) Received: from zimbra2.kalray.eu (zimbra2.kalray.eu [92.103.151.219]) by mib.mailinblack.com (Postfix) with ESMTPS id E9DF5333022 for ; Tue, 15 Sep 2020 12:46:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id B744627E0C50 for ; Tue, 15 Sep 2020 14:46:27 +0200 (CEST) Received: from zimbra2.kalray.eu ([127.0.0.1]) by localhost (zimbra2.kalray.eu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 4LoeY1uS0SDI; Tue, 15 Sep 2020 14:46:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id 31C7927E0C4F; Tue, 15 Sep 2020 14:46:27 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zimbra2.kalray.eu 31C7927E0C4F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kalray.eu; s=32AE1B44-9502-11E5-BA35-3734643DEF29; t=1600173987; bh=YpWZuq5MWLcDN5S2Uj7UjUKxugkMYuhTnIfenLGHlVY=; h=From:To:Date:Message-Id; b=MQ2WrpTRb6a26TWpvab652Fifi2kI0fJYpxiCN/2gqjujtejMPSXiNUg2wGotBMHS NBYVplW16ieYa9kaTJ1g1YBY/NV+pSDLYqPuASBVXPkCA6s9V2w0Q6LP6qyS+/5jgs uSmFki2K4okdSZghijRXuX4V1z+pOdftJ5wILmhg= X-Virus-Scanned: amavisd-new at zimbra2.kalray.eu Received: from zimbra2.kalray.eu ([127.0.0.1]) by localhost (zimbra2.kalray.eu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id xSBL2dHu-cT8; Tue, 15 Sep 2020 14:46:27 +0200 (CEST) Received: from junon.lin.mbt.kalray.eu (unknown [192.168.37.161]) by zimbra2.kalray.eu (Postfix) with ESMTPSA id 1544727E0C42; Tue, 15 Sep 2020 14:46:27 +0200 (CEST) From: Yann Sionneau To: devel@uclibc-ng.org Date: Tue, 15 Sep 2020 14:45:23 +0200 Message-Id: <20200915124524.5346-1-ysionneau@kalray.eu> X-Mailer: git-send-email 2.17.1 Subject: [uclibc-ng-devel] [PATCH 0/1] Fix missing Feature Test Macro check in common stat.h X-BeenThere: devel@uclibc-ng.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: uClibc-ng Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: devel-bounces@uclibc-ng.org Sender: "devel" This is a touchy change since it touches a common header. This needs a thorough review in order not to break something. But for the record glibc only tests for __USE_XOPEN2K8 and musl does not test for anything at all and directly uses timespec fields. glibc: https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/generic/bits/stat.h;h=8d0980f0f5a98b093edeb4360862b9db6f14d7a8;hb=HEAD#l72 musl: https://git.musl-libc.org/cgit/musl/tree/arch/aarch64/bits/stat.h Yann Sionneau (1): Fix memory corruption due to struct stat field libc/sysdeps/linux/common-generic/bits/stat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)