core: use write() to send handoff timestamp
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 23 Jun 2024 06:15:30 +0000 (15:15 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 24 Jun 2024 20:14:57 +0000 (05:14 +0900)
commit5161422bb5b0cc47100163ea690252c90159b354
tree54f2e123d8d2fd7743ed6afe3ed8f9b00b2e653b
parentb89a262eb57f18c2dbf6c1ee7427b6f6fd8203cf
core: use write() to send handoff timestamp

Before 12001b1bf067339db089d52e08fd0b4c6a9945df, the timestamp is sent
with write(), but the commit made the timestamp sent by send(), and
causes regressin #33299.

Note the invocation will still fail if write() is filtered by seccomp.
But, that is an old issue since Type=exec is introduced
(5686391b006ee82d8a4559067ad9818e3e631247).

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