mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-06 10:15:08 +01:00
Add wl-copy.
This commit is contained in:
parent
f7e0824826
commit
b3352522ea
1 changed files with 25 additions and 0 deletions
25
apparmor.d/profiles-m-z/wl-copy
Normal file
25
apparmor.d/profiles-m-z/wl-copy
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/3.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{exec_path} = /{usr/,}bin/wl-{copy,paste}
|
||||||
|
profile wl-copy @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
/{usr/,}bin/cat rix,
|
||||||
|
/{usr/,}bin/rm rix,
|
||||||
|
|
||||||
|
/{usr/,}bin/xdg-mime rPx,
|
||||||
|
|
||||||
|
owner /tmp/wl-copy-buffer-*/{,**} rw,
|
||||||
|
|
||||||
|
/dev/tty rw,
|
||||||
|
|
||||||
|
include if exists <local/wl-copy>
|
||||||
|
}
|
Loading…
Reference in a new issue