# apparmor.d - Full set of apparmor profiles # Copyright (C) 2018-2022 Mikhail Morfikov # Copyright (C) 2022-2024 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only abi , include @{exec_path} = @{bin}/chromium profile chromium-wrapper @{exec_path} flags=(attach_disconnected) { include include include @{exec_path} r, @{lib}/chromium/chromium rPx, @{sh_path} rix, @{bin}/{,e}grep rix, @{bin}/cat rix, @{bin}/cut rix, @{bin}/expr rix, @{bin}/ls rix, @{bin}/mktemp rix, @{bin}/rm rix, @{bin}/sed rix, @{bin}/tr rix, @{bin}/uname rix, @{bin}/man rPUx, # For "chromium --help" # @{bin}/gdb rPUx, /usr/share/chromium/extensions/ r, /etc/chromium.d/{,*} r, /etc/debian_version r, owner @{HOME}/.xsession-errors w, owner @{tmp}/chromiumargs.@{rand6} rw, owner /dev/tty@{int} rw, # Silencer deny @{user_share_dirs}/gvfs-metadata/* r, include if exists } # vim:syntax=apparmor