iovyroot icon indicating copy to clipboard operation
iovyroot copied to clipboard

avc: denied after root and SELinux set to permessive

Open alien0x00 opened this issue 8 years ago • 0 comments

Hello!

I'm trying to have iovyroot working for an old Samsung device (Galaxy Core Prime). I was able to extract all the symbols needed from the kernel and the exploit seems working properly:

...
[+] Changing fd limit from 1024 to 4096
[+] Changing process priority to highest
[+] Getting pipes
[+] Allocating memory
[+] Installing func ptr
    [+] Patching address 0xc0c78e58
    [+] Start map/unmap thread
    [+] Start write thread
    [+] Spraying kernel heap
    [+] Start read thread
    [+] Done
[+] Got root!

SELinux is set in "Permessive" mode but still:

 avc:  denied  { dac_override } for  pid=4212 comm="touch" capability=1  scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0

Do you guys know what's going on?

alien0x00 avatar Nov 08 '16 16:11 alien0x00