[Freeipa-devel] Hide private symbols in the bind-dyndb-ldap

Petr Spacek pspacek at redhat.com
Wed Oct 17 15:22:10 UTC 2012


On 10/17/2012 05:16 PM, Simo Sorce wrote:
> On Wed, 2012-10-17 at 17:06 +0200, Adam Tkac wrote:
>> On Wed, Oct 17, 2012 at 09:58:36AM -0400, Simo Sorce wrote:
>>> On Wed, 2012-10-17 at 13:04 +0200, Adam Tkac wrote:
>>>> Hello,
>>>>
>>>> attached patch hides all symbols except dynamic_driver_{init,destroy}. Feedback
>>>> is appreciated.

I'm perfectly okay with that, but I haven't time for exploring it deeply today.

Petr^2 Spacek

>>>
>>> Any reason not to use a simple export file ?
>>
>> This is also possible solution. However if I understand GNU build chain
>> correctly, using export file only affects linker and doesn't allow compiler to
>> perform more aggressive optimisations (i.e. inline hidden functions etc), does
>> it?
>
> It's linker only indeed, good point, I'll keep that in mind.
>
>>> Anyway strong ACK, keeping private symbols private is good hygiene.
>>
>> Thanks, pushed to master.
>>
>> Regards, Adam




More information about the Freeipa-devel mailing list