[Bug 1251] New: Hide private symbols in libnfnetlink

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Fri Apr 27 21:29:52 CEST 2018


https://bugzilla.netfilter.org/show_bug.cgi?id=1251

            Bug ID: 1251
           Summary: Hide private symbols in libnfnetlink
           Product: libnfnetlink
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: libnfnetlink
          Assignee: netfilter-buglog at lists.netfilter.org
          Reporter: tetra2005 at gmail.com

Created attachment 536
  --> https://bugzilla.netfilter.org/attachment.cgi?id=536&action=edit
patch

I've recently tried applying -fvisibility=hidden to libnfnetlink
(draft patch attached) and was able to remove several (supposedly
private) symbols from library interface:
  nfnl_set_sequence_tracking
  nfnl_unset_sequence_tracking
  rtnl_close
  rtnl_dump_type
  rtnl_handler_register
  rtnl_handler_unregister
  rtnl_open
  rtnl_parse_rtattr
  rtnl_receive
  rtnl_receive_multi

Would something like this make sense for trunk?

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20180427/e6a60bab/attachment.html>


More information about the netfilter-buglog mailing list