9d92a7360c
Add a small stub which verifies whether /data/data/com.termux/files/usr is readable into few important packages such like Bash or APT. If this check fails, e.g. in case if binary was executed in program with different package name (non-Termux), program will print warning and exit with error status immediately. This should prevent use of prebuilt packages by third-party applications. NOTE: for now it uses /data/data/com.termux/files/usr in reversed order to prevent automatic "blind" patching with sed. Will replace with randomized XOR-based variant in case if that measure won't be enough. |
||
---|---|---|
.. | ||
build.sh | ||
config-top.h.patch | ||
error.c.patch | ||
etc-bash.bashrc | ||
etc-profile | ||
lib-malloc-stats.c.patch | ||
lib-malloc-table.c.patch | ||
lib-malloc-trace.c.patch | ||
lib-readline-complete.c.patch | ||
lib-readline-rlconf.h.patch | ||
lib-readline-util.c.patch | ||
lib-sh-tmpfile.c.patch | ||
pathnames.h.in.patch | ||
shell.c.patch | ||
verify-prefix.patch.txt |