NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/44073: libnetpgp: only export the netpgp_* symbols



>Number:         44073
>Category:       lib
>Synopsis:       libnetpgp: only export the netpgp_* symbols
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 09 19:00:00 +0000 2010
>Originator:     Peter Pentchev
>Release:        
>Organization:
>Environment:
>Description:
The libnetpgp.so.0 library exports all the internal functions,
which should never be used by library consumers.  This leads to
unnecessary symbols churn as the library's version goes up;
what do you think about the attached patch that instructs libtool
to only export the netpgp_* symbols?
>How-To-Repeat:
nm -aoD libnetpgp.so.0.0.0 | fgrep -w T | fgrep -ve netpgp_
>Fix:
Apply the patch found at:
http://devel.ringlet.net/security/netpgp/patches/09-libtool-export.patch

Thanks for maintaining netpgp, and keep up the good work!



Home | Main Index | Thread Index | Old Index