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)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 5 Jul 2024 18:00:04 +0000 (20:00 +0200)
commitd008b3fb269c92c219dad89fd33cfad844aa32b8
tree9fda738c5bdd4e6ea77db582ddd6e7432a67006c
parentd580b1f8500e7bdefb287f48108df39842c6e85a
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.

(cherry picked from commit 84b79215ccc5abd6ee50ffd9df34dbbe2d29d625)
src/core/exec-invoke.c