feat(profile): add some kde related profiles.

This commit is contained in:
Alexandre Pujol 2024-03-17 22:49:19 +00:00
parent bf22e0770f
commit 8290c74e66
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# 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} = @{lib}/drkonqi-coredump-cleanup
profile drkonqi-coredump-cleanup @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
@{user_cache_dirs}/kcrash-metadata/ r,
include if exists <local/drkonqi-coredump-cleanup>
}

View File

@ -0,0 +1,22 @@
# 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}/xwaylandvideobridge
profile xwaylandvideobridge @{exec_path} {
include <abstractions/base>
include <abstractions/graphics>
include <abstractions/nameservice-strict>
include <abstractions/kde-strict>
@{exec_path} mr,
owner @{user_cache_dirs}/xwaylandvideobridge/ rw,
owner @{user_cache_dirs}/xwaylandvideobridge/** rwk,
include if exists <local/xwaylandvideobridge>
}