On 12/04/2014 05:14 PM, William Roberts wrote:
> 
> 
> On Thu, Dec 4, 2014 at 1:01 PM, Stephen Smalley
> <[email protected] <mailto:[email protected]>> wrote:
> 
>     It has to be initiated explicitly by that thread calling setcon(3)
> 
> 
> Ok getting closer. So the setcon has to be done prior to creating any
> other threads per the man page

No, that's only true in the non-bounded case.  The man page was never
updated for typebounds I guess.  With a bounded type, you can call
setcon() from a child thread, and that's exactly what you need to do if
you want the child to have a different context than the parent.


_______________________________________________
Seandroid-list mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to 
[email protected].

Reply via email to