From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 114246 invoked by alias); 16 Nov 2016 15:22:19 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 114230 invoked by uid 89); 16 Nov 2016 15:22:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1312 X-HELO: mx2.suse.de From: Andreas Schwab To: Zack Weinberg Cc: libc-alpha@sourceware.org Subject: Re: [PATCH 0/3] explicit_bzero v5 References: <20161115155509.12692-1-zackw@panix.com> <500cef03-f7e2-f152-660d-438b08ac1f45@panix.com> <1c2ec42f-4e3a-940f-f500-7ba07fac1010@panix.com> X-Yow: .. I don't understand the HUMOR of the THREE STOOGES!! Date: Wed, 16 Nov 2016 15:22:00 -0000 In-Reply-To: (Zack Weinberg's message of "Wed, 16 Nov 2016 10:13:46 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2016-11/txt/msg00564.txt.bz2 On Nov 16 2016, Zack Weinberg wrote: > On 11/16/2016 10:09 AM, Andreas Schwab wrote: >> On Nov 16 2016, Zack Weinberg wrote: >> >>> On 11/16/2016 09:58 AM, Andreas Schwab wrote: >>>> On Nov 16 2016, Zack Weinberg wrote: >>>> >>>>> This doesn't fully resolve the question in my head, though. The case >>>>> we're discussing is an impl-namespace symbol __explicit_bzero, which is >>>>> functionally identical to a public symbol explicit_bzero, and not >>>>> expected ever to change its behavior. It exists, as far as I >>>>> understand, _solely_ so that uses of this symbol in libcrypt.so will >>>>> resolve to the definition in libc.so even if other objects in the link >>>>> interpose on the public symbol. >>>> >>>> It's a public symbol, so it gets a public version. It does not matter >>>> whether the reference is created explicitly or implicitly. >>> >>> It is not obvious to me that it is a public symbol. >> >> It is used outside of glibc. > > Every symbol exported as GLIBC_PRIVATE is used outside of libc.so.6. I wrote glibc, not libc.so. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."