Hi,

I have a question regarding restorecon recursive method.
Do we have a need to call this on first boot ? We call it after every OTA
which is fine, but I didn't understand the need of running it on first boot.

Thanks
Pankaj Kushwaha


On Mon, Jun 16, 2014 at 11:24 PM, Pankaj Kushwaha <
[email protected]> wrote:

> Thanks...
> On 16-Jun-2014 11:22 PM, "Stephen Smalley" <[email protected]> wrote:
>
>> On 06/16/2014 01:25 PM, Pankaj Kushwaha wrote:
>> > Actually m working on aosp 4.4.2, and taking all the changes from 4.4.3
>> > master is becoming a complex task for me. So was thinking to write a
>> > small api to perform setfilecon2 on each file inside pkgdir from
>> > installd in a similar way in which new app is installed and calls method
>> > in installd.
>> >
>> > But I guess I will have to merge required patches from 4.4.3 , as I am
>> > being stopped at dac level.
>> > Error which I get is 'operation not permitted'
>>
>> Yes, that's a capability check, like CAP_FOWNER.
>>
>> Also, we have a seandroid-4.4.2 branch that has most of our patches
>> applied, including our restorecon recursive support.  But we stopped
>> maintaining it when we switched to 4.4.3.  So you can use it but don't
>> expect any further updates on it.
>>
>>
>>
_______________________________________________
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