60fd3feecab4336d964ca8e31c7c3220e1afb558 |
|
07-Oct-2014 |
Robin Lee <rgl@google.com> |
Migrate CA certificates to all users Copies the /data/misc/keychain/cacert-* directories to all users on the device, whereas previously they were simply copied to user 0. This is a shallow copy so anything that wasn't supposed to be there will disappear. Bug: 17811821 Change-Id: Iae5909ab8d5efdb83c9c8fdf0e10ab7060d022cc
/frameworks/native/cmds/installd/utils.c
|
770180a4dd86f8bda6af2e6db4676e99a5bb1548 |
|
09-Sep-2014 |
Jeff Sharkey <jsharkey@android.com> |
Add new system APK locations. Add /system/priv-app and /oem/app paths to system paths. Also allow rmdex on system apps, and quietly ignore when it was already removed. Also relax logging when clearing code cache, since it's optional. Bug: 17205122 Change-Id: I4fc4d0f63a3596937c4defbd64e1f8a1c563f02d
/frameworks/native/cmds/installd/utils.c
|
c597b6dd895dbb2b28c757ce7a2651b3cdc9b00c |
|
19-Aug-2014 |
Calin Juravle <calin@google.com> |
Fix validation of system paths in installd. System apps are now installed under their own directory (system_app_dir/app_dir/app.apk). The new path doesn't pass installd validation because of obsolete checks which verify that the path does not contain subdirectories past the system_app_dir. The CL fixes the validation to accept at most on subdirectory. Bug: 17109858 Change-Id: I13abb52c0016610ff436f6a26bb6b3b85dc4dfb0
/frameworks/native/cmds/installd/utils.c
|
fd88ff2edd954117e36372fb095b6f5f35aad0e3 |
|
15-Aug-2014 |
Calin Juravle <calin@google.com> |
Allow apk path to contain one subdirectory. In the current directory layout this prevented rm_dex and move_dex commands to validate the apk path and thus cleaning up resources. Bug: 16888084 Change-Id: Iba579d075a9c6d7de047e7ffef95441498257086
/frameworks/native/cmds/installd/utils.c
|
8c9bcff892ae30897a971c3b97305e70db5b5bd3 |
|
16-Jun-2014 |
Narayan Kamath <narayan@google.com> |
Merge "Add an installd command to prune dex files."
|
0db0f97d87bae8118e135d5a30edf7f0146098c0 |
|
12-Jun-2014 |
Nick Kralevich <nnk@google.com> |
installd: change profile files to 0660 Profiling information leaks data about how people interact with apps, so we don't want the data to be available to other apps. Only the app and system_server need access. Don't create the /data/dalvik-cache/profiles directory. init.rc does it for us now. Change-Id: Ic1b44009faa30d704855e97631006c4b990a4ad3
/frameworks/native/cmds/installd/utils.c
|
3aee2c5c749dc2589f001b26fae1ec958ec89524 |
|
10-Jun-2014 |
Narayan Kamath <narayan@google.com> |
Add an installd command to prune dex files. This is a straightforward port of logic from PackageManagerService#pruneDexFiles. bug: 14407732 Change-Id: I892cff027ddcbb1a4fb37a7af5ecf1697049a188
/frameworks/native/cmds/installd/utils.c
|
095c763dd9aa26a206d10ab7c1d7e1c569298fb3 |
|
25-Apr-2014 |
Robin Lee <rgl@google.com> |
Add installd command to create /data/misc user dir New command 'mkuser <id>' sets up a user directory in /data/misc/user/, readable by all apps within that user and writeable by the local system process. Change-Id: I5ddde8c4a80f606e723bb41aa64581a0720842d5
/frameworks/native/cmds/installd/utils.c
|
a240733137d1a0c006ca68415a0f8ed28cc4b11a |
|
09-Apr-2014 |
Stephen Smalley <sds@tycho.nsa.gov> |
restorecon the profile directory. This is required so that it will be assigned the correct SELinux security context on first creation by installd. Bug: 13927667 Change-Id: I4857d031f9e7e60d48b8c72fcb22a81b3a2ebaaa Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/frameworks/native/cmds/installd/utils.c
|
92dc3fc52cf097bd105460cf377779bdcf146d62 |
|
12-Mar-2014 |
Mark Salyzyn <salyzyn@google.com> |
native frameworks: 64-bit compile issues - Fix format (print/scanf) - Suppress unused argument warning messages (bonus) Change-Id: I05c7724d2aba6da1e82a86000e11f3a8fef4e728
/frameworks/native/cmds/installd/utils.c
|
d93707342a61e66bc3eb2145628158452f577f42 |
|
30-Jan-2014 |
Dave Allison <dallison@google.com> |
ART profiler Add args to the installd commands for profiler usage. Make installd create the profile files and allow apps to write to them. The profile files are in /data/dalvik-cache/profiles. This central location is needed due to permissions issues with dex2oat reading from an app's data directory. The solution is to put the profile file in a directory owned by the install user and make the file writeable by the shared group id of for the app. The app can read and write to these files only in the profiles directory. The 'system' user also needs to be able to read the files in order to determine the amount of change to the file over time. Bug: 12877748 Change-Id: I9b8e59e3bd7df8a1bf60fa7ffd376a24ba0eb42f Conflicts: cmds/installd/commands.c
/frameworks/native/cmds/installd/utils.c
|
abe4fe5b46157ecd2a52d28abf938c816c3ce878 |
|
11-Jul-2013 |
Jeff Sharkey <jsharkey@android.com> |
Change legacy "persona" references to userid_t. Offers stronger typing with no functional change. Change-Id: I09f0262470feec5cfdf26658f998c20550af84d4
/frameworks/native/cmds/installd/utils.c
|
94afecf4b6f437b3ee9a076242402e421c6c07a6 |
|
24-Oct-2012 |
Mike Lockwood <lockwood@google.com> |
Move non-Java commands over from frameworks/base Change-Id: I0571813c1cfcf66abd36eb9f178fc49b618e88a6 Signed-off-by: Mike Lockwood <lockwood@google.com>
/frameworks/native/cmds/installd/utils.c
|