feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2023-12-05 20:45:13 +00:00
parent bf973760fd
commit 319b976beb
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
47 changed files with 118 additions and 100 deletions

View file

@ -1,6 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2020-2021 Mikhail Morfikov
# Copyright (C) 2021-203 Alexandre Pujol <alexandre@pujol.io>
# Copyright (C) 2021-2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,

View file

@ -28,7 +28,7 @@ profile modprobed-db @{exec_path} {
@{bin}/uniq rix,
@{bin}/wc rix,
/usr/share/terminfo/x/xterm-256color r,
/usr/share/terminfo/** r,
owner @{user_config_dirs}/modprobed-db.conf r,
owner @{user_config_dirs}/modprobed.db rw,

View file

@ -22,7 +22,7 @@ profile nvtop @{exec_path} flags=(attach_disconnected) {
@{exec_path} mr,
/usr/share/terminfo/x/xterm-256color r,
/usr/share/terminfo/** r,
owner @{user_config_dirs}/nvtop/{,**} rw,

View file

@ -51,7 +51,7 @@ profile os-prober @{exec_path} flags=(attach_disconnected) {
@{lib}/os-probes/{,**} rix,
/usr/share/os-prober/common.sh r,
/usr/share/terminfo/x/xterm-256color r,
/usr/share/terminfo/** r,
/var/lib/os-prober/{,**} rw,

View file

@ -55,7 +55,7 @@ profile pass @{exec_path} {
@{bin}/qrencode rPUx, # pass-otp
@{bin}/tomb rPUx, # pass-tomb
/usr/share/terminfo/x/xterm-256color r,
/usr/share/terminfo/** r,
owner @{user_password_store_dirs}/{,**} rw,
owner /dev/shm/pass.*/{,*} rw,
@ -75,7 +75,7 @@ profile pass @{exec_path} {
/etc/vim/{,**} r,
/etc/vimrc r,
/usr/share/terminfo/x/xterm-256color r,
/usr/share/terminfo/** r,
/usr/share/vim/{,**} r,
/tmp/ r,

View file

@ -15,7 +15,7 @@ profile pinentry-curses @{exec_path} {
@{bin}/{,ba,da}sh rix,
/usr/share/terminfo/x/xterm-256color r,
/usr/share/terminfo/** r,
include if exists <local/pinentry-curses>
}