GitHub PushEvent at 2014-01-28 19:17:42
Repository: system_core
Actor: aokp-gerrit
Payload: {"shas":[["3af64a664c25efa03ec65cad8ee3508a59298738","e7ef2d30577bd192d036a7f424ec6dd692d415f2@google.com","Fix \"adb push /sdcard/filename\"\n\nDon't assume that calling chown(filename, getuid(), getgid())\nwill always succeed. In the case of /sdcard, a file you create\nwill be owned by root, so the chown call will fail.\n\nInstead, use uid=gid=-1 so that the chown call is truly a no-op.\n\nIgnore the results of calling chmod. Again, for /sdcard, the\nchmod call will never succeed, because the file isn't owned by\nthe shell user.\n\nBug: 12441485\nChange-Id: I11eaf1d6f6049c1158afc29754fbb7af2baf2c78","Nick Kralevich",true],["e9253844c27dd52c3ac7324f8156f3448098ee18","d6e1285e1c84d3d5885c2124fdacc780e9fc0a94@tycho.nsa.gov","restorecon /data/misc/media.\n\nOtherwise it will be mislabeled on upgrades with existing userdata.\n\nChange-Id: Ibde88d5d692ead45b480bb34cfe0831baeffbf94\nSigned-off-by: Stephen Smalley <sds@tycho.nsa.gov>","Stephen Smalley",true],["9f2af8d9e1b85945b2c5e8d99dec21640d305512","eee1008aa969daf35bfa2c19f1f537b2a04bc90b@cyanogenmod.org","Add DC-HSPA+ TCP buffer sizes\n\nChange-Id: I5e7ca981ed79a3563215dd7fcef3504c39e973d5","Giulio Cervera",true],["0599b4eb8f3c7f553dfbe1d608dace0f6a9ac9c9","195bc8f851dd5f7c6a16cf4857ade65e10a609d8@gmail.com","fs_mgr.c: fix i++ error and optimize code\n\nChange-Id: I4d7c9846143ec5b9f76af42c7ee4d5a7c2a3fd6d","Daniele Di Conza",true],["13210aa4e2a9b329d0c50015f3a1e27e32ed8fba","cbd79eb9617449d4bb49d0087b0eb70c6cf062b0@codeaurora.org","adbd: Don't close/reopen FFS ep0 on disconnect\n\nIn case of bulk read/write failure or disconnect, transport_usb\ncalls usb_ffs_kick in order to force the daemon to re-open the\nFunctionFS ep files as a way to soft restart the kernel driver.\n\nHowever, there's no reason to always close the ep0 file, as it\nwould need to be reopened and the descriptors rewritten--this\nis unnecessary, especially in the simple/frequent case of cable\ndisconnect, and causes the kernel driver to unbind and bind *all*\nof the function drivers. This is causing USB Chapter 9 tests to fail.\n\nThus, try to reuse the same ep0 file handle across reconnects. In\ncase there is a failure, the ep1/ep2 opens would fail and all the\nfile handles get dropped. For the adb root case, the entire daemon\ngets restarted anyway.\n\nCRs-fixed: 571846\nChange-Id: I0840085c52a0795dcb2d751c39aa4a436c039ee2","Jack Pham",true]],"size":5,"ref":"refs/heads/kitkat","head":"13210aa4e2a9b329d0c50015f3a1e27e32ed8fba"}