# apparmor.d - Full set of apparmor profiles # Copyright (C) 2023 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only abi , include @{exec_path} = @{bin}/baloo_file @{lib}/baloo_file profile baloo @{exec_path} { include include include include include include include include include network netlink raw, @{exec_path} mr, @{lib}/baloo_file_extractor rix, /usr/share/hwdata/pnp.ids r, /usr/share/icu/[0-9]*.[0-9]*/*.dat r, /usr/share/poppler/{,**} r, /etc/fstab r, /etc/machine-id r, /etc/xdg/baloofilerc r, /etc/xdg/kdeglobals r, # Allow to search user files owner @{HOME}/{,**} r, owner @{MOUNTS}/{,**} r, owner /tmp/*/{,**} r, owner @{user_config_dirs}/#[0-9]* rw, owner @{user_config_dirs}/baloofilerc rwl, owner @{user_config_dirs}/baloofilerc.lock rwkl, owner @{user_share_dirs}/baloo/{,**} rwk, @{PROC}/sys/kernel/core_pattern r, @{PROC}/sys/kernel/random/boot_id r, owner @{PROC}/@{pid}/mounts r, owner @{PROC}/@{pid}/mountinfo r, /dev/tty r, include if exists }