mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-27 23:48:00 +01:00
feat(profile): general update.
This commit is contained in:
parent
f3f92297bc
commit
c2bc55dc46
5 changed files with 5 additions and 3 deletions
|
@ -4,6 +4,7 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
include <abstractions/consoles>
|
||||||
|
|
||||||
@{sh_path} rix,
|
@{sh_path} rix,
|
||||||
@{bin}/nvim mrix,
|
@{bin}/nvim mrix,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
# Minimal set of rules for pgrep.
|
# Minimal set of rules for pgrep/pkill.
|
||||||
|
|
||||||
include <abstractions/consoles>
|
include <abstractions/consoles>
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
@{system_share_dirs}/ r,
|
@{system_share_dirs}/ r,
|
||||||
@{system_share_dirs}/mime/ r,
|
@{system_share_dirs}/mime/ r,
|
||||||
|
|
||||||
|
/opt/*/**.{desktop,png} r,
|
||||||
|
|
||||||
/etc/gnome/defaults.list r,
|
/etc/gnome/defaults.list r,
|
||||||
/etc/xfce4/defaults.list r,
|
/etc/xfce4/defaults.list r,
|
||||||
|
|
||||||
|
|
|
@ -195,7 +195,6 @@ profile gnome-shell @{exec_path} flags=(attach_disconnected,mediate_deleted) {
|
||||||
/usr/share/gnome-shell/extensions/*/** rPUx,
|
/usr/share/gnome-shell/extensions/*/** rPUx,
|
||||||
|
|
||||||
/opt/**/share/icons/{,**} r,
|
/opt/**/share/icons/{,**} r,
|
||||||
/opt/*/**/*.png r,
|
|
||||||
/snap/*/@{uid}/**.png r,
|
/snap/*/@{uid}/**.png r,
|
||||||
/usr/share/{,zoneinfo-}icu/{,**} r,
|
/usr/share/{,zoneinfo-}icu/{,**} r,
|
||||||
/usr/share/**.{png,jpg,svg} r,
|
/usr/share/**.{png,jpg,svg} r,
|
||||||
|
|
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
||||||
|
|
||||||
include <tunables/global>
|
include <tunables/global>
|
||||||
|
|
||||||
@{exec_path} = @{bin}/aa-enforce @{bin}/aa-complain
|
@{exec_path} = @{bin}/aa-enforce @{bin}/aa-complain @{bin}/aa-audit
|
||||||
profile aa-enforce @{exec_path} {
|
profile aa-enforce @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/consoles>
|
include <abstractions/consoles>
|
||||||
|
|
Loading…
Reference in a new issue