[php-src] PR #18742: ext/opcache: Log a warning when opcache lock file permissions could not be changed
| From: | TaaviE | Date: | Mon, 02 Jun 2025 15:11:04 +0000 |
| Subject: | [php-src] PR #18742: ext/opcache: Log a warning when opcache lock file permissions could not be changed | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31930@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18742
Author: TaaviE
Commit 9ab79822418a54c4dff03eefdc036f200e05d1d8 fixed an issue where failing
mkstemp
would return -1 which would result in an invalid call of fchmod and the
clobbering of errno. But the fchmod call itself could also fail (e.g.
SELinux policy), thus the return code should also be checked and a relevant warning logged.