mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-01 06:45:38 +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:
@@ -46,10 +46,10 @@ profile php-fpm /usr/sbin/php-fpm* flags=(attach_disconnected) {
|
|||||||
deny / rw,
|
deny / rw,
|
||||||
|
|
||||||
# allow sending signals to our subprocesses
|
# allow sending signals to our subprocesses
|
||||||
signal (send) peer=/usr/sbin/php-fpm*//*,
|
signal (send) peer=php-fpm//*,
|
||||||
|
|
||||||
# allow switching processes to those subprofiles
|
# allow switching processes to those subprofiles
|
||||||
change_profile /usr/sbin/php-fpm*//*,
|
change_profile -> php-fpm//*,
|
||||||
|
|
||||||
# load all files from this directory
|
# load all files from this directory
|
||||||
# store your configurations per pool in this dir
|
# store your configurations per pool in this dir
|
||||||
|
Reference in New Issue
Block a user