[RFC][PATCH] Hide private symbols in libnfnetlink

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

 



Hi all,

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?

Best regards,
Yury Gribov

PS: Issue was originally detected via
https://github.com/yugr/ShlibVisibilityChecker

Attachment: 0001-Hide-private-symbols.patch
Description: Binary data


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux