mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-07 02:35:06 +01:00
36 lines
No EOL
902 B
Text
36 lines
No EOL
902 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/alacarte
|
|
profile alacarte @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/dconf-write>
|
|
include <abstractions/desktop>
|
|
include <abstractions/python>
|
|
|
|
@{exec_path} mr,
|
|
@{bin}/python3.@{int} rix,
|
|
|
|
@{lib}/python3.@{int}/site-packages/Alacarte/{,**/}__pycache__/*.cpython-@{int}.*.pyc.@{int} w,
|
|
|
|
/usr/share/alacarte/{,**} r,
|
|
/usr/share/desktop-directories/{,**} r,
|
|
|
|
/etc/xdg/menus/{,**} r,
|
|
|
|
owner @{user_config_dirs}/menus/{,**} r,
|
|
|
|
owner @{user_share_dirs}/applications/{,**} rw,
|
|
owner @{user_share_dirs}/desktop-directories/{,**} r,
|
|
|
|
owner @{tmp}/gdkpixbuf-xpm-tmp.@{rand6} rw,
|
|
|
|
owner @{PROC}/@{pid}/mounts r,
|
|
|
|
include if exists <local/alacarte>
|
|
} |