mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-16 00:13:48 +01:00
30 lines
612 B
Plaintext
30 lines
612 B
Plaintext
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2017-2021 Mikhail Morfikov
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /{usr/,}bin/tpacpi-bat
|
|
profile tpacpi-bat @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/perl>
|
|
|
|
@{exec_path} mr,
|
|
/{usr/,}bin/perl r,
|
|
|
|
/{usr/,}bin/{,ba,da}sh rix,
|
|
/{usr/,}bin/cat rix,
|
|
|
|
# To load the acpi_call module
|
|
/{usr/,}bin/kmod rPx,
|
|
|
|
@{PROC}/acpi/call rw,
|
|
|
|
@{sys}/devices/virtual/dmi/id/product_version r,
|
|
@{sys}/devices/**/path r,
|
|
|
|
include if exists <local/tpacpi-bat>
|
|
}
|