Repository navigation
Commit d7a6f73
committed
K2GO-446 fix(terminal): run iiab orchestrator through the interpreter
At targetSdk 35 Android W^X (neverallow app_data_file:file execute_no_trans)
blocks execve of a file in the app data dir, so the host shell could not run
the generated iiab script directly ("Permission denied") and iiab --login was
unreachable. Define iiab as a .mkshrc function that runs the script through
/system/bin/sh; read and interpret are allowed, only execute is blocked. The
ninja symlinks and proot run from nativeLibraryDir and are unaffected.1 parent 087362a commit d7a6f73
1 file changed
Lines changed: 7 additions & 3 deletions
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
| 593 | + | |
| 594 | + | |
593 | 595 | | |
594 | 596 | | |
595 | 597 | | |
| |||
653 | 655 | | |
654 | 656 | | |
655 | 657 | | |
656 | | - | |
657 | 658 | | |
658 | 659 | | |
659 | 660 | | |
| |||
890 | 891 | | |
891 | 892 | | |
892 | 893 | | |
893 | | - | |
| 894 | + | |
894 | 895 | | |
895 | 896 | | |
896 | | - | |
| 897 | + | |
897 | 898 | | |
898 | 899 | | |
899 | 900 | | |
| |||
977 | 978 | | |
978 | 979 | | |
979 | 980 | | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
980 | 984 | | |
981 | 985 | | |
982 | 986 | | |
| |||
0 commit comments