Re: [android-building] Android AOSP sepolicy not updated while Editing Seliunx Rule

2019-07-13 Thread xie doye
Sorry for lacking the details, I was thought it could be a general question

I'm currently building branch is android-9.0.0_r2, And I've modified te 
files mainly under  /system/sepolicy/private(public)  


在 2019年7月13日星期六 UTC+8上午1:27:51,Dan Willemsen写道:
>
> What version of Android are you using?
>
> Which file did you change? There may be some missing dependencies.
>
> - Dan
>
> On Fri, Jul 12, 2019 at 5:13 AM xie doye > 
> wrote:
>
>> I'm trying to customize the AOSP, And After compiled success once, I 
>> changed some selinux rule due to Android SElinux implementation 
>> <https://source.android.com/security/selinux/implement#steps>, And after 
>> that, I turn into AOSP root directory and run m, It indeed find some 
>> diff and seems compiled a new boot.img(due to time it generated), But After 
>> I flash it with fastboot flashall -w the dmesg still showing the avc 
>> sepolicy failed which I was just added
>>
>>
>> So the question is Am I doing wrong with the routine?  Or Is there any 
>> mechanism I was ignored? If that What should I do?(Now I'm *m clean* and 
>> recompile all with *m* and problem gone, But it just takes hours)
>>
>>
>> PS: I've found the policy.conf file under /out 
>> /target/product/marlin/obj/ETC/sepolicy_neverallows_intermediates and it 
>> sync with what I changed?
>>
>>
>>
>> -- 
>> -- 
>> You received this message because you are subscribed to the "Android 
>> Building" mailing list.
>> To post to this group, send email to android-...@googlegroups.com 
>> 
>> To unsubscribe from this group, send email to
>> android-...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/android-building?hl=en
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Android Building" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to android-...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/android-building/cfa4dd5b-41a7-44ac-8fe8-78db1453ea21%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/android-building/cfa4dd5b-41a7-44ac-8fe8-78db1453ea21%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/a6a9ff72-f5d4-429d-90ad-00ef5a4bbd01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-building] Android AOSP sepolicy not updated while Editing Seliunx Rule

2019-07-12 Thread xie doye


I'm trying to customize the AOSP, And After compiled success once, I 
changed some selinux rule due to Android SElinux implementation 
, And after 
that, I turn into AOSP root directory and run m, It indeed find some diff 
and seems compiled a new boot.img(due to time it generated), But After I 
flash it with fastboot flashall -w the dmesg still showing the avc sepolicy 
failed which I was just added


So the question is Am I doing wrong with the routine?  Or Is there any 
mechanism I was ignored? If that What should I do?(Now I'm *m clean* and 
recompile all with *m* and problem gone, But it just takes hours)


PS: I've found the policy.conf file under /out 
/target/product/marlin/obj/ETC/sepolicy_neverallows_intermediates and it 
sync with what I changed?



-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/cfa4dd5b-41a7-44ac-8fe8-78db1453ea21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.