Posted to tcl by Bradipo at Thu Dec 03 19:31:22 GMT 2020view raw

  1. --- /tmp/unveil.main Thu Dec 3 12:29:52 2020
  2. +++ unveil.main Wed Sep 16 10:24:20 2020
  3. @@ -1,4 +1,3 @@
  4. -# $OpenBSD: unveil.main,v 1.5 2020/07/28 14:13:35 landry Exp $
  5. # for uuid generation?
  6. /dev/urandom r
  7. /dev/video rw
  8. @@ -21,6 +20,9 @@
  9. # printing
  10. /usr/bin/lpr rx
  11.  
  12. +# for launching registered 3rd party applications like pdf readers
  13. +/usr/local/bin/gio-launch-desktop rx
  14. +/usr/local/bin/xpdf rx
  15. /etc/mailcap r
  16. ~/.mailcap r
  17. ~/.mime.types r
  18. @@ -39,6 +41,9 @@
  19.  
  20. ~/.mozilla rwc
  21. ~/Downloads rwc
  22. +~/.cache rwc
  23. +~/.config rwc
  24. +~/.local/share rwc
  25.  
  26. # for at least shm_open (for now)
  27. /tmp rwc
  28. @@ -46,20 +51,20 @@
  29. # $XDG_CACHE_HOME, $XDG_CONFIG_HOME, and $XDG_DATA_HOME will expand to the
  30. # given variable if it exists in the environment, otherwise defaulting to
  31. # ~/.cache, ~/.config, and ~/.local/share
  32. -$XDG_CACHE_HOME/dconf rwc
  33. -$XDG_CACHE_HOME/thumbnails rwc
  34. -$XDG_CACHE_HOME/mozilla/firefox rwc
  35. -$XDG_CONFIG_HOME/dconf rw
  36. -$XDG_CONFIG_HOME/fontconfig r
  37. -$XDG_CONFIG_HOME/gtk-3.0 r
  38. -$XDG_CONFIG_HOME/mimeapps.list r
  39. -$XDG_CONFIG_HOME/mozilla rwc
  40. -$XDG_CONFIG_HOME/user-dirs.dirs r
  41. -$XDG_DATA_HOME/applications rwc
  42. -$XDG_DATA_HOME/applnk r
  43. -$XDG_DATA_HOME/fonts r
  44. -$XDG_DATA_HOME/glib-2.0 r
  45. -$XDG_DATA_HOME/icons r
  46. -$XDG_DATA_HOME/mime r
  47. -$XDG_DATA_HOME/recently-used.xbel rwc
  48. -$XDG_DATA_HOME/themes r
  49. +#$XDG_CACHE_HOME/dconf rwc
  50. +#$XDG_CACHE_HOME/thumbnails rwc
  51. +#$XDG_CACHE_HOME/mozilla/firefox rwc
  52. +#$XDG_CONFIG_HOME/dconf rw
  53. +#$XDG_CONFIG_HOME/fontconfig r
  54. +#$XDG_CONFIG_HOME/gtk-3.0 r
  55. +#$XDG_CONFIG_HOME/mimeapps.list r
  56. +#$XDG_CONFIG_HOME/mozilla rwc
  57. +#$XDG_CONFIG_HOME/user-dirs.dirs r
  58. +#$XDG_DATA_HOME/applications rwc
  59. +#$XDG_DATA_HOME/applnk r
  60. +#$XDG_DATA_HOME/fonts r
  61. +#$XDG_DATA_HOME/glib-2.0 r
  62. +#$XDG_DATA_HOME/icons r
  63. +#$XDG_DATA_HOME/mime r
  64. +#$XDG_DATA_HOME/recently-used.xbel rwc
  65. +#$XDG_DATA_HOME/themes r
  66.