On 18 August 2014 15:59, Joakim Tjernlund <joakim.tjernl...@transmode.se> wrote:
> Peter Maydell <peter.mayd...@linaro.org> wrote on 2014/08/18 14:45:49:
>> I'm sure there are cases which don't work; but we should try
>> to find a way which allows us to make those work (with a
>> recommended change to binfmt misc registration) which
>> doesn't break the old configs in the process.

> This was considered/discussed to some point and no-one could come up
> with a better approach.

A lot of people are OK with the current approach. Really few
applications become unhappy if say,called "/bin/ls" instead of "ls".
So saying things are "broken" without switching to P flag is a bit
myopic view. In my experience, only some testsuites suffer failures.

The problem with updating the binfmt registration is that people may
have a mix of old and new qemu binaries. When we change the
registration, it means no old qemu anymore works. The "argc > 3" is
also a bit weak - it means that calling "ls -la ." would pass the test
even if "P" flag is not set, but qemu would pass wrong parameters to
the binary being run.

No doubt starting to use the P flag would be a improvement. But it
would be good to find a less breaky way manage the transition.

Riku

Reply via email to