  include <abstractions/base>

  @{APPDIR}/{chrome_,}crashpad_handler rmix,

  capability sys_ptrace,

  owner "@{HOME}/.config/@{CONFIG_SUBDIR}/Crash Reports/settings.dat" rwlk,
  owner "@{HOME}/.config/@{CONFIG_SUBDIR}/{Crashpad,Crash Reports}/{attachments,completed,new,pending}/" rw,
  owner "@{HOME}/.config/@{CONFIG_SUBDIR}/{Crashpad,Crash Reports}/{attachments,completed,new,pending}/*" rw,
  owner "@{HOME}/.config/@{CONFIG_SUBDIR}/CrashpadMetrics-active.pma" rwlk,
  owner "@{HOME}/.config/@{CONFIG_SUBDIR}/CrashpadMetrics.pma" rwlk,

  /proc/sys/fs/nr_open r,
  owner /proc/@{pid}/fd/ r,
  owner /proc/@{pid}/task/ r,
  owner /proc/@{pid}/mem r,
  owner /proc/@{pid}/stat r,
  owner /proc/@{pid}/task/*/comm r,

  /sys/devices/system/cpu/cpufreq/policy*/scaling_{cur,max}_freq r,
  /proc/sys/kernel/yama/ptrace_scope r,