diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2025-08-09 20:14:10 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2025-08-09 20:17:31 +0200 |
| commit | 9b67dde8cdd40f5401b78fabed3f3fa245724006 (patch) | |
| tree | dd840a3f9a1ded0a6f4201bc2aab9d60a013e893 /scripts/mkdiff_obj | |
| parent | 81274d8b3085d59bf5c01a35c17bac3d6952b53d (diff) | |
| download | busybox-w32-9b67dde8cdd40f5401b78fabed3f3fa245724006.tar.gz busybox-w32-9b67dde8cdd40f5401b78fabed3f3fa245724006.tar.bz2 busybox-w32-9b67dde8cdd40f5401b78fabed3f3fa245724006.zip | |
ash: redir: Retry open on EINTR
Upstream commit:
Date: Thu, 28 May 2020 21:31:45 +1000
redir: Retry open64 on EINTR
It is possible for open64 to block on named pipes, and therefore
it can be interrupted by signals and return EINTR. We should only
let it fail with EINTR if real signals are pending (i.e., it should
not fail on SIGCHLD if SIGCHLD has not been trapped).
This patch adds a new helper sh_open to retry the open64 call if
necessary. It also calls sh_error when appropriate.
Fixes: 3800d4934391 ("[JOBS] Fix dowait signal race")
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/mkdiff_obj')
0 files changed, 0 insertions, 0 deletions
