mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-20 08:55:34 +01:00
Abstractions: more definitions.
This commit is contained in:
parent
04f2d2c9a3
commit
91c7069ee1
4 changed files with 16 additions and 0 deletions
5
apparmor.d/abstractions/gnome.d/complete
Normal file
5
apparmor.d/abstractions/gnome.d/complete
Normal file
|
@ -0,0 +1,5 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
include <abstractions/gtk>
|
|
@ -31,6 +31,7 @@
|
|||
owner @{user_config_dirs}/gtk-3.0/bookmarks r,
|
||||
owner @{user_config_dirs}/gtk-3.0/gtk.css r,
|
||||
owner @{user_config_dirs}/gtk-3.0/colors.css r,
|
||||
owner @{user_config_dirs}/gtk-3.0/servers r,
|
||||
|
||||
# for gtk file dialog
|
||||
owner @{user_config_dirs}/gtk-2.0/ rw,
|
||||
|
|
|
@ -3,7 +3,14 @@
|
|||
# 2021 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
/usr/bin/python{2.[4-7],3,3.[0-9]} r,
|
||||
|
||||
/usr/local/lib{,32,64}/python{2.[4-7],3,3.[0-9]}/{site,dist}-packages/**/ r,
|
||||
|
||||
owner @{user_lib_dirs}/python{2.[4-7],3,3.[0-9]}/**.{pyc,so} mr,
|
||||
owner @{user_lib_dirs}/python{2.[4-7],3,3.[0-9]}/**.{egg,py,pth} r,
|
||||
owner @{user_lib_dirs}/python{2.[4-7],3,3.[0-9]}/{site,dist}-packages/ r,
|
||||
owner @{user_lib_dirs}/python{2.[4-7],3,3.[0-9]}/{site,dist}-packages/**/ r,
|
||||
|
||||
# Silencer
|
||||
/{usr/,}lib/python3/** w,
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2018-2021 Mikhail Morfikov
|
||||
# 2021 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
@ -15,6 +16,7 @@
|
|||
/etc/zsh/zlogin r,
|
||||
|
||||
owner @{HOME}/.zshrc r,
|
||||
owner @{HOME}/.zshenv r,
|
||||
owner @{HOME}/.zsh_history rw,
|
||||
owner @{HOME}/.zsh_history.LOCK rwk,
|
||||
|
||||
|
@ -22,3 +24,4 @@
|
|||
owner @{HOME}/.oh-my-zsh/log/update.lock/ w,
|
||||
|
||||
owner @{HOME}/.zcompdump-* rw,
|
||||
owner @{user_config_dirs}/zsh/{,**} r,
|
||||
|
|
Loading…
Add table
Reference in a new issue