It seems the problem is in the inserkeys.py script

mydroid/external/sepolicy> ./insertkeys.py  -t user mykeys.conf
mac_permissions.xml > user.xml
mydroid/external/sepolicy> ./insertkeys.py  -t eng mykeys.conf
mac_permissions.xml > eng.xml
mydroid/external/sepolicy> diff user.xml eng.xml
mydroid/external/sepolicy>

Tai


On 1/24/14, 3:30 PM, "Tai Nguyen (tainguye)" <[email protected]> wrote:

>Thanks, Steve. So that is the expected behavior. I need to troubleshoot
>this issue on my end then.
>
>Tai
>
>On 1/24/14, 3:26 PM, "Stephen Smalley" <[email protected]> wrote:
>
>>On 01/24/2014 03:17 PM, Tai Nguyen (tainguye) wrote:
>>> I used command mm -B in external/sepolicy directory. We are still using
>>> 4.1.1 code base.
>>> I¹m currently looking into the insertKeys.py to troubleshoot this
>>>issue.
>>
>>I can't replicate in our current tree,
>>
>>cd master
>>source build/envsetup.sh
>>lunch aosp_hammerhead-userdebug
>>mmm -B external/sepolicy
>>cp out/target/product/hammerhead/system/etc/security/mac_permissions.xml
>>.
>>lunch aosp_hammerhead-user
>>mmm -B external/sepolicy
>>diff
>>out/target/product/hammerhead/system/etc/security/mac_permissions.xml
>>mac_permissions.xml
>>
>>shows that they differ if I have different USER and USERDEBUG entries in
>>my keys.conf.
>>
>>
>
>
>_______________________________________________
>Seandroid-list mailing list
>[email protected]
>To unsubscribe, send email to [email protected].
>To get help, send an email containing "help" to
>[email protected].


_______________________________________________
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