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 | ||
configure.patch | ||
dbmodify_dont_require_root.patch | ||
extract.c.patch | ||
lib-dpkg-atomic-file.c.patch | ||
lib-dpkg-dpkg.h.patch | ||
lib-dpkg-path-remove.c.patch | ||
src-archives.c.patch | ||
src-configure.c.patch | ||
src-help.c.patch | ||
src-statcmd.c.patch | ||
verify-prefix.patch.txt |