termux-packages/packages/coreutils
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
..
tests
build.sh add patches for prefix verification - prevent use of prebuilt packages by third parties 2020-09-28 00:10:00 +03:00
configure.patch coreutils: Update from 8.30 to 8.31 2019-04-24 11:34:22 +02:00
fix-paths.patch coreutils: specify DEFAULT_TMPDIR with patch 2020-05-05 14:16:27 +03:00
nohup.c.patch
pwd.c.patch
src-ls.c.patch coreutils: update src-ls.c.patch 2020-03-08 19:54:51 +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