mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-03-04 06:34:43 +01:00
30 lines
674 B
Text
30 lines
674 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2020-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}/openbox-session
|
|
profile openbox-session @{exec_path} {
|
|
include <abstractions/base>
|
|
|
|
@{exec_path} r,
|
|
@{sh_path} rix,
|
|
|
|
@{bin}/xprop rPx,
|
|
@{bin}/openbox rPx,
|
|
|
|
/etc/xdg/openbox/environment r,
|
|
owner @{user_config_dirs}/openbox/environment r,
|
|
|
|
# file_inherit
|
|
owner @{HOME}/.xsession-errors w,
|
|
owner /dev/tty@{int} rw,
|
|
|
|
include if exists <local/openbox-session>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|