- 08 Sep, 2015 1 commit
-
-
Sergio Giro authored
Patch contributed in: https://code.google.com/p/android/issues/detail?id=182908 Bug: 23290056 (cherry picked from commit 4eeacbee) Change-Id: Ife1dc0791040150132bea6884f1e6c8d31972d1b (cherry picked from commit ebabef27)
-
- 02 Sep, 2015 2 commits
-
-
Sergio Giro authored
See https://code.google.com/p/android/issues/detail?id=181910 Bug: 22952485 (cherry picked from commit 66b6eb94) Change-Id: Ic71dd0025b9a7588c4f3bb1c7be1bd13d2ff5105
-
Abhishek Arya authored
Bug: 23290056 Change-Id: If6e22b0159de6635a8ca5305895b7718f15becc7
-
- 14 Aug, 2015 1 commit
-
-
Adam Lesinski authored
User specified values of numInts and numFds can overflow and cause malloc to allocate less than we expect, causing heap corruption in subsequent operations on the allocation. Bug: 19334482 Change-Id: I43c75f536ea4c08f14ca12ca6288660fd2d1ec55
-
- 13 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
-
- 09 Feb, 2015 1 commit
-
-
The Android Automerger authored
-
- 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
-
- 27 Jan, 2015 1 commit
-
-
The Android Automerger authored
-
- 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
-
- 19 Jan, 2015 1 commit
-
-
The Android Automerger authored
-
- 15 Jan, 2015 8 commits
-
-
Dmitry Shmidt authored
Bug: 18669116 Change-Id: I25486f2fe0e994f569b788fc9f03ef6d383f54d4 Signed-off-by:
Dmitry Shmidt <dimitrysh@google.com>
-
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
-
The Android Automerger 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
-
- 12 Jan, 2015 1 commit
-
-
The Android Automerger authored
-
- 09 Jan, 2015 1 commit
-
-
Leo Wang authored
-
- 08 Jan, 2015 1 commit
-
-
The Android Automerger 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
-
- 10 Dec, 2014 1 commit
-
-
The Android Automerger authored
-
- 09 Dec, 2014 1 commit
-
-
Eric Laurent authored
Bug: 16006090. Change-Id: I2d22b52e97095b57a6508b82bd11e27f860bb2e7
-
- 27 Nov, 2014 1 commit
-
-
The Android Automerger authored
-
- 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
-
- 20 Nov, 2014 1 commit
-
-
The Android Automerger authored
-
- 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
-
- 18 Nov, 2014 1 commit
-
-
The Android Automerger authored
-
- 17 Nov, 2014 1 commit
-
-
The Android Automerger authored
-
- 14 Nov, 2014 3 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
-