Jie Yu commented on MESOS-5070:

I think we should hide parent_hooks, child_hooks in the subprocess interface on 
windows platforms (i.e., #ifdef) so the windows code don't accidentally touch 
it, expecting it to work.

In long term, I agree with [~js84] that: since we don't allow arbitrary child 
hooks, we may be able to support that on windows. We just need to convert child 
hooks to proper 'CreateProcess' parameter.

> Introduce more flexible subprocess interface for child options.
> ---------------------------------------------------------------
>                 Key: MESOS-5070
>                 URL: https://issues.apache.org/jira/browse/MESOS-5070
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Joerg Schad
>            Assignee: Joerg Schad
>              Labels: tech-debt
> We introduced a number of parameters to the subprocess interface with 
> MESOS-5049.
> Adding all options explicitly to the subprocess interface makes it 
> inflexible. 
> We should investigate a flexible options, which still prevents arbitrary code 
> to be executed.

This message was sent by Atlassian JIRA

Reply via email to