feat(profile): general update.
This commit is contained in:
parent
70963a50b6
commit
ff849b9f09
17 changed files with 104 additions and 91 deletions
|
|
@ -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,
|
||||
|
|
|
|||
16
apparmor.d/profiles-s-z/uuidd
Normal file
16
apparmor.d/profiles-s-z/uuidd
Normal 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>
|
||||
}
|
||||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue