commit | 980577a310ec43da5229be405be2232911c904a0 | [log] [tgz] |
---|---|---|
author | Oleksiy Vyalov <ovyalov@google.com> | Wed Jun 03 16:56:29 2015 -0700 |
committer | Oleksiy Vyalov <ovyalov@google.com> | Sun Jun 07 19:12:50 2015 -0700 |
tree | 8cd7695c95b7beff07470ec27815f5a1bfd8cdbb | |
parent | b95ca092dc74f40d35196e80f7c69852653a6daf [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