shill: add ability to blacklist devices

BUG=chromium-os:16787
TEST=ebuild + manual

manual testing: set up mac80211_hwsim and hostapd on a device.
run shill, observe that it core dumps. run shill again, with
"--black-list=mon.wlan1", observe that it does not core dump.

Change-Id: Id43ed8badc2d8ac414c8a2ceb7487ecb85dc851c
Reviewed-on: http://gerrit.chromium.org/gerrit/4414
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Tested-by: mukesh agrawal <quiche@chromium.org>
9 files changed
tree: 676f6c33f39845c88fe366962a9d956ca31386ce
  1. dbus_bindings/
  2. accessor_interface.h
  3. adaptor_interfaces.h
  4. byte_string.cc
  5. byte_string.h
  6. byte_string_unittest.cc
  7. cellular.cc
  8. cellular.h
  9. cellular_service.cc
  10. cellular_service.h
  11. cellular_unittest.cc
  12. control_interface.h
  13. crypto_des_cbc.cc
  14. crypto_des_cbc.h
  15. crypto_des_cbc_unittest.cc
  16. crypto_interface.h
  17. crypto_provider.cc
  18. crypto_provider.h
  19. crypto_provider_unittest.cc
  20. crypto_rot47.cc
  21. crypto_rot47.h
  22. crypto_rot47_unittest.cc
  23. dbus_adaptor.cc
  24. dbus_adaptor.h
  25. dbus_adaptor_unittest.cc
  26. dbus_control.cc
  27. dbus_control.h
  28. dbus_properties_proxy.cc
  29. dbus_properties_proxy.h
  30. dbus_properties_proxy_interface.h
  31. default_profile.cc
  32. default_profile.h
  33. default_profile_unittest.cc
  34. device.cc
  35. device.h
  36. device_dbus_adaptor.cc
  37. device_dbus_adaptor.h
  38. device_info.cc
  39. device_info.h
  40. device_info_unittest.cc
  41. device_stub.h
  42. device_unittest.cc
  43. dhcp_config.cc
  44. dhcp_config.h
  45. dhcp_config_unittest.cc
  46. dhcp_provider.cc
  47. dhcp_provider.h
  48. dhcp_provider_unittest.cc
  49. dhcp_proxy_interface.h
  50. dhcpcd_proxy.cc
  51. dhcpcd_proxy.h
  52. endpoint.cc
  53. endpoint.h
  54. ephemeral_profile.cc
  55. ephemeral_profile.h
  56. error.cc
  57. error.h
  58. ethernet.cc
  59. ethernet.h
  60. ethernet_service.cc
  61. ethernet_service.h
  62. glib.cc
  63. glib.h
  64. glib_io_handler.cc
  65. glib_io_handler.h
  66. inherit-review-settings-ok
  67. io_handler.h
  68. ip_address.cc
  69. ip_address.h
  70. ip_address_unittest.cc
  71. ipconfig.cc
  72. ipconfig.h
  73. ipconfig_dbus_adaptor.cc
  74. ipconfig_dbus_adaptor.h
  75. ipconfig_unittest.cc
  76. key_file_store.cc
  77. key_file_store.h
  78. key_file_store_unittest.cc
  79. Makefile
  80. manager.cc
  81. manager.h
  82. manager_dbus_adaptor.cc
  83. manager_dbus_adaptor.h
  84. manager_unittest.cc
  85. mock_adaptors.cc
  86. mock_adaptors.h
  87. mock_control.cc
  88. mock_control.h
  89. mock_device.cc
  90. mock_device.h
  91. mock_dhcp_proxy.h
  92. mock_glib.h
  93. mock_modem_manager_proxy.h
  94. mock_profile.cc
  95. mock_profile.h
  96. mock_property_store.h
  97. mock_service.cc
  98. mock_service.h
  99. mock_sockets.h
  100. mock_store.h
  101. modem.cc
  102. modem.h
  103. modem_info.cc
  104. modem_info.h
  105. modem_info_unittest.cc
  106. modem_manager.cc
  107. modem_manager.h
  108. modem_manager_proxy.cc
  109. modem_manager_proxy.h
  110. modem_manager_proxy_interface.h
  111. modem_manager_unittest.cc
  112. profile.cc
  113. profile.h
  114. profile_dbus_adaptor.cc
  115. profile_dbus_adaptor.h
  116. profile_unittest.cc
  117. property_accessor.h
  118. property_accessor_unittest.cc
  119. property_iterator.h
  120. property_store.cc
  121. property_store.h
  122. property_store_unittest.cc
  123. property_store_unittest.h
  124. proxy_factory.cc
  125. proxy_factory.h
  126. refptr_types.h
  127. rtnl_handler.cc
  128. rtnl_handler.h
  129. rtnl_listener.cc
  130. rtnl_listener.h
  131. rtnl_listener_unittest.cc
  132. service.cc
  133. service.h
  134. service_dbus_adaptor.cc
  135. service_dbus_adaptor.h
  136. service_unittest.cc
  137. shill.conf
  138. shill_config.cc
  139. shill_config.h
  140. shill_daemon.cc
  141. shill_daemon.h
  142. shill_event.cc
  143. shill_event.h
  144. shill_main.cc
  145. shill_unittest.cc
  146. sockets.cc
  147. sockets.h
  148. store_interface.h
  149. supplicant_interface_proxy.cc
  150. supplicant_interface_proxy.h
  151. supplicant_interface_proxy_interface.h
  152. supplicant_process_proxy.cc
  153. supplicant_process_proxy.h
  154. supplicant_process_proxy_interface.h
  155. testrunner.cc
  156. WATCHLISTS
  157. wifi.cc
  158. wifi.h
  159. wifi_endpoint.cc
  160. wifi_endpoint.h
  161. wifi_service.cc
  162. wifi_service.h
  163. wifi_unittest.cc