feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-03-05 18:00:36 +00:00
parent 70963a50b6
commit ff849b9f09
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
17 changed files with 104 additions and 91 deletions

View file

@ -14,10 +14,6 @@ profile uname @{exec_path} flags=(attach_disconnected) {
@{exec_path} mr,
# file_inherit
owner @{HOME}/.xsession-errors w,
owner /tmp/mktexlsr.* rw,
/dev/tty@{int} rw,
deny network,

View file

@ -0,0 +1,16 @@
# 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} = @{bin}/uuidd
profile uuidd @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
include if exists <local/uuidd>
}

View file

@ -118,10 +118,10 @@ profile vlc @{exec_path} {
owner @{PROC}/@{pid}/task/@{tid}/comm rw,
/dev/shm/#@{int} rw,
/dev/tty r,
owner /dev/tty@{int} rw,
/dev/snd/ r,
/dev/tty r,
/dev/video@{int} rw,
owner /dev/tty@{int} rw,
# Silencer
deny @{lib}/@{multiarch}/vlc/{,**} w,