mirror of
https://github.com/termux/proot.git
synced 2024-11-11 13:49:26 +00:00
12 lines
323 B
Bash
12 lines
323 B
Bash
if [ ! -x ${ROOTFS}/bin/ptrace ] || [ ! -x ${ROOTFS}/bin/ptrace-2 ] || [ ! -x ${ROOTFS}/bin/true ]; then
|
|
exit 125;
|
|
fi
|
|
|
|
${PROOT} -r ${ROOTFS} ptrace
|
|
${PROOT} -r ${ROOTFS} ptrace 2
|
|
|
|
${PROOT} -r ${ROOTFS} ptrace-2 /bin/true
|
|
|
|
${PROOT} -r ${ROOTFS} ptrace-2 /bin/fork-wait
|
|
${PROOT} -r ${ROOTFS} ptrace-2 /bin/fork-wait 2
|