Dear SEAndroid and SELinux developer
First of all, I always appreciate that I get lots of information in this
e-mailing list.
After applying kernel 3.10, the booting time of my device has been
increased
Especially, the selinux initializing time is increased (about 0.5s).
I analized the reason, and I found that the synchronize_net function has
0.1s delay.
before)
selinux_initialize
-> selinux_android_load_policy
-> selinux_android_reload_policy
-> security_load_policy
-> avc_ss_reset
-> sel_netport_avc_callback -> synchronize_net
-> sel_netnode_avc_callback -> synchronize_net
-> sel_netif_avc_callback -> synchronize_net
-> security_setenforce
-> sel_write_enforce
-> avc_ss_reset
-> sel_netport_avc_callback -> synchronize_net
-> sel_netnode_avc_callback -> synchronize_net
-> sel_netif_avc_callback -> synchronize_net
To make fast the booting time, can I don't call the avc_ss_reset function
only during initializing selinux ?
after)
selinux_initialize
-> selinux_android_load_policy
-> selinux_android_reload_policy
-> security_load_policy
X-> avc_ss_reset
-> security_setenforce
-> sel_write_enforce
X-> avc_ss_reset
Is it possible?
Thank you
Best regards
_______________________________________________
Seandroid-list mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to
[email protected].