(fwd to selinux list as this is a general selinux kernel issue) ---------- Forwarded message ---------- From: Jaejyn Shin <flagon22bass@xxxxxxxxx> Date: Wed, Jun 25, 2014 at 4:36 AM Subject: Booting time is increased after applying kernel 3.10 To: "seandroid-list@xxxxxxxxxxxxx" <seandroid-list@xxxxxxxxxxxxx> 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 Seandroid-list@xxxxxxxxxxxxx To unsubscribe, send email to Seandroid-list-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Seandroid-list-request@xxxxxxxxxxxxx. _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.