On Mon, 2011-08-29 at 23:42 +1000, Russell Coker wrote: > A build of libselinux 2.1.0 fails on Debian because of new symbols. > > setrans_lib_destructor() and matchpathcon_lib_destructor() look like > good candidates for hidden_def (or something similar) as it doesn't > seem possible to call them from outside the library. What do you > think? > > There are a bunch of other new symbols that just need to be added to > the symbol list. Use hidden to hide the symbol from external users. Use hidden_def/hidden_proto to declare and define a function that is visible to external users but also called within the library (defines a hidden internal reference that avoids relocations). -- Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.