summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* init.rc: mount pstore fs, set console-ramoops permissionsandroid-sdk-4.4.2_r1.0.1android-sdk-4.4.2_r1Todd Poynor2013-11-211-0/+5
| | | | Change-Id: I44cb00f9123c6044a03de926b6a616da753bb549
* utils: Fix broken sdk build on windowsandroid-4.4.2_r2.0.1android-4.4.2_r2android-4.4.2_r1.0.1android-4.4.2_r1android-4.4.1_r1.0.1android-4.4.1_r1Igor Murashkin2013-10-302-0/+10
| | | | | Bug: 11324229 Change-Id: Ia50e79b5e2430faea77b0c98902e8e018fb9ceff
* utils: Fix broken buildIgor Murashkin2013-10-301-0/+2
| | | | | Bug: 11324229 Change-Id: I7e4f514c5531e4c0c11bb0ba5d67e4dabbcd5792
* Merge "utils: Add ProcessCallStack to collect stack traces for all threads ↵Igor Murashkin2013-10-307-45/+681
|\ | | | | | | in a process" into klp-dev
| * utils: Add ProcessCallStack to collect stack traces for all threads in a processIgor Murashkin2013-10-257-45/+681
| | | | | | | | | | | | | | - Also add a Printer class (print lines to logcat, fd, or strings) Bug: 11324229 Change-Id: I78435ed49aa196a0efb45bf9b2d58b62c41737d3
* | Don't return immediately from reboot commands.Nick Kralevich2013-10-242-0/+9
|/ | | | | | | | | The reboot commands return too fast, interfering with testing. Add a pause(), which will allow the device time to complete the reboot. Change-Id: Ie9cc6eea67b7ff662ec71ea2329cbb94f8d55404 Bug: 11369303
* Merge "vold no longer does MS_MOVE; remove tmpfs." into klp-devJeff Sharkey2013-10-171-3/+0
|\
| * vold no longer does MS_MOVE; remove tmpfs.Jeff Sharkey2013-10-171-3/+0
| | | | | | | | | | | | | | | | | | MS_MOVE was used when staging external storage devices, which no longer occurs. In fact, having a writable tmpfs was masking a vold bug around moving apps to SD cards. Bug: 11175082 Change-Id: Ib2d7561c3a0b6fde94f651a496cb0c1f12f88d96
* | merge in klp-release (no-op)android-cts-4.4_r1Ed Heyl2013-10-160-0/+0
|\ \ | |/ |/|
| * merge in klp-release history after reset to klp-devandroid-cts-4.4_r4android-4.4_r1.2.0.1android-4.4_r1.2android-4.4_r1.1.0.1android-4.4_r1.1android-4.4_r1.0.1android-4.4_r1android-4.4_r0.9The Android Automerger2013-10-090-0/+0
|/|
| * merge in klp-release history after reset to klp-devThe Android Automerger2013-10-010-0/+0
| |\
| | * merge in klp-release history after reset to klp-devThe Android Automerger2013-09-290-0/+0
| | |\
| | | * merge in klp-release history after reset to klp-devThe Android Automerger2013-09-250-0/+0
| | | |\
| | | | * merge in klp-release history after reset to klp-devThe Android Automerger2013-09-240-0/+0
| | | | |\
| | | | | * merge in klp-release history after reset to klp-devThe Android Automerger2013-09-220-0/+0
| | | | | |\
* | | | | | \ merge in KQS81MEd Heyl2013-10-080-0/+0
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| * | | | | | merge in klp-release history after reset to klp-devandroid-4.4_r0.8The Android Automerger2013-09-190-0/+0
| |\ \ \ \ \ \
| | * \ \ \ \ \ merge in klp-release history after reset to klp-devThe Android Automerger2013-09-170-0/+0
| | |\ \ \ \ \ \
| | | * \ \ \ \ \ merge in klp-release history after reset to klp-devThe Android Automerger2013-09-170-0/+0
| | | |\ \ \ \ \ \
| | | | * \ \ \ \ \ merge in klp-release history after reset to klp-devThe Android Automerger2013-09-170-0/+0
| | | | |\ \ \ \ \ \ | | | | |/ / / / / / | | | |/| | | | | |
| | | * | | | | | | merge in klp-release history after reset to klp-devThe Android Automerger2013-09-160-0/+0
| | | |\ \ \ \ \ \ \
| | | | * \ \ \ \ \ \ merge in klp-release history after reset to klp-devThe Android Automerger2013-09-120-0/+0
| | | | |\ \ \ \ \ \ \
| | | | | * \ \ \ \ \ \ merge in klp-release history after reset to klp-devThe Android Automerger2013-09-110-0/+0
| | | | | |\ \ \ \ \ \ \
| | | | | | * \ \ \ \ \ \ merge in klp-release history after reset to klp-devThe Android Automerger2013-09-100-0/+0
| | | | | | |\ \ \ \ \ \ \
| | | | | | | * \ \ \ \ \ \ merge in klp-release history after reset to klp-devThe Android Automerger2013-09-030-0/+0
| | | | | | | |\ \ \ \ \ \ \
| | | | | | | | * | | | | | | Only check caller when deriving permissions.Jeff Sharkey2013-08-301-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10547597 Change-Id: Ied909f9047c2567e93dde0f4658d6e4b9ff161ab
| | | | | | | | * | | | | | | Fix recursive locking bug.Jeff Sharkey2013-08-301-21/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | handle_rename() would end up acquiring the lock twice. Change to always derive has_rw inside earlier locks (instead of acquiring a second time), and pass the value into check_caller_access_to_name(). Bug: 10547597 Change-Id: If5744d6d226a4785676c19d0f7fdf1c05060ed76
* | | | | | | | | | | | | | | Set GID required to write, media_rw mount point.Jeff Sharkey2013-10-082-13/+17
| |_|_|_|_|_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sdcard FUSE daemon flag to specify the GID required for a package to have write access. Normally sdcard_rw, but it will be media_rw for secondary external storage devices, so DefaultContainerService can still clean up package directories after uninstall. Create /mnt/media_rw which is where vold will mount raw secondary external storage devices before wrapping them in a FUSE instance. Bug: 10330128, 10330229 Change-Id: I4385c36fd9035cdf56892aaf7b36ef4b81f4418a
* | | | | | | | | | | | | | Merge "Add new cert_pin_failure tag that can be used in user-consent ↵William Luh2013-09-301-5/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | filtering." into klp-dev
| * | | | | | | | | | | | | Add new cert_pin_failure tag that can be used in user-consent filtering.William Luh2013-09-251-5/+1
| | |_|_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10912373 Change-Id: If8a2f9829b3aac4abc33a4623c5f5b4966fd6870
* | | | | | | | | | | | | Merge "Moves libmemtrack header to standard location" into klp-devAdam Lesinski2013-09-264-4/+12
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | |
| * | | | | | | | | | | | Moves libmemtrack header to standard locationAdam Lesinski2013-09-234-4/+12
| | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If8c80003bc2f042c67ffdf38469407de3c2fda2c
* | | | | | | | | | | | Merge "Disable timestamp logging." into klp-devBen Cheng2013-09-241-0/+13
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Disable timestamp logging.Ben Cheng2013-09-241-0/+13
| | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The kernel problem has been fixed long time ago and the ad-hoc logging mechanism is not thread safe and can flood the log with spurious messages. BUG: 10899829 Change-Id: I63278db51295e744eed3e47dc8d4cfe621c0d8f7
* / | | | | | | | | | | fs_mgr: check that fstab is not NULL in fs_mgr_free_fstabRom Lemarchand2013-09-241-0/+4
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure fstab is not NULL before freeing it Bug: 10911605 Change-Id: I549c0a470dd183fb15a2f3c5cf4f3dd393b6e307
* | | | | | | | | | | Merge "Create a separate copy of the fsck logs" into klp-devKen Sumrall2013-09-235-17/+55
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Create a separate copy of the fsck logsKen Sumrall2013-09-205-17/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The log_target parameter of android_fork_execvp_ext() is now a bit field, and multiple targets can be set to log to multiple places at the same time. The new target LOG_FILE will log to a file specified by the new parameter file_path. Set LOG_FILE and log to a file in /dev (the only writable filesystem avilable when e2fsck runs) when invoking e2fsck in fs_mgr. Bug: 10021342 Change-Id: I63baf644cc8c3afccc8345df27a74203b44d0400
* | | | | | | | | | | | Merge "New fstab flags to support more expressive SD card permissions" into ↵Ken Sumrall2013-09-233-0/+13
|\| | | | | | | | | | | | |/ / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | klp-dev
| * | | | | | | | | | New fstab flags to support more expressive SD card permissionsKen Sumrall2013-09-203-0/+13
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10330128 Change-Id: I41fb178b839487b604762fbc1ccba097d25c7aa0
* | | | | | | | | | Fix Mac builds, for realz.Jeff Sharkey2013-09-202-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I63e21b90e5b8a8f016dd04ceca4354793faa5e37
* | | | | | | | | | Fix Mac builds.Jeff Sharkey2013-09-201-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0eb029395a3afd2f93a7632d7d3d20d28c2ab189
* | | | | | | | | | Remove mkdir() side effect, add .nomedia, utils.Jeff Sharkey2013-09-204-52/+158
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change, FUSE lookup() would have the side effect of creating the directory on behalf of apps. This resulted in most directories being created just by Settings trying to measure disk space. Instead, we're switching to have vold do directory creation when an app doesn't have enough permissions. Create fs_mkdirs() utility to create all parent directories in a path as needed. Allow traversal (+x) into /storage directories. Fix FUSE derived permissions to be case insensitive. Mark well-known directories as .nomedia when created. Bug: 10577808, 10330221 Change-Id: I53114f2e63ffbe6de4ba6a72d94a232523231cad
* | | | | | | | | Merge "Fix rotation in camera2 API" into klp-devMathias Agopian2013-09-182-1/+6
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Fix rotation in camera2 APIMathias Agopian2013-09-182-1/+6
| | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10804238 Change-Id: I093945789d9c6d373392fc9dfd18ec2c6058d3b9
* | | | | | | | | Merge "Initialize /dev/urandom earlier in boot." into klp-devNick Kralevich2013-09-181-0/+3
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Initialize /dev/urandom earlier in boot.Nick Kralevich2013-09-181-0/+3
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's a security best practice to carry entropy across reboots. (see "man 4 random"). Currently, entropy saving and mixing occur in the system_server, via the EntropyMixer code. Unfortunately, the EntropyMixer code runs fairly late in the boot process, which means early boot doesn't have high quality entropy. This has caused security problems in the past. Load entropy data as soon as we can in the early boot process, so that we can get /dev/random / /dev/urandom into a "random" state earlier. Bug: 9983133 Change-Id: Id4a6f39e9060f30fe7497bd8f8085a9bec851e80
* | | | | | | | | Merge "trace: Add support for tracing 64-bit ints." into klp-devJamie Gennis2013-09-181-0/+17
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | trace: Add support for tracing 64-bit ints.Jamie Gennis2013-09-181-0/+17
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10624956 Change-Id: Ie1d7c8ac16b5a5ec1e63e4fb1863f5b1ab2b59e8
* / / / / / / / write_file: introduce O_NOFOLLOW, use sane maskNick Kralevich2013-09-171-1/+1
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't follow symlinks when writing to a file. Don't create world-writable files. Bug: 10802869 Change-Id: Ifb55600d574307a535df878acb3347e02028cd30
* | | | | | | Merge "property_service: better validate property names" into klp-devNick Kralevich2013-09-161-4/+37
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |