core: do not filter out write() if required in the very late stage
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 24 Jun 2024 20:10:04 +0000 (05:10 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 24 Jun 2024 20:15:55 +0000 (05:15 +0900)
commit84b79215ccc5abd6ee50ffd9df34dbbe2d29d625
tree2e81276ab7c910b500015f17214700eae510233f
parent5161422bb5b0cc47100163ea690252c90159b354
core: do not filter out write() if required in the very late stage

Before 12001b1bf067339db089d52e08fd0b4c6a9945df, write() is required for
if Type=exec. However, with the previous commit, now write() is also used
for sending handoff timestamp. Let's allow write() if necessary.

Fixes a regression caused by 12001b1bf067339db089d52e08fd0b4c6a9945df.
Fixes #33299.
src/core/exec-invoke.c