termux-packages/packages/bash
Leonid Pliushch 9d92a7360c add patches for prefix verification - prevent use of prebuilt packages by third parties
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.
2020-09-28 00:10:00 +03:00
..
build.sh add patches for prefix verification - prevent use of prebuilt packages by third parties 2020-09-28 00:10:00 +03:00
config-top.h.patch bash: remove /bin/applets from PATH 2020-07-09 01:08:21 +03:00
error.c.patch bash: more patches for path fixing 2019-02-24 22:42:40 +02:00
etc-bash.bashrc bash: use command-not-found handler only if it exists 2019-07-22 02:23:43 +03:00
etc-profile bash: do not hardcode prefix/home paths 2019-07-22 02:23:55 +03:00
lib-malloc-stats.c.patch bash: more patches for path fixing 2019-02-24 22:42:40 +02:00
lib-malloc-table.c.patch bash: more patches for path fixing 2019-02-24 22:42:40 +02:00
lib-malloc-trace.c.patch bash: more patches for path fixing 2019-02-24 22:42:40 +02:00
lib-readline-complete.c.patch bash: more patches for path fixing 2019-02-24 22:42:40 +02:00
lib-readline-rlconf.h.patch bash: more patches for path fixing 2019-02-24 22:42:40 +02:00
lib-readline-util.c.patch bash: more patches for path fixing 2019-02-24 22:42:40 +02:00
lib-sh-tmpfile.c.patch bash: more patches for path fixing 2019-02-24 22:42:40 +02:00
pathnames.h.in.patch bash: more patches for path fixing 2019-02-24 22:42:40 +02:00
shell.c.patch bash: more patches for path fixing 2019-02-24 22:42:40 +02:00
verify-prefix.patch.txt add patches for prefix verification - prevent use of prebuilt packages by third parties 2020-09-28 00:10:00 +03:00