mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-30 23:05:11 +01:00
27 lines
527 B
Text
27 lines
527 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021 Alexandre Pujol
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/freefall
|
|
profile freefall @{exec_path} {
|
|
include <abstractions/base>
|
|
|
|
capability ipc_lock,
|
|
capability mknod,
|
|
capability sys_nice,
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{sys}/devices/**/unload_heads r,
|
|
@{sys}/class/leds/**/brightness r,
|
|
|
|
/dev/freefall rw,
|
|
/dev/sd[a-z]* rk,
|
|
/dev/sd[a-z]*[0-9]* rk,
|
|
|
|
include if exists <local/freefall>
|
|
}
|