commit | 468cc0e9906b0c51acaa4642534fb7b06d0f3e1e | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Mon Feb 10 12:18:49 2020 +0000 |
committer | Alan Stokes <alanstokes@google.com> | Tue Jul 07 16:46:25 2020 +0100 |
tree | 621061552f1bf6abc3f95ebddc3101b1842abc50 | |
parent | 8a98d8ce5ff028c9c0b2766563b1e078469e0f06 [diff] |
Expose ability to set level from uid. Extract the existing level computation into a helper function. Add selinux_android_context_with_level() to take a context string and return a new one with appropriate level based on user and/or app id. Test: builds Bug: 141677108 Change-Id: I4618d4c74d1a2b94de9e934a8caf2e24049f0477