I want to create a chroot environment that has access to hand-picked programs but is completely isolated from the rest of the system.
I created three folders in this chroot folder: bin
, lib
, lib64
. I then copied an executable, in this case /bin/bash
into bin
. ldd /bin/bash
shows this output:
linux-vdso.so.1 => (0x00007ffff01f6000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f35ed501000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f35ed2fd000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f35ecf33000)
/lib64/ld-linux-x86-64.so.2 (0x00007f35ed72a000)
I can copy all of these libraries, except linux-vdso.so.1
. If I sudo find / -name "linux-vdso.so.1"
I get no output.
What should I do now?