[php-src] PR #21256: ext/pcntl: fix pcntl_setns() error handling.

From: Date: Thu, 19 Feb 2026 12:49:05 +0000
Subject: [php-src] PR #21256: ext/pcntl: fix pcntl_setns() error handling.
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-34958@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/21256 Author: devnexen pidfd_open error check was relying on errno which might hold a stale value from a previous call, we check instead against the syscall return value directly. Also we save errno from setns() before calling close() which could clobber it.

« previous php.git-pulls (#34958) next »