su commands and superuser permissions
I've posted it in another forum, but it doesnt look like anyone knows how to fix the problem there. Soooo....
I've created a native library, which allows me to run the c 'system' command with my android app.
But somehow, the "superuser permissions app" asks me for permission for every different command, that i am executing. For example: I do a 'su -c "busybox free"'. The superuser app will ask me whether i want to allow or not, i select allow always and next time I call 'su -c "busybox free"' it does not ask again. However, if i do a 'su -c "whatever"', the superuser app will ask again, even though its the same process. So i end up with having a list in my superuser permissions app, with the same process, but different commands. Does anyone know how to avoid this? I would like to grant permission once for this process and being able to start different su commands.