29 lines
651 B
Text
29 lines
651 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2017-2021 Mikhail Morfikov
|
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/4.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/xsel
|
|
profile xsel @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/consoles>
|
|
include <abstractions/X-strict>
|
|
|
|
@{exec_path} mr,
|
|
|
|
owner @{HOME}/.xsel.log rw,
|
|
owner @{user_cache_dirs}/ rw,
|
|
owner @{user_cache_dirs}/xsel.log rw,
|
|
|
|
# file_inherit
|
|
owner /dev/tty@{int} rw,
|
|
owner @{HOME}/.xsession-errors w,
|
|
|
|
include if exists <local/xsel>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|