diff options
| author | Oleksiy Vyalov <ovyalov@google.com> | 2015-06-03 16:56:29 -0700 |
|---|---|---|
| committer | Oleksiy Vyalov <ovyalov@google.com> | 2015-06-10 12:09:10 -0700 |
| commit | a08d313bb87279d2a203cded92669638e3458f5f (patch) | |
| tree | 8449156fdb4cb140fc954b7bf35b3bbd7c9e94e6 /libutils/Unicode_test.cpp | |
| parent | 4d7f052afbaf79c7324a2e9dd51168990b062647 (diff) | |
Extend run-as with optional --user argument.
1. Calculate AID for spawned process as (100000 * $user) + uid_from_packages.list
2. Use /data/user/$user/$packageDir as a root of a new process if $user != 0.
Change-Id: I761dfb481114bd51e5a950307fcaf403e96eef10
(cherry picked from commit da31778f3b422d9583f334273eb8d9f6aabd5d34)
Diffstat (limited to 'libutils/Unicode_test.cpp')
0 files changed, 0 insertions, 0 deletions
