Closed ferfebles closed 4 years ago
PROOT_VERBOSE=9
or -v 9
)I used the installation script
Capture with -v 9
root@localhost:~/test# cd dir_proot info: vpid 1: sysenter start: openat(0xffffff9c, 0xf19c720, 0x20241, 0x1b6, 0xebe6a000, 0x1f028930) = 0xffffff9c [0xffcffce8, 0] proot info: vpid 1: translate("/" + "/dev/null") proot info: vpid 1: -> "/dev/null" proot info: vpid 1: sysenter end: openat(0xffffff9c, 0xffcffcde, 0x20241, 0x1b6, 0xebe6a000, 0x1f028930) = 0xffffff9c [0xffcffce8, 0] proot info: vpid 1: sysenter start: fstat64(0x1, 0xffcff700, 0xffcff700, 0xebdc7be5, 0xebe6adb8, 0xebe6b374) = 0x1 [0xffcff6f4, 0] proot info: vpid 1: sysenter end: fstat64(0x1, 0xffcff700, 0xffcff700, 0xebdc7be5, 0xebe6adb8, 0xebe6b374) = 0x1 [0xffcff6f4, 0] proot info: vpid 1: sysexit start: fstat64(0x0, 0xffcff700, 0xffcff700, 0xebdc7be5, 0xebe6adb8, 0xebe6b374) = 0x0 [0xffcff6f4, 0] proot info: vpid 1: sysexit end: fstat64(0x0, 0xffcff700, 0xffcff700, 0xebdc7be5, 0xebe6adb8, 0xebe6b374) = 0x0 [0xffcff6f4, 0] proot info: vpid 1: sysenter start: ioctl(0x1, 0x5401, 0xffcff678, 0xffcff6b8, 0xad6ffa00, 0x158) = 0x1 [0xffcff670, 0] proot info: vpid 1: sysenter end: ioctl(0x1, 0x5401, 0xffcff678, 0xffcff6b8, 0xad6ffa00, 0x158) = 0x1 [0xffcff670, 0] proot info: vpid 1: sysenter start: openat(0xffffff9c, 0xf19b418, 0x20241, 0x1b6, 0xebe6a000, 0x1f028930) = 0xffffff9c [0xffd00558, 0] proot info: vpid 1: translate("/" + "/dev/null") proot info: vpid 1: -> "/dev/null" proot info: vpid 1: sysenter end: openat(0xffffff9c, 0xffd0054e, 0x20241, 0x1b6, 0xebe6a000, 0x1f028930) = 0xffffff9c [0xffd00558, 0] proot info: vpid 12: pid 28051 proot info: vpid 12: sysenter start: openat(0xffffff9c, 0xf196550, 0xa4800, 0x0, 0x1f028930, 0x404000) = 0xffffff9c [0xffd01248, 0] proot info: vpid 12: translate("/root/test" + ".") proot info: vpid 12: -> "/data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs/root/test/." proot info: vpid 12: sysenter end: openat(0xffffff9c, 0xffd01200, 0xa4800, 0x0, 0x1f028930, 0x404000) = 0xffffff9c [0xffd01248, 0] proot info: vpid 12: sysenter start: fstat64(0x3, 0xffd011f8, 0xffd011f8, 0xad6ffa00, 0x1f028930, 0x3) = 0x3 [0xffd011ec, 0] proot info: vpid 12: sysenter end: fstat64(0x3, 0xffd011f8, 0xffd011f8, 0xad6ffa00, 0x1f028930, 0x3) = 0x3 [0xffd011ec, 0] proot info: vpid 12: sysexit start: fstat64(0x0, 0xffd011f8, 0xffd011f8, 0xad6ffa00, 0x1f028930, 0x3) = 0x0 [0xffd011ec, 0] proot info: vpid 12: sysexit end: fstat64(0x0, 0xffd011f8, 0xffd011f8, 0xad6ffa00, 0x1f028930, 0x3) = 0x0 [0xffd011ec, 0] proot info: vpid 12: sysenter start: brk(0xf1ca000, 0x80000000, 0xf1ca000, 0xebe6a000, 0xf1a4000, 0x26000) = 0xf1ca000 [0xffd010bc, 0] proot info: vpid 12: sysenter end: mremap(0xf0d5000, 0xcf000, 0xf5000, 0x0, 0x0, 0x26000) = 0xf0d5000 [0xffd010bc, 0] proot info: vpid 12: sysexit start: mremap(0xf0d5000, 0xcf000, 0xf5000, 0x0, 0x0, 0x26000) = 0xf0d5000 [0xffd010bc, 0] proot info: vpid 12: sysexit end: brk(0xf1ca000, 0x80000000, 0xf1ca000, 0xebe6a000, 0xf1a4000, 0x26000) = 0xf1ca000 [0xffd010bc, 0] proot info: vpid 12: sysenter start: brk(0xf1c2000, 0x20000, 0xf1c2000, 0xebe6a000, 0xf1ca000, 0xffff8000) = 0xf1c2000 [0xffd011dc, 0] proot info: vpid 12: sysenter end: mremap(0xf0d5000, 0xf5000, 0xed000, 0x0, 0x0, 0xffff8000) = 0xf0d5000 [0xffd011dc, 0] proot info: vpid 12: sysexit start: mremap(0xf0d5000, 0xf5000, 0xed000, 0x0, 0x0, 0xffff8000) = 0xf0d5000 [0xffd011dc, 0] proot info: vpid 12: sysexit end: brk(0xf1c2000, 0x20000, 0xf1c2000, 0xebe6a000, 0xf1ca000, 0xffff8000) = 0xf1c2000 [0xffd011dc, 0] proot info: vpid 12: sysenter start: stat64(0xf196200, 0xffd01268, 0xffd01268, 0xad6ffa00, 0x1f028930, 0xf196200) = 0xf196200 [0xffd0125c, 0] proot info: vpid 12: translate("/root/test" + "dir_one") proot info: vpid 12: -> "/data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs/root/test/dir_one" proot info: vpid 12: sysenter end: stat64(0xffd0120e, 0xffd01268, 0xffd01268, 0xad6ffa00, 0x1f028930, 0xf196200) = 0xffd0120e [0xffd0120e, 0] proot info: vpid 12: sysexit start: stat64(0x0, 0xffd01268, 0xffd01268, 0xad6ffa00, 0x1f028930, 0xf196200) = 0x0 [0xffd0120e, 0] proot info: vpid 12: sysexit end: stat64(0x0, 0xffd01268, 0xffd01268, 0xad6ffa00, 0x1f028930, 0xf196200) = 0x0 [0xffd0125c, 0] proot info: vpid 12: sysenter start: stat64(0xf196200, 0xffd01268, 0xffd01268, 0xad6ffa00, 0x1f028930, 0xf196200) = 0xf196200 [0xffd0125c, 0] proot info: vpid 12: translate("/root/test" + "dir_two") proot info: vpid 12: -> "/data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs/root/test/dir_two" proot info: vpid 12: sysenter end: stat64(0xffd0120e, 0xffd01268, 0xffd01268, 0xad6ffa00, 0x1f028930, 0xf196200) = 0xffd0120e [0xffd0120e, 0] proot info: vpid 12: sysexit start: stat64(0x0, 0xffd01268, 0xffd01268, 0xad6ffa00, 0x1f028930, 0xf196200) = 0x0 [0xffd0120e, 0] proot info: vpid 12: sysexit end: stat64(0x0, 0xffd01268, 0xffd01268, 0xad6ffa00, 0x1f028930, 0xf196200) = 0x0 [0xffd0125c, 0] proot info: vpid 12: translate("/root/test" + "dir_one") proot info: vpid 12: -> "/data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs/root/test/dir_one" proot info: vpid 12: sysenter end: stat64(0xffd0120e, 0xffd01268, 0xffd01268, 0xad6ffa00, 0x1f028930, 0xf196200) = 0xffd0120e [0xffd0120e, 0] proot info: vpid 12: sysexit start: stat64(0x0, 0xffd01268, 0xffd01268, 0xad6ffa00, 0x1f028930, 0xf196200) = 0x0 [0xffd0120e, 0] proot info: vpid 12: sysexit end: stat64(0x0, 0xffd01268, 0xffd01268, 0xad6ffa00, 0x1f028930, 0xf196200) = 0x0 [0xffd0125c, 0] proot info: vpid 12: sysenter start: stat64(0xf196200, 0xffd01268, 0xffd01268, 0xad6ffa00, 0x1f028930, 0xf196200) = 0xf196200 [0xffd0125c, 0] proot info: vpid 12: translate("/root/test" + "dir_two") proot info: vpid 12: -> "/data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs/root/test/dir_two" proot info: vpid 12: sysenter end: stat64(0xffd0120e, 0xffd01268, 0xffd01268, 0xad6ffa00, 0x1f028930, 0xf196200) = 0xffd0120e [0xffd0120e, 0] proot info: vpid 12: sysexit start: stat64(0x0, 0xffd01268, 0xffd01268, 0xad6ffa00, 0x1f028930, 0xf196200) = 0x0 [0xffd0120e, 0] proot info: vpid 12: sysexit end: stat64(0x0, 0xffd01268, 0xffd01268, 0xad6ffa00, 0x1f028930, 0xf196200) = 0x0 [0xffd0125c, 0] proot info: vpid 12: exited with status 0 proot info: vpid 1: sysenter start: wait4(0xffffffff, 0xffd013a4, 0xb, 0x0, 0x78, 0x0) = 0xffffffff [0xffd01350, 0] proot info: vpid 1: sysenter end: wait4(0xffffffff, 0xffd013a4, 0xb, 0x0, 0x78, 0x0) = 0xffffffff [0xffd01350, 0] proot info: vpid 1: sysexit start: wait4(0x6d93, 0xffd013a4, 0xb, 0x0, 0x78, 0x0) = 0x6d93 [0xffd01350, 0] proot info: vpid 1: sysexit end: wait4(0x6d93, 0xffd013a4, 0xb, 0x0, 0x78, 0x0) = 0x6d93 [0xffd01350, 0] proot info: vpid 1: sysenter start: wait4(0xffffffff, 0xffd013a4, 0xb, 0x0, 0x78, 0x0) = 0xffffffff [0xffd01350, 0] proot info: vpid 1: sysenter end: wait4(0xffffffff, 0xffd013a4, 0xb, 0x0, 0x78, 0x0) = 0xffffffff [0xffd01350, 0] proot info: vpid 1: sysexit start: wait4(0xfffffff6, 0xffd013a4, 0xb, 0x0, 0x78, 0x0) = 0xfffffff6 [0xffd01350, 0] proot info: vpid 1: sysexit end: wait4(0xfffffff6, 0xffd013a4, 0xb, 0x0, 0x78, 0x0) = 0xfffffff6 [0xffd01350, 0] proot info: vpid 1: sysenter start: ioctl(0xff, 0x5410, 0xffd01474, 0xad6ffa00, 0x1f028930, 0xffd01484) = 0xff [0xffd0146c, 0] proot info: vpid 1: sysenter end: ioctl(0xff, 0x5410, 0xffd01474, 0xad6ffa00, 0x1f028930, 0xffd01484) = 0xff [0xffd0146c, 0] proot info: vpid 1: sysenter start: stat64(0xf0b3284, 0xffd01958, 0xffd01958, 0xad6ffa00, 0x1f028930, 0xf0ce658) = 0xf0b3284 [0xffd0194c, 0] proot info: vpid 1: translate("/" + "/tmp") proot info: vpid 1: -> "/data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs/tmp" proot info: vpid 1: sysenter end: stat64(0xffd0190c, 0xffd01958, 0xffd01958, 0xad6ffa00, 0x1f028930, 0xf0ce658) = 0xffd0190c [0xffd0190c, 0] proot info: vpid 1: sysexit start: stat64(0x0, 0xffd01958, 0xffd01958, 0xad6ffa00, 0x1f028930, 0xf0ce658) = 0x0 [0xffd0190c, 0] proot info: vpid 1: sysexit end: stat64(0x0, 0xffd01958, 0xffd01958, 0xad6ffa00, 0x1f028930, 0xf0ce658) = 0x0 [0xffd0194c, 0] proot info: vpid 1: sysenter start: faccessat(0xffffff9c, 0xf0b3284, 0x2, 0x0, 0x200, 0x158) = 0xffffff9c [0xffd018b0, 0] proot info: vpid 1: translate("/" + "/tmp") proot info: vpid 1: -> "/data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs/tmp" proot info: vpid 1: sysenter end: faccessat(0xffffff9c, 0xffd01870, 0x2, 0x0, 0x200, 0x158) = 0xffffff9c [0xffd018b0, 0] proot info: vpid 1: sysenter start: statfs64(0xf0b3284, 0x58, 0xffd01880, 0xad6ffa00, 0x1f028930, 0xebeae4b0) = 0xf0b3284 [0xffd01874, 0] proot info: vpid 1: translate("/" + "/tmp") proot info: vpid 1: -> "/data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs/tmp" proot info: vpid 1: sysenter end: statfs64(0xffd01834, 0x58, 0xffd01880, 0xad6ffa00, 0x1f028930, 0xebeae4b0) = 0xffd01834 [0xffd01834, 0] proot info: vpid 1: sysexit start: statfs64(0x0, 0x58, 0xffd01880, 0xad6ffa00, 0x1f028930, 0xebeae4b0) = 0x0 [0xffd01834, 0] proot info: vpid 1: translate("/" + "/dev/shm") proot info: vpid 1: -> "/data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs/tmp" proot info: Updating statfs() result to fake tmpfs /dev/shm proot warning: ptrace(POKEDATA): I/O error proot info: Updating statfs() result failed proot info: vpid 1: sysexit end: statfs64(0x0, 0x58, 0xffd01880, 0xad6ffa00, 0x1f028930, 0xebeae4b0) = 0x0 [0xffd01874, 0] proot info: vpid 1: sysenter start: openat(0xffffff9c, 0xf1a1b10, 0x200c2, 0x180, 0xebe6a000, 0x1f028930) = 0xffffff9c [0xffd01900, 0] proot info: vpid 1: translate("/" + "/tmp/sh-thd.Alg4P2") proot info: vpid 1: -> "/data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs/tmp/sh-thd.Alg4P2" proot info: vpid 1: sysenter end: openat(0xffffff9c, 0xffd018b2, 0x200c2, 0x180, 0xebe6a000, 0x1f028930) = 0xffffff9c [0xffd01900, 0] proot info: vpid 1: sysenter start: fchmod(0x3, 0x180, 0xad6ffa00, 0x10, 0xf19df00, 0xf19df00) = 0x3 [0xffd01a04, 0] proot info: vpid 1: sysenter end: fchmod(0x3, 0x180, 0xad6ffa00, 0x10, 0xf19df00, 0xf19df00) = 0x3 [0xffd01a04, 0] proot info: vpid 1: sysexit start: fchmod(0x0, 0x180, 0xad6ffa00, 0x10, 0xf19df00, 0xf19df00) = 0x0 [0xffd01a04, 0] proot info: vpid 1: sysexit end: fchmod(0x0, 0x180, 0xad6ffa00, 0x10, 0xf19df00, 0xf19df00) = 0x0 [0xffd01a04, 0] proot info: vpid 1: sysenter start: openat(0xffffff9c, 0xf1a1b10, 0x20000, 0x0, 0xebe6a000, 0x1f028930) = 0xffffff9c [0xffd019c8, 0] proot info: vpid 1: translate("/" + "/tmp/sh-thd.Alg4P2") proot info: vpid 1: -> "/data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs/tmp/sh-thd.Alg4P2" proot info: vpid 1: sysenter end: openat(0xffffff9c, 0xffd0197a, 0x20000, 0x0, 0xebe6a000, 0x1f028930) = 0xffffff9c [0xffd019c8, 0] proot info: vpid 1: sysenter start: unlink(0xf1a1b10, 0xffd0197a, 0x78, 0x0, 0xf1961c8, 0x4) = 0xf1a1b10 [0xffd01a04, 0] proot info: vpid 1: translate("/" + "/tmp/sh-thd.Alg4P2") proot info: vpid 1: -> "/data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs/tmp/sh-thd.Alg4P2" proot info: vpid 1: sysenter end: unlink(0xffd019b6, 0xffd0197a, 0x78, 0x0, 0xf1961c8, 0x4) = 0xffd019b6 [0xffd019b6, 0] proot info: vpid 1: sysexit start: unlink(0x0, 0xffd0197a, 0x78, 0x0, 0xf1961c8, 0x4) = 0x0 [0xffd019b6, 0] proot info: vpid 1: sysexit end: unlink(0x0, 0xffd0197a, 0x78, 0x0, 0xf1961c8, 0x4) = 0x0 [0xffd01a04, 0] proot info: vpid 1: sysenter start: fchmod(0x4, 0x100, 0xad6ffa00, 0xad6ffa00, 0xf1961c8, 0x4) = 0x4 [0xffd01a04, 0] proot info: vpid 1: sysenter end: fchmod(0x4, 0x100, 0xad6ffa00, 0xad6ffa00, 0xf1961c8, 0x4) = 0x4 [0xffd01a04, 0] proot info: vpid 1: sysexit start: fchmod(0x0, 0x100, 0xad6ffa00, 0xad6ffa00, 0xf1961c8, 0x4) = 0x0 [0xffd01a04, 0] proot info: vpid 1: sysexit end: fchmod(0x0, 0x100, 0xad6ffa00, 0xad6ffa00, 0xf1961c8, 0x4) = 0x0 [0xffd01a04, 0] proot info: vpid 1: sysenter start: ioctl(0x0, 0x5401, 0xffd016c0, 0xffd01700, 0xad6ffa00, 0x158) = 0x0 [0xffd016b8, 0] proot info: vpid 1: sysenter end: ioctl(0x0, 0x5401, 0xffd016c0, 0xffd01700, 0xad6ffa00, 0x158) = 0x0 [0xffd016b8, 0] proot info: vpid 1: sysenter start: ioctl(0x0, 0x5401, 0xffd016c0, 0xffd01700, 0xad6ffa00, 0x158) = 0x0 [0xffd016b8, 0] proot info: vpid 1: sysenter end: ioctl(0x0, 0x5401, 0xffd016c0, 0xffd01700, 0xad6ffa00, 0x158) = 0x0 [0xffd016b8, 0] proot info: vpid 1: sysenter start: ioctl(0x0, 0x5401, 0xffd016c0, 0xffd01700, 0xad6ffa00, 0x158) = 0x0 [0xffd016b8, 0] proot info: vpid 1: sysenter end: ioctl(0x0, 0x5401, 0xffd016c0, 0xffd01700, 0xad6ffa00, 0x158) = 0x0 [0xffd016b8, 0] proot info: vpid 1: sysenter start: openat(0xffffff9c, 0xf196320, 0x20241, 0x1b6, 0xebe6a000, 0x1f028930) = 0xffffff9c [0xffd01a40, 0] proot info: vpid 1: translate("/" + "/dev/null") proot info: vpid 1: -> "/dev/null" proot info: vpid 1: sysenter end: openat(0xffffff9c, 0xffd01a36, 0x20241, 0x1b6, 0xebe6a000, 0x1f028930) = 0xffffff9c [0xffd01a40, 0]
I've pushed fix to master
branch, you can try it now by building from source, I'll send fix to Termux apt repo in few days.
As upstream proot has no /dev/shm
is tmpfs emulation, I think this issue won't occur there and proot-me/proot#213 can be closed.
Built from source and works great!!
Thanks!!!
Closing issue as update is now live in Termux apt repository
Thanks!
On 8 Mar 2020, at 08:03, michalbednarski notifications@github.com wrote:
Closed #96.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
From https://github.com/proot-me/proot/issues/213#issue-564813304
Expected Behavior
Press TAB key inside shell and show the completion list files and folders
Actual Behavior
Press TAB and a warning is shown
Steps to Reproduce the Problem
Specifications
Command Output