commit | a578d3998f5dd0d3f0b81e7d62badd2735f9228a | [log] [tgz] |
---|---|---|
author | Janis Danisevskis <jdanis@google.com> | Mon Sep 20 15:44:06 2021 -0700 |
committer | Janis Danisevskis <jdanis@google.com> | Tue Sep 21 13:29:39 2021 -0700 |
tree | 3b82cc75957903aba289cd3544abf13b92201704 | |
parent | 1efb6663520ad3d5e38cbaf3f17d2192646e570c [diff] |
Keystore 2.0: Add run_as to keystore2_test_utils The run_as function allows a test with sufficient privileges to run a closure as different identity given by a tuple of UID, GID, and SELinux context. This is infrastructure in preparation for the keystore2 vts test. Test: keystore2_test_utils_test Bug: 182508302 Change-Id: Ic1923028e5bc4ca4b1112e34669d52687450fd14