platform_system_core/run-as
Oleksiy Vyalov da31778f3b 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
2015-06-07 19:12:50 -07:00
..
Android.mk run-as: turn on -Werror 2014-05-07 16:56:21 -07:00
NOTICE Add 'run-as' command implementation as set-uid program. 2010-03-17 11:02:08 -07:00
package.c Extend run-as with optional --user argument. 2015-06-07 19:12:50 -07:00
package.h Extend run-as with optional --user argument. 2015-06-07 19:12:50 -07:00
run-as.c Extend run-as with optional --user argument. 2015-06-07 19:12:50 -07:00