mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
Update acpid
This commit is contained in:
parent
70d50632bb
commit
ec9a4d3a6c
1 changed files with 2 additions and 10 deletions
|
@ -17,7 +17,7 @@ profile acpid @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
/{usr/,}bin/{,ba,da}sh rix,
|
/{usr/,}bin/{ba,da,}sh rix,
|
||||||
/{usr/,}bin/logger rix,
|
/{usr/,}bin/logger rix,
|
||||||
|
|
||||||
/etc/acpi/powerbtn-acpi-support.sh rPx -> acpid//powerbtn-acpi-support.sh,
|
/etc/acpi/powerbtn-acpi-support.sh rPx -> acpid//powerbtn-acpi-support.sh,
|
||||||
|
@ -39,12 +39,6 @@ profile acpid @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
profile acpid//powerbtn-acpi-support.sh flags=(attach_disconnected) {
|
profile acpid//powerbtn-acpi-support.sh flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/wutmp>
|
|
||||||
|
|
||||||
capability sys_ptrace,
|
|
||||||
deny capability net_admin, # ??
|
|
||||||
|
|
||||||
ptrace (read), # unconfined, tighten later, TODO
|
|
||||||
|
|
||||||
/etc/acpi/powerbtn-acpi-support.sh r,
|
/etc/acpi/powerbtn-acpi-support.sh r,
|
||||||
|
|
||||||
|
@ -79,8 +73,6 @@ profile acpid//powerbtn-acpi-support.sh flags=(attach_disconnected) {
|
||||||
|
|
||||||
@{PROC} r,
|
@{PROC} r,
|
||||||
@{PROC}/uptime r,
|
@{PROC}/uptime r,
|
||||||
@{PROC}/sys/kernel/osrelease r,
|
|
||||||
@{PROC}/@{pids}/stat r,
|
|
||||||
@{PROC}/@{pids}/cmdline r,
|
@{PROC}/@{pids}/cmdline r,
|
||||||
|
|
||||||
include if exists <local/acpid_powerbtn-acpi-support.sh>
|
include if exists <local/acpid_powerbtn-acpi-support.sh>
|
||||||
|
|
Loading…
Reference in a new issue