mirror of
https://github.com/systemd/systemd.git
synced 2025-08-03 08:22:21 +03:00
execute: add FIXME comment
As requested by @YHNdnzj: https://github.com/systemd/systemd/pull/33707#discussion_r1684055699
This commit is contained in:
@ -497,6 +497,9 @@ static int setup_output(
|
||||
i = fixup_input(context, socket_fd, params->flags & EXEC_APPLY_TTY_STDIN);
|
||||
o = fixup_output(context->std_output, socket_fd);
|
||||
|
||||
// FIXME: we probably should spend some time here to verify that if we inherit an fd from stdin
|
||||
// (possibly indirect via inheritance from stdout) it is actually opened for write!
|
||||
|
||||
if (fileno == STDERR_FILENO) {
|
||||
ExecOutput e;
|
||||
e = fixup_output(context->std_error, socket_fd);
|
||||
|
Reference in New Issue
Block a user