mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-06 17:31:01 +01:00
22 lines
558 B
Text
22 lines
558 B
Text
# vim:syntax=apparmor
|
|
|
|
# This file contains basic permissions for php-fpm workers
|
|
|
|
abi <abi/3.0>,
|
|
|
|
# load common libraries and their support files
|
|
include <abstractions/base>
|
|
# common php files and support files that php needs
|
|
include <abstractions/php>
|
|
|
|
signal (receive) peer=php-fpm,
|
|
|
|
# This is some php opcaching file
|
|
/tmp/.ZendSem.* rwk,
|
|
|
|
# I think this is adaptive memory management
|
|
/sys/devices/system/node/* r,
|
|
/sys/devices/system/node/*/meminfo r,
|
|
/sys/devices/system/node/ r,
|
|
|
|
include if exists <abstractions/php-worker.d>
|