print_backend.sb 840 B

12345678910111213141516171819202122232425
  1. ;; Copyright 2021 The Chromium Authors. All rights reserved.
  2. ;; Use of this source code is governed by a BSD-style license that can be
  3. ;; found in the LICENSE file.
  4. ;;
  5. ; This is the sandbox configuration file used for safeguarding the print
  6. ; backend service which is used for interfacing with operating system print
  7. ; drivers.
  8. ;
  9. ; *** The contents of common.sb are implicitly included here. ***
  10. ; Need ~/.cups folder access for cupsEnumDests() to determine the user's
  11. ; default printer choice.
  12. ; https://www.cups.org/doc/cupspm.html#cupsEnumDests
  13. ; https://www.cups.org/doc/options.html
  14. (allow file-read-data
  15. (path (user-homedir-path "/.cups/lpoptions"))
  16. )
  17. ; Network socket access.
  18. ; Required to establish a connection to CUPS server:
  19. ; https://www.cups.org/doc/cupspm.html#httpConnect2
  20. (allow network-outbound
  21. (remote tcp)
  22. )