On Monday 01 Aug 2016 17:32:58 Mick wrote:
> On Monday 01 Aug 2016 12:19:41 waltd...@waltdnes.org wrote:

> > > What chroot() actually does is fairly simple, it modifies pathname
> > > lookups for a process and its children so that any reference to a path
> > > starting '/' will effectively have the new root, which is passed as
> > > the single argument, prepended onto the path. The current working
> > > directory is left unchanged and relative paths can still refer to
> > > files outside of the new root.
> 
> Thanks Walter, it's present along with the whole of the 32bit OS fs:
> 
> gentoo-32bit # ls -la /mnt/iso/gentoo-32bit/bin/bash
> -rwxr-xr-x 1 root root 677244 Jan 16  2016 /mnt/iso/gentoo-32bit/bin/bash
> 
> gentoo-32bit # file /mnt/iso/gentoo-32bit/bin/bash
> /mnt/iso/gentoo-32bit/bin/bash: ELF 32-bit LSB executable, Intel 80386,
> version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for
> GNU/Linux 2.6.32, stripped
> 
> 
> Am I missing something in the amd64 kernel to be able to execute 32bit code?

No, I was missing the *whole* of the 32bit fs /lib directory.  O_O

Apologies for the noise.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to