History log of /system/core/run-as/run-as.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dff44709cf462a3af7eb5770c90e3ada492295b7 13-Dec-2016 Jeff Sharkey <jsharkey@android.com> Define range of GIDs for cached app data.

To support upcoming disk usage calculation optimizations, this change
creates a new GID for each app that will be used to mark its cached
data. We're allocating these unique GIDs so that we can use
quotactl() to track cached data on a per-app basis.

This change also tightens up the implementation of both the cache
and shared GID calculation to ensure that they stay inside the valid
ranges, and includes tests to verify.

Test: builds, boots, tests pass
Bug: 27948817
Change-Id: Ie4377e5aae267f2da39a165888139228995987cb
/system/core/run-as/run-as.cpp
a377ff0d4a1286b4e53b42f8a3a6731f42661a34 15-Jul-2016 Jorge Lucangeli Obes <jorgelo@google.com> run-as: Use Minijail for privilege dropping.

Arguably, we don't need a ScopedMinijail for a program that only execs,
but I'd rather keep the code consistent and have all uses of Minijail
be good examples.

Bug: 30156807

Change-Id: I08a968835e0f3e2afcd5e7736626edbed658cde2
/system/core/run-as/run-as.cpp
0c8bf5798f7beedcf7a1781501151d689b88fe98 08-Jul-2016 Elliott Hughes <enh@google.com> Switch run-as to libpackagelistparser.

We already have to have a Java and a native implementation; we don't
need _two_ native implementations.

Change-Id: I0201205ce5079ef9c747abc37b0c8122cf8fb136
/system/core/run-as/run-as.cpp