# apparmor.d - Full set of apparmor profiles # Copyright (C) 2018-2022 Mikhail Morfikov # Copyright (C) 2022 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only abi , include @{lib_dirs} = /opt/google/chrome{,-beta,-unstable} @{config_dirs} = @{user_config_dirs}/google-chrome{,-beta,-unstable} @{exec_path} = @{lib_dirs}/chrome_crashpad_handler profile chrome-crashpad-handler @{exec_path} { include capability sys_ptrace, ptrace peer=chrome, signal (send) peer=chrome, @{exec_path} mrix, owner "@{config_dirs}/Crash Reports/**" rwk, @{PROC}/sys/kernel/yama/ptrace_scope r, owner @{PROC}/@{pid}/fd/ r, owner @{PROC}/@{pids}/mem r, owner @{PROC}/@{pids}/stat r, owner @{PROC}/@{pids}/task/ r, @{sys}/devices/system/cpu/cpufreq/policy@{int}/scaling_cur_freq r, @{sys}/devices/system/cpu/cpufreq/policy@{int}/scaling_max_freq r, include if exists }