mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
parent
aaa24f644b
commit
df792530cd
23
apparmor.d/groups/kde/kreadconfig
Normal file
23
apparmor.d/groups/kde/kreadconfig
Normal file
@ -0,0 +1,23 @@
|
||||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/kreadconfig5
|
||||
profile kreadconfig @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/usr/share/icu/{,**} r,
|
||||
|
||||
/etc/xdg/kdeglobals r,
|
||||
|
||||
owner @{user_config_dirs}/kdedefaults/kdeglobals r,
|
||||
owner @{user_config_dirs}/kdeglobals r,
|
||||
|
||||
include if exists <local/kreadconfig>
|
||||
}
|
@ -92,6 +92,7 @@ profile NetworkManager @{exec_path} flags=(attach_disconnected) {
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/nft rix,
|
||||
|
||||
/{usr/,}{s,}bin/netconfig rPUx,
|
||||
/{usr/,}bin/dnsmasq rPx,
|
||||
/{usr/,}bin/kmod rPx,
|
||||
/{usr/,}bin/resolvconf rPx,
|
||||
|
@ -64,7 +64,7 @@ profile openvpn @{exec_path} {
|
||||
@{run}/openvpn/*.{pid,status} rw,
|
||||
@{run}/NetworkManager/nm-openvpn-@{uuid} rw,
|
||||
|
||||
/{usr/,}bin/ip rix,
|
||||
/{usr/,}{s,}bin/ip rix,
|
||||
/{usr/,}bin/systemd-ask-password rPx,
|
||||
/{usr/,}lib/nm-openvpn-service-openvpn-helper rPx,
|
||||
/etc/openvpn/force-user-traffic-via-vpn.sh rCx -> force-user-traffic-via-vpn,
|
||||
|
@ -24,11 +24,14 @@ profile firewalld @{exec_path} {
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}{s,}bin/ r,
|
||||
/{usr/,}{s,}bin/ebtables-legacy rix,
|
||||
/{usr/,}{s,}bin/ebtables-legacy-restore rix,
|
||||
/{usr/,}{s,}bin/ipset rix,
|
||||
/{usr/,}{s,}bin/kmod rPx,
|
||||
/{usr/,}{s,}bin/xtables-legacy-multi rix,
|
||||
/{usr/,}{s,}bin/xtables-nft-multi rix,
|
||||
/{usr/,}bin/false rix,
|
||||
/{usr/,}bin/alts rix,
|
||||
/{usr/,}bin/false rix,
|
||||
|
||||
/usr/share/libalternatives/ r,
|
||||
/usr/share/libalternatives/ip{,4,6}tables*/{,*} r,
|
||||
|
@ -84,6 +84,7 @@ profile sddm @{exec_path} {
|
||||
|
||||
# SDDM scripts
|
||||
# What to do with it? (#FIXME#)
|
||||
/usr/etc/X11/xdm/Xsetup rPUx,
|
||||
/usr/share/sddm/scripts/Xsetup rPUx,
|
||||
/usr/share/sddm/scripts/Xstop rPUx,
|
||||
/usr/share/sddm/scripts/wayland-session rPUx,
|
||||
|
Loading…
Reference in New Issue
Block a user