From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) by sourceware.org (Postfix) with ESMTPS id BE8AE385803E for ; Tue, 19 Jan 2021 12:22:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BE8AE385803E Received: by mail-oi1-x231.google.com with SMTP id 15so20929144oix.8 for ; Tue, 19 Jan 2021 04:22:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=xbIPAZP1LwhYkvkR4KrLvla7n1CmT6asmEX8sV3OWIY=; b=A2WeDcBA+xVn/AxwL60f/BWpDnsk6Sr/A3sfLocfHhBx3QnI7DGv8rX7Ahhl0u43Fa GRzaqimsN1qoiQmCkBocpzbXGXDsS+KNLC6f4pwyFZcohIf+MUQyhXTcEQ92FJ7THdAZ 81UfHAugmJ7V7w6Gp9HS9GNkaZoKBfWOPs+tfgYZThERqMq4e8V6ZeB4NNDLgSWd+TZq KN1RHEWHg7Sn2A7ykhR597Mtn94nV92OKqtfgk0Qlc0c0roJsxAy9yjMt6Kvl+iZQAab KX0WVc3Nt0L1VwgvVXqx5zsfBwLSlYWDMqe+WPhC5Cvr4NaWYKq9kJB88xTZBGt+1eaj 8CFg== X-Gm-Message-State: AOAM533Eh1Qn6heUTAr844ah0F8FS/Pniu+RR0We9qOWGhoF7X67amPz g0zbh1jHbZWsB5G0m1Izg0lX8MPP/CYPmvgOSxo= X-Google-Smtp-Source: ABdhPJxdX25akUeUuRCNiJepnD0CleiJT527MXCJlOI/6gij/FrIoRodwTQ+DgeaLkM7Q+Q2ASyKf3tCgawC3h1hA+M= X-Received: by 2002:aca:34c2:: with SMTP id b185mr2327433oia.25.1611058950215; Tue, 19 Jan 2021 04:22:30 -0800 (PST) MIME-Version: 1.0 References: <20201108225251.3195591-1-samuel.thibault@ens-lyon.org> <87h7nl1425.fsf@dem-tschwing-1.ger.mentorg.com> <20210119000402.koywpx2l2hhhhem4@begin> <20210119002105.g3o6hbu4c3gg37yn@begin> <20210119002455.z5xhus2v4vjj44jx@begin> <20210119090221.7rbgyr5tzqgq2dfv@begin> In-Reply-To: <20210119090221.7rbgyr5tzqgq2dfv@begin> From: "H.J. Lu" Date: Tue, 19 Jan 2021 04:21:54 -0800 Message-ID: Subject: Re: [PATCH] Hurd: Add rtld-strncpy-c.c To: "H.J. Lu" , Joseph Myers , Thomas Schwinge , bug-hurd@gnu.org, GNU C Library Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3031.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2021 12:22:31 -0000 On Tue, Jan 19, 2021 at 1:02 AM Samuel Thibault wrote: > > H.J. Lu via Libc-alpha, le lun. 18 janv. 2021 18:24:48 -0800, a ecrit: > > On Mon, Jan 18, 2021 at 4:40 PM H.J. Lu wrote: > > > > > > On Mon, Jan 18, 2021 at 4:24 PM Samuel Thibault wrote: > > > > > > > > Samuel Thibault, le mar. 19 janv. 2021 01:21:05 +0100, a ecrit: > > > > > H.J. Lu, le lun. 18 janv. 2021 16:17:16 -0800, a ecrit: > > > > > > Why doesn't hurd ld.so build script mark strncpy as needed? > > > > > > > > > > I don't even know what "hurd ld.so build script" is. > > > > > > > > More precisely, I don't see why hurd should be doing anything special > > > > while everything is already taken care of by elf/Makefile's librtld.map > > > > file scripts. > > > > > > I am taking a look. > > > > Try this. I have no idea if it really works on hurd. > > It is working indeed. > > Samuel Should I check it in? -- H.J.