summaryrefslogtreecommitdiffstats
path: root/run-as/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* run-as: turn on -WerrorMark Salyzyn2014-05-071-2/+4
| | | | | | - remove an abandoned code fragment Change-Id: I32d4ad820772685c680d200dc00ef11d102c76bd
* run-as: set the SELinux security context.Stephen Smalley2012-11-131-0/+2
| | | | | | | | Before invoking the specified command or a shell, set the SELinux security context. Change-Id: Ifc7f91aed9d298290b95d771484b322ed7a4c594 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
* Don't statically compile run-asNick Kralevich2012-01-231-4/+0
| | | | | Bug: 5904033 Change-Id: Ie815f09a2bf51ad583ded82f652d162a7f70b87e
* Add 'run-as' command implementation as set-uid program.David 'Digit' Turner2010-03-171-0/+12
Typical usage is 'run-as <package-name> <command>' to run <command> in the data directory, and the user id, of <package-name> if, and only if <package-name> is the name of an installed and debuggable application. This relies on the /data/system/packages.list file generated by the PackageManager service. BEWARE: This is intended to be available on production devices !