Jeff Vander Stoep 4667b9946a zygote: initialize selinux app contexts before fork()
Initializing before zygote fork() results in only doing this once,
which appears to be the original intent of seapp_context_init().
However, since it was indirectly called after fork() it was
happening on during every app launch.

Bug: 129704390
Test: ps -AZ; verify that apps have correct context
Test: with "#define DEBUG 1" in libselinux to verify that
selinux_android_seapp_context_reload() is only called once
in zygote.

Change-Id: Ibd6f0dda065f35def99f39ad9d44829a6b60cdc9
2019-04-02 13:55:33 -07:00
2019-04-01 16:30:11 -07:00
2019-02-11 14:29:27 -08:00
2019-02-14 12:55:10 -05:00
2019-01-22 21:11:25 +00:00
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%