Thank you for your answers Mr Stephen Smalley and Mr Tai Nguyen. The Smalley's comment is right. I want to use setexeccon because the process is started from the init.c code.
I am going to move the executable file to the another proper position (ex. /system/bin or /sbin) and execute it. Thank you for your good advices. 2015-03-30 23:37 GMT+09:00 Stephen Smalley <[email protected]>: > On 03/30/2015 09:41 AM, Tai Nguyen (tainguye) wrote: > > Can you use the seclabel option in the init.rc file instead of changing > > the code? > > service your service /your/exec/path > > seclabel yourlabel > > That would be more flexible/configurable, but it doesn't address the > root problem; it will still end up calling setexeccon() followed by exec > and this will not work for a program in /cache. > > >
_______________________________________________ Seandroid-list mailing list [email protected] To unsubscribe, send email to [email protected]. To get help, send an email containing "help" to [email protected].
