apparmor.d/apparmor.d/profiles-g-l/gsmartcontrol-root
2021-09-15 16:55:27 +01:00

23 lines
500 B
Plaintext

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2020-2021 Mikhail Morfikov
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/gsmartcontrol-root
profile gsmartcontrol-root @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
@{exec_path} r,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/which{,.debianutils} rix,
/{usr/,}bin/pkexec rPx,
include if exists <local/gsmartcontrol-root>
}