[PATCH 2/2] linux: Make profil_counter a compat_symbol (BZ#17726)
Florian Weimer
fw@deneb.enyo.de
Mon Aug 5 19:42:00 GMT 2019
* Joseph Myers:
> On Mon, 5 Aug 2019, Adhemerval Zanella wrote:
>
>> Also that this symbol export was not meant in first place, so it is unlikely
>
> Like all other exports, it's listed in a Versions file. So it must have
> been deliberate (even if mistaken) at some point.
libc.map used to have this:
# all functions and variables in the normal name space
a*; b*; c*; d*; e*; f*; g*; h*; i*; j*; k*; l*; m*;
n*; o*; p*; q*; r*; s*; t*; u*; v*; w*; x*; y*; z*;
So the missing static likely triggered the unwanted export, and that
mistake was carried over when libc.map was switched over to explicit
function names. I do not see evidence of a deliberate decision here.
More information about the Libc-alpha
mailing list