feat(profile): add some kde related profiles.
This commit is contained in:
parent
bf22e0770f
commit
8290c74e66
2 changed files with 40 additions and 0 deletions
18
apparmor.d/groups/kde/drkonqi-coredump-cleanup
Normal file
18
apparmor.d/groups/kde/drkonqi-coredump-cleanup
Normal 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>
|
||||||
|
}
|
||||||
22
apparmor.d/groups/kde/xwaylandvideobridge
Normal file
22
apparmor.d/groups/kde/xwaylandvideobridge
Normal 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>
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue