platform_system_core/run-as
Oleksiy Vyalov a08d313bb8 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 da31778f3b)
2015-06-10 12:09:10 -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-10 12:09:10 -07:00
package.h Extend run-as with optional --user argument. 2015-06-10 12:09:10 -07:00
run-as.c Extend run-as with optional --user argument. 2015-06-10 12:09:10 -07:00