Le 12/05/2022 à 17:51, John Paul Adrian Glaubitz a écrit :
On 5/12/22 17:45, Laurent Vivier wrote:
No, the 'F' means 'fix-binary':

The interpreter is loaded in memory once when the binfmt_misc is configured 
(when
the configuration is written to /proc/sys/fs/binfmt_misc/register) from the host
filesystem. So you don't need to put it in the chroot.

So, the flags are correct then? Is there any way to properly test the argument 
issue?

Adrian


The flags are correct.

This can be tested with:

      $ sudo chroot m68k-chroot sh -c 'echo $0'
      sh

if the argument is not properly managed, you would have "/usr/bin/sh".

Thanks,
Laurent

Reply via email to