* adjust xorg display number * remove wildcard from python version * python wildcard #2 * unconventional tails * Delete apparmor.d/groups/apps/android-studio --------- Co-authored-by: nobody43 <nobody43@users.noreply.github.com>
66 lines
1.8 KiB
Text
66 lines
1.8 KiB
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2020-2022 Mikhail Morfikov
|
|
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/system-config-printer
|
|
@{exec_path} += /usr/share/system-config-printer/system-config-printer.py
|
|
profile system-config-printer @{exec_path} flags=(complain) {
|
|
include <abstractions/base>
|
|
include <abstractions/bus-session>
|
|
include <abstractions/bus-system>
|
|
include <abstractions/bus/org.freedesktop.hostname1>
|
|
include <abstractions/bus/org.freedesktop.PolicyKit1>
|
|
include <abstractions/dconf-write>
|
|
include <abstractions/fontconfig-cache-read>
|
|
include <abstractions/fonts>
|
|
include <abstractions/freedesktop.org>
|
|
include <abstractions/gtk>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/openssl>
|
|
include <abstractions/python>
|
|
include <abstractions/wayland>
|
|
|
|
network inet stream,
|
|
network inet6 stream,
|
|
network netlink raw,
|
|
|
|
@{exec_path} mrix,
|
|
|
|
@{bin}/{,ba,da}sh rix,
|
|
@{bin}/python3.@{int} r,
|
|
@{lib}/cups/*/* rPUx,
|
|
/usr/share/hplip/query.py rPUx,
|
|
|
|
/usr/share/cups/data/testprint r,
|
|
/usr/share/system-config-printer/{,**} r,
|
|
/usr/share/X11/xkb/{,**} r,
|
|
|
|
/etc/cups/cupsd.conf r,
|
|
/etc/cupshelpers/preferreddrivers.xml r,
|
|
/etc/fstab r,
|
|
/etc/papersize r,
|
|
|
|
/var/lib/snapd/desktop/icons/ r,
|
|
|
|
owner @{HOME}/.cups/ rw,
|
|
owner @{HOME}/.cups/lpoptions rw,
|
|
|
|
owner @{run}/user/@{uid}/gvfsd/socket-@{rand8} rw,
|
|
@{run}/cups/cups.sock rw,
|
|
|
|
owner /tmp/* rw,
|
|
|
|
owner @{PROC}/@{pid}/fd/ r,
|
|
owner @{PROC}/@{pid}/stat r,
|
|
owner @{PROC}/@{pid}/mounts r,
|
|
owner @{PROC}/@{pid}/mountinfo r,
|
|
|
|
owner /dev/tty@{int} rw,
|
|
|
|
include if exists <local/system-config-printer>
|
|
}
|