feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-05-13 20:35:11 +01:00
parent 1739c07ca1
commit 8f102dea0a
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
12 changed files with 78 additions and 59 deletions

View file

@ -1,25 +1,22 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2020 krathalan https://git.sr.ht/~krathalan/apparmor-profiles/
# 2021 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-3.0-only
# Version of program profiled: 0.13
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/xclip
profile xclip @{exec_path} {
include <abstractions/base>
include <abstractions/X-strict>
network unix stream,
@{exec_path} mr,
owner @{tmp}/mutt-* rw,
owner @{tmp}/xauth_@{rand6} r,
owner @{HOME}/.Xauthority r,
deny /dev/tty rw,
include if exists <local/xclip>
}