{"id":2228735,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2228735/?format=json","web_url":"http://patchwork.ozlabs.org/project/uclibc-ng/patch/20260427094540.10082-1-marcus.haehnel@kernkonzept.com/","project":{"id":55,"url":"http://patchwork.ozlabs.org/api/1.1/projects/55/?format=json","name":"uClibc NG development","link_name":"uclibc-ng","list_id":"devel.uclibc-ng.org","list_email":"devel@uclibc-ng.org","web_url":"http://www.uclibc-ng.org","scm_url":"","webscm_url":"http://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git"},"msgid":"<20260427094540.10082-1-marcus.haehnel@kernkonzept.com>","date":"2026-04-27T09:45:35","name":"[uclibc-ng-devel] elf/dl-support.c: remove unnecessary memset","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"f8b4f31cc2664ff371fff17fc19b6beb64d6d859","submitter":{"id":82754,"url":"http://patchwork.ozlabs.org/api/1.1/people/82754/?format=json","name":"Marcus Haehnel","email":"marcus.haehnel@kernkonzept.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/uclibc-ng/patch/20260427094540.10082-1-marcus.haehnel@kernkonzept.com/mbox/","series":[{"id":501614,"url":"http://patchwork.ozlabs.org/api/1.1/series/501614/?format=json","web_url":"http://patchwork.ozlabs.org/project/uclibc-ng/list/?series=501614","date":"2026-04-27T09:45:35","name":"[uclibc-ng-devel] elf/dl-support.c: remove unnecessary memset","version":1,"mbox":"http://patchwork.ozlabs.org/series/501614/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2228735/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2228735/checks/","tags":{},"headers":{"Return-Path":"<devel-bounces@uclibc-ng.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=kernkonzept.com header.i=@kernkonzept.com\n header.a=rsa-sha256 header.s=mx1 header.b=BxAuirpv;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=uclibc-ng.org\n (client-ip=89.238.66.15; helo=helium.openadk.org;\n envelope-from=devel-bounces@uclibc-ng.org; receiver=patchwork.ozlabs.org)","helium.openadk.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=kernkonzept.com header.i=@kernkonzept.com\n header.a=rsa-sha256 header.s=mx1 header.b=BxAuirpv;\n\tdkim-atps=neutral"],"Received":["from helium.openadk.org (helium.openadk.org [89.238.66.15])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g3zGT1Nfkz1yJX\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 19:46:08 +1000 (AEST)","from helium.openadk.org (localhost [127.0.0.1])\n\tby helium.openadk.org (Postfix) with ESMTP id 2D69331E0D12;\n\tMon, 27 Apr 2026 11:46:04 +0200 (CEST)","from mx.kernkonzept.com (serv1.kernkonzept.com [159.69.200.6])\n\tby helium.openadk.org (Postfix) with ESMTPS id 4BB4831E0447\n\tfor <devel@uclibc-ng.org>; Mon, 27 Apr 2026 11:45:52 +0200 (CEST)","from ip-109-40-178-2.web.vodafone.de ([109.40.178.2]\n helo=localhost.localdomain)\n\tby mx.kernkonzept.com with esmtpsa\n (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.98.2)\n\tid 1wHIXG-00000003dKY-3zIi;\n\tMon, 27 Apr 2026 11:45:51 +0200"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=kernkonzept.com; s=mx1; h=Content-Transfer-Encoding:Content-Type:\n\tMIME-Version:Message-ID:Date:Subject:Cc:To:From:References:In-Reply-To:\n\tReply-To:Content-ID:Content-Description;\n\tbh=hbUS0PAP+mpD/5d1fJs5WB5HDL/d3qAZiOvuvgTKLTg=; b=BxAuirpvzrcnipWxRm6vhNwuaF\n\tBaIMmVnL/clLRiF2pq0VSrebcIPSoJfk8KKrY73ZGKJ1GWXoVfMgIMF/L+oOXJwFAytG1z3SXiRZX\n\tFQMN7BatsPI3OgGafnJRKrduApB3KM1CWLAGGPreQjMRy1WaP75B8KRJ+LwIumJQlvDLSXmTLY7p0\n\tmkWpkvMU04cP6k87+nIL4t5ARqFG/ZaO+ZX6gEM9U58rnm0zA1nv38KCcl8eBWSZipXbUlNFaeZCI\n\tJFFcLifI24goFQuaCSMGkJW52QPFR1ysk6L3IaPgjZEbx/0ysWfAmx4KeuN8nr+gNRYv/A+IWg2BX\n\t+A7rlOvQ==;","From":"Marcus Haehnel <marcus.haehnel@kernkonzept.com>","To":"devel@uclibc-ng.org","Date":"Mon, 27 Apr 2026 11:45:35 +0200","Message-ID":"<20260427094540.10082-1-marcus.haehnel@kernkonzept.com>","X-Mailer":"git-send-email 2.51.0","MIME-Version":"1.0","Message-ID-Hash":"CXVBLM7LNAKXHINJWNF525MIL2C5RY4A","X-Message-ID-Hash":"CXVBLM7LNAKXHINJWNF525MIL2C5RY4A","X-MailFrom":"marcus.haehnel@kernkonzept.com","X-Mailman-Rule-Misses":"dmarc-mitigation; no-senders; approved; loop;\n banned-address; emergency; member-moderation; nonmember-moderation;\n administrivia; implicit-dest; max-recipients; max-size; news-moderation;\n no-subject; digests; suspicious-header","CC":"=?utf-8?q?Jan_Kl=C3=B6tzke?= <jan.kloetzke@kernkonzept.com>,\n Marcus Haehnel <marcus.haehnel@kernkonzept.com>","X-Mailman-Version":"3.3.10","Precedence":"list","Subject":"[uclibc-ng-devel] [PATCH] elf/dl-support.c: remove unnecessary memset","List-Id":"uClibc-ng Development <devel.uclibc-ng.org>","Archived-At":"\n <https://uclibc-ng.org/mailman3/hyperkitty/list/devel@uclibc-ng.org/message/CXVBLM7LNAKXHINJWNF525MIL2C5RY4A/>","List-Archive":"\n <https://uclibc-ng.org/mailman3/hyperkitty/list/devel@uclibc-ng.org/>","List-Help":"<mailto:devel-request@uclibc-ng.org?subject=help>","List-Owner":"<mailto:devel-owner@uclibc-ng.org>","List-Post":"<mailto:devel@uclibc-ng.org>","List-Subscribe":"<mailto:devel-join@uclibc-ng.org>","List-Unsubscribe":"<mailto:devel-leave@uclibc-ng.org>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64"},"content":"From: Jan Klötzke <jan.kloetzke@kernkonzept.com>\n\nThe _dl_auxvt array is part of the .bss section and thus already zero\ninitialized.\n\nSigned-off-by: Jan Klötzke <jan.kloetzke@kernkonzept.com>\nSigned-off-by: Marcus Haehnel <marcus.haehnel@kernkonzept.com>\n---\n libc/misc/elf/dl-support.c | 1 -\n 1 file changed, 1 deletion(-)","diff":"diff --git a/libc/misc/elf/dl-support.c b/libc/misc/elf/dl-support.c\r\nindex 09cbefc180..c2a4ed4587 100644\r\n--- a/libc/misc/elf/dl-support.c\r\n+++ b/libc/misc/elf/dl-support.c\r\n@@ -40,7 +40,6 @@ void internal_function _dl_aux_init (ElfW(auxv_t) *av)\r\n {\r\n    _dl_auxv_start = av;\r\n \r\n-   memset(_dl_auxvt, 0x00, sizeof(_dl_auxvt));\r\n    for (; av->a_type != AT_NULL; av++)\r\n      {\r\n        if (av->a_type < AUX_MAX_AT_ID)\r\n","prefixes":["uclibc-ng-devel"]}