2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 14:25:52 +00:00

php-fpm: fix profile name in signal and change_profile rule

Note: the change_profile rule was not really correct and only worked by
accident. We want to specify the target profile, therefore add the '->'.
This commit is contained in:
Christian Boltz
2020-08-28 22:40:21 +02:00
parent 3a4dc1f885
commit 9892a03270

View File

@@ -46,10 +46,10 @@ profile php-fpm /usr/sbin/php-fpm* flags=(attach_disconnected) {
deny / rw,
# allow sending signals to our subprocesses
signal (send) peer=/usr/sbin/php-fpm*//*,
signal (send) peer=php-fpm//*,
# allow switching processes to those subprofiles
change_profile /usr/sbin/php-fpm*//*,
change_profile -> php-fpm//*,
# load all files from this directory
# store your configurations per pool in this dir