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:
@@ -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
|
||||
|
Reference in New Issue
Block a user