diff options
author | Jeff Vander Stoep <jeffv@google.com> | 2019-04-02 11:56:09 -0700 |
---|---|---|
committer | Jeff Vander Stoep <jeffv@google.com> | 2019-04-02 13:55:33 -0700 |
commit | 4667b9946afe8cf3c49513fc82f54eb508946404 (patch) | |
tree | bfafd6315b39fabbc52479f416a3b49d64b28ffe /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | e465eb1be5748a3bd577ec578512d56894571de0 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions