lkl / linux

Linux kernel source tree

Home Page:https://lkl.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to run lkl hijack on android 10

fish4terrisa-MSDSM opened this issue · comments

I have tried the hijack library on android 10 with termux , and I got this output:

$ LD_PRELOAD=./liblkl-hijack.so ip                                                            
CANNOT LINK EXECUTABLE "ip": "/data/data/com.termux/files/home/lib/hijack/liblkl-hijack.so": W+E load segments are not allowed                                                                      
$ LD_PRELOAD=./liblkl-zpoline.so ip                                                  
CANNOT LINK EXECUTABLE "ip": "/data/data/com.termux/files/home/lib/hijack/liblkl-zpoline.so": W+E load segments are not allowed

And I have built the libs with linaro-6.3 toolchain, does anyone knows how to fix that?