mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-11 12:45:10 +01:00
feat(profile): add profile for xdg-desktop-portal-validate-icon.
This commit is contained in:
parent
ba5079d95c
commit
ace9a12c95
1 changed files with 26 additions and 0 deletions
|
@ -0,0 +1,26 @@
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/4.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{exec_path} = @{lib}/xdg-desktop-portal-validate-icon
|
||||||
|
profile xdg-desktop-portal-validate-icon @{exec_path} flags=(attach_disconnected) {
|
||||||
|
include <abstractions/base>
|
||||||
|
include <abstractions/common/bwrap>
|
||||||
|
include <abstractions/freedesktop.org>
|
||||||
|
|
||||||
|
capability dac_override,
|
||||||
|
|
||||||
|
@{exec_path} mrix,
|
||||||
|
|
||||||
|
@{bin}/bwrap ix,
|
||||||
|
|
||||||
|
owner @{tmp}/icon@{rand6} r,
|
||||||
|
|
||||||
|
include if exists <local/xdg-desktop-portal-validate-icon>
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
Loading…
Reference in a new issue