mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 16:03:51 +01:00
af603fbc62
This reverts commit 51a33f3f5e
.
25 lines
482 B
Plaintext
25 lines
482 B
Plaintext
# 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>
|
|
} |