aboutsummaryrefslogtreecommitdiff
path: root/straper/db/public/apparmor/apparmor.d/abstractions/php-worker
blob: 40f63adb5d5424fe454f6657fc1748f8b4cd3b65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# vim:syntax=apparmor

# This file contains basic permissions for php-fpm workers

  abi <abi/4.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>