- 10 Apr, 2015 1 commit
-
-
Chris Fries authored
Move fastboot's format logic into fs_mgr, to consolidate the knowledge about how to do this (and when to wipe metadata). Try to format these formattable paritions if they are wiped. If formatting fails, we will fall out to let recovery mode handle it. Bug: 20082763 Change-Id: I397cc197550e78d932e8a154fd234695c46dbe7b
-
- 06 Feb, 2015 1 commit
-
-
Paul Lawrence authored
This reverts commit bda62724. The original fix seems to have led to boot failures in QA. Rather than risk shipping, revert the change. Bug 18764230 reopened. Requires change https://googleplex-android-review.git.corp.google.com/#/c/629764/ Bug: 19278390 Bug: 19199624 Change-Id: I8b6ab585666f2b0f585ffb2a5f61ac2e3462e06e
-
- 21 Jan, 2015 1 commit
-
-
Paul Lawrence authored
Delay mounting encryptable but unencrypted volumes until we can check the ro.vold.forceencrypt flag, then optionally encrypt. Requires matching vold change from https://googleplex-android-review.git.corp.google.com/#/c/615309/ Bug: 18764230 Change-Id: If22008be8de6a4f3216b349f81ace49be1730314
-
- 15 Jan, 2015 6 commits
-
-
Dmitry Shmidt authored
-
Dmitry Shmidt authored
Bug: 18669116 Change-Id: I25486f2fe0e994f569b788fc9f03ef6d383f54d4 Signed-off-by:
Dmitry Shmidt <dimitrysh@google.com>
-
Jean-Michel Trivi authored
-
Jean-Michel Trivi authored
-
Jean-Michel Trivi authored
-
Narayan Kamath authored
-
- 14 Jan, 2015 5 commits
-
-
Christopher Ferris authored
Under some unknown circumstances, debuggerd could become unresponsive. If you try and take a bugreport during this time, it will hang forever. Adding functions that have a timeout will allow dumpstate to stop if dumping is taking too long. Bug: 18766581 Change-Id: I85053b8dcfe6224e2b64b4d8f7f2ef448b3cda34
-
Al Sutton authored
Replace the use of CFStringGetCString with kCFStringEncodingASCII specified with CFStringGetFileSystemRepresentation which will ensure the correct character encoding is used to conver the CFString into a NULL terminated char array suitable for use with POSIX APIs. (cherry picked from commit 2a4b5f9e) Change-Id: Ie6e2027e59b49ca634c7308bcda7bb492d372f46
-
Al Sutton authored
The previous implementation returned the path the executable was in instead of returning the path including the executable (i.e. it returned ...bin instead of ...bin/executable). This is not what the original methods did and caused the process forking of adb to fail. This patch corrects the implementation. (cherry picked from commit 26b53bb7) Change-Id: Icad6870bbb0a88f611ca71d90fff30f7b576c367
-
Al Sutton authored
Recent versions of XCode fail to compile the adb and fastboot binaries due to two functions being deprecated in 10.9 (GetCurrentProcess and ProcessInformationCopyDictionary), and the use of -Werrror. This patch replaces the method implementations which use calls to methods deprecated in the 10.9 SDK with versions which only call non-deprecated methods. (cherry picked from commit f456d47c) Change-Id: Ibd80dda73ccdd7c561b50b4065581e645d9855d6
-
Narayan Kamath authored
This works around a bug on on 64 bit kernels + sdcard daemons where we were using memory addresses as inode numbers. bug: 19012244 Change-Id: Ia63c5b33b4212bf03ff92fa2faff0bb76e48791c
-
- 09 Jan, 2015 1 commit
-
-
Leo Wang authored
-
- 07 Jan, 2015 2 commits
-
-
Christopher R. Palmer authored
This commit fixes code that incorrectly increments s when it hits the terminator character of the string being sanitized. This means it will randomly start trashing memory beyond the end of the string being sanitized until it happens to hit two NULs (\0\0) which will break it out of the loop. (cherry picked from commit 07f3fee1) Bug: 18885357 Change-Id: If6b01fe2b9bd5985f08f1278deb03b311d0170dc
-
Paul Lawrence authored
This allows a vendor to force encryption on devices via a vendor partition flag: ro.vold.forceencryption 1 Bug: 18764230 Change-Id: Id0049ce64e34e4f6f96e593aadd70c277ac131c8
-
- 09 Dec, 2014 1 commit
-
-
Eric Laurent authored
Bug: 16006090. Change-Id: I2d22b52e97095b57a6508b82bd11e27f860bb2e7
-
- 24 Nov, 2014 2 commits
-
-
Eric Laurent authored
Added stream types for internal use by audio policy and audio flinger. Bug: 18067208. Change-Id: I90fd4df9ed5e0d8fb8c220d67e95fd0e32a06f14
-
Daisuke Okitsu authored
Vold mounts the sdcard with noexec, but the fuse deamon mounts with exec, so it is still possible to execute binaries: /dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,relatime, user_id=1023,group_id=1023,default_permissions,allow_other 0 0 /dev/block/vold/179:65 /mnt/media_rw/sdcard1 vfat rw,dirsync, nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007, dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1, shortname=mixed,utf8,errors=remount-ro 0 0 With this change both vold and fuse mounts with noexec. (cherry picked from commit f777d6694eecf6e61d9859df2090199863050017) Change-Id: I66cbfc3a3a89a26958f83577f5e7a5e27f99184e
-
- 19 Nov, 2014 1 commit
-
-
Nick Kralevich authored
Impose a limit of 20 selinux denials per second. Denials beyond that point don't add any value, and have the potential to cause crashes or denial of service attacks. Do some other misc cleanup while I'm here. Bug: 18341932 (cherry picked from commit c234a1b8) Change-Id: Ic5c96003db82e504baf301e87be5c8c539c73c2a
-
- 14 Nov, 2014 4 commits
-
-
Nick Kralevich authored
Introduce the "adb keygen" command. Usage: adb keygen <filename> This command creates an adb public/private key pair in a user specified file. This can be used to create new adb keys, or rotate existing keys. Modify adb's key generation routines to use the HOSTNAME/LOGNAME environment variables if available. This allows someone to override the username/hostname embedded within the adb public key file if desired. Fallback to the old mechanisms if those environment variables aren't available. Bug: 18342715 Change-Id: Ibccee6088d4609aa05ad6687d3a1d8a8689d3e8a (cherry picked from commit af782b9f) Change-Id: Ic76ffc9412171dddc879af0bbf6e20fbe1a8f057
-
Christopher Ferris authored
-
Christopher Ferris authored
Switch to the better supported pthread_cond to handle the Wait/Wake functions. Also, increase the number of simultaneous threads in the thread tests. Bug: 18381207 Change-Id: I63240208e8b7f641b3f35a3fc0bb1acf80dc796e
-
Daniel Rosenberg authored
-
- 13 Nov, 2014 3 commits
-
-
Sami Tolvanen authored
The return value of read_verity_metadata is propagated to caller even if the verity metadata is invalid, provided that it can be read from the device. This results in devices with invalid verity metadata signatures to be mounted normally, which is not desirable. This change fixes the bug by changing the return value in case of verification failure to FS_MGR_SETUP_VERITY_FAIL. Bug: 15984840 Bug: 18120110 Change-Id: Ic29f37a23cb417c2538d60fb05de9dd310d50f4a (cherry picked from commit c95e9da3)
-
Sami Tolvanen authored
Verity metadata signatures will be switched to SHA-256. Switch fs_mgr signature verification to use the correct algorithm. Needs matching changes from https://googleplex-android-review.git.corp.google.com/#/c/579905/ https://googleplex-android-review.git.corp.google.com/#/c/583213/ https://googleplex-android-review.git.corp.google.com/#/c/583214/ https://googleplex-android-review.git.corp.google.com/#/c/583233/ Bug: 15984840 Bug: 18120110 Bug: 17917515 Change-Id: I8f90519bffa105a0eb7abeaad3aea1ffceb851e2 (cherry picked from commit a3465e25)
-
Daniel Rosenberg authored
Signed-off-by:
Daniel Rosenberg <drosen@google.com> (cherry picked from commit b9512220) Bug: 18281574 Change-Id: Id1f1c4e9e0d1bfbcae3995fb7966d18bf7d6e06d
-
- 08 Nov, 2014 1 commit
-
-
JP Abgrall authored
The newer fsck.f2fs (1.4.0++) has better fix support, so invoke it. Requires http://ag/583949 f2fs-tools update. Bug: 17640053 Bug: 18292088 Change-Id: I42370d92b232e0bdbf28cccf7035a15dbffeb268 Signed-off-by:
JP Abgrall <jpa@google.com>
-
- 07 Nov, 2014 1 commit
-
-
Christopher Ferris authored
Many of the windows files where not including stdlib.h even though they are using malloc/free calls. Bug: 18283958 (cherry picked from commit ae7bf095) Change-Id: Iebc09cc314fa8f0ba6c6cd45ba26135052f156dd
-
- 05 Nov, 2014 2 commits
-
-
Nick Kralevich authored
automerge: 66723007 * commit '66723007': Ensure /data/adb exists
-
Nick Kralevich authored
Ensure that /data/adb always exists. This directory is used for writing adb debugging information when persist.adb.trace_mask is set. Bug: https://code.google.com/p/android/issues/detail?id=72895 (cherry picked from commit 89252ce3) Change-Id: I44e01bee50125f4e6e5fff6e74c53bb2022ce355
-
- 03 Nov, 2014 8 commits
-
-
Michael Lentine authored
-
Michael Lentine authored
Bug: 18076253 Change-Id: I8dbe3af88f52f18f74a3ab857fea53ae7585e2f7
-
Christopher Ferris authored
am 5bd96311: DO NOT MERGE Restore libcorkscrew unwinding. automerge: 5a69c1db -s ours automerge: d7c8db12 -s ours * commit '5bd96311':
-
Christopher Ferris authored
* commit '91ce3576':
-
Christopher Ferris authored
automerge: d7c8db12 -s ours * commit 'd7c8db12':
-
Christopher Ferris authored
automerge: e916313d * commit 'e916313d':
-