tree: 8fe52b23c8980834952c454a3861db567c760f0b [path history] [tgz]
  1. init/
  2. seccomp/
  3. tmpfiles.d/
  4. 40-usb-bouncer.rules
  5. BUILD.gn
  6. DIR_METADATA
  7. entry_manager.cc
  8. entry_manager.h
  9. entry_manager_test.cc
  10. entry_manager_test_util.cc
  11. entry_manager_test_util.h
  12. metrics_allowlist.cc
  13. metrics_allowlist.h
  14. metrics_allowlist_test.cc
  15. OWNERS
  16. README.md
  17. rule_db_storage.cc
  18. rule_db_storage.h
  19. unblocked_terms.txt
  20. usb_bouncer.cc
  21. usb_bouncer.proto
  22. usb_bouncer_fuzzer.cc
  23. UsbBouncer.conf
  24. util.cc
  25. util.h
  26. util_internal.h
  27. util_test.cc
usb_bouncer/README.md

USB Bouncer

Tools for managing USBGuard allow-lists and configuration on Chrome OS

Particularly the following operations are supported:

  • cleanup: removing old allow-list entries
  • genrules: generate a rules.conf for usbguard and write it to stdout
  • udev: update the allow-lists based on usb related udev events
  • userlogin: copy entries for any connected devices from the global database to the user database.