mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
feat(profile): add some kde related profiles.
This commit is contained in:
parent
bf22e0770f
commit
8290c74e66
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…
Reference in New Issue
Block a user