Nick Kralevich
2dda6ac98d
Merge "trace-dev.c: more O_CLOEXEC"
...
am: a8d3fdf4c6
* commit 'a8d3fdf4c62b485073b439ed46b4814f1608f77a':
trace-dev.c: more O_CLOEXEC
2015-12-16 21:50:01 +00:00
Nick Kralevich
a8d3fdf4c6
Merge "trace-dev.c: more O_CLOEXEC"
2015-12-16 21:40:32 +00:00
Josh Gao
bf2c482b56
Merge "adb: split up reads longer than 16k."
...
am: 56d7d4e85f
* commit '56d7d4e85f41ddeea5ca256e5a9c05f73b2f40f0':
adb: split up reads longer than 16k.
2015-12-16 21:02:50 +00:00
Alex Vakulenko
6170653ce5
Merge "Fix metricsd to conform to the lastest server schema"
...
am: 2fcf449886
* commit '2fcf449886a52d47a4b57279993e59b13d3be1cb':
Fix metricsd to conform to the lastest server schema
2015-12-16 20:59:44 +00:00
Josh Gao
56d7d4e85f
Merge "adb: split up reads longer than 16k."
2015-12-16 20:47:32 +00:00
Alex Vakulenko
2fcf449886
Merge "Fix metricsd to conform to the lastest server schema"
2015-12-16 20:43:54 +00:00
Jeff Sharkey
e0e5922ec5
Merge "Re-derive permissions after package changes."
...
am: db72fe1772
* commit 'db72fe1772bb8e9ef72b737f231266a49a1ec042':
Re-derive permissions after package changes.
2015-12-16 20:37:05 +00:00
Nick Kralevich
dee1ef48a9
trace-dev.c: more O_CLOEXEC
...
Stop the file descriptors from leaking.
Change-Id: Ib5ca1c2e5031fbec8751bde9e86b32e51e10fcbc
2015-12-16 12:32:26 -08:00
Jeff Sharkey
db72fe1772
Merge "Re-derive permissions after package changes."
2015-12-16 20:28:01 +00:00
Alex Vakulenko
33c5935852
Fix metricsd to conform to the lastest server schema
...
The new server push enabled component/trait validation rules. This
allows us to use the new schema that does not require vendor commands,
parameters and state to start with underscore ("_").
Also fixed a few minor errors in schema definition.
Change-Id: I184dd8e4c69c05e0dd1b0dddb1f9a7b0aef78841
2015-12-16 12:23:14 -08:00
Jeff Sharkey
22b912628e
Re-derive permissions after package changes.
...
When packages change, existing package-specific directories may have
gained/lost a UID mapping, so we need to update the permissions for
any in-memory nodes.
This allows an app to deliver data for another package before that
package is installed, which is the typical pattern of how OBB files
are delivered.
Also fix bug by re-deriving permissions when files are moved.
Bug: 25399427
Change-Id: I06f38a24ad7dee5f5099ba81429aef03208e5683
2015-12-16 13:08:29 -07:00
Josh Gao
0b19540dee
adb: split up reads longer than 16k.
...
Reads from functionfs allocate contiguous buffers in the kernel, causing
long ones to sometimes fail because of memory fragmentation.
Bug: http://b/26206622
Change-Id: Id40753d6f29b37b5ca97c3e2fa3921f52b4242de
2015-12-16 11:40:38 -08:00
Elliott Hughes
84ca63eef2
Merge "libpixelflinger: MIPS64 assembler test bug fix"
...
am: f8d892c84a
* commit 'f8d892c84a2cec5f6ac24748d966873e69227041':
libpixelflinger: MIPS64 assembler test bug fix
2015-12-16 18:40:10 +00:00
Elliott Hughes
6ed33e5ada
Merge "Make host ashmem_create_region more robust."
...
am: ec2f506e74
* commit 'ec2f506e741bbc9252d25f0f2ba1c24b1aa0ab7d':
Make host ashmem_create_region more robust.
2015-12-16 18:40:04 +00:00
Elliott Hughes
14f74dae87
Merge "More idiomatic cleanup of 9f75a035713d216469f1cabfe4a65f7864e2145a."
...
am: a48dc55f32
* commit 'a48dc55f326937d29a791e4016f980c589612333':
More idiomatic cleanup of 9f75a03571
.
2015-12-16 18:39:58 +00:00
Elliott Hughes
f8d892c84a
Merge "libpixelflinger: MIPS64 assembler test bug fix"
2015-12-16 18:23:49 +00:00
Elliott Hughes
ec2f506e74
Merge "Make host ashmem_create_region more robust."
2015-12-16 18:22:57 +00:00
Elliott Hughes
a48dc55f32
Merge "More idiomatic cleanup of 9f75a035713d216469f1cabfe4a65f7864e2145a."
2015-12-16 18:12:39 +00:00
Elliott Hughes
9e7893bf86
More idiomatic cleanup of 9f75a03571
.
...
Change-Id: Id936946375d2be56ba10bf3aa5804f52cdbecc2d
2015-12-16 08:45:05 -08:00
Elliott Hughes
3918090252
Make host ashmem_create_region more robust.
...
Don't clobber errno if mkstemp failed, always unlink, and only count
mkstemp/ftruncate failures as real failures --- if only the unlink
fails, there's no point not using what we have.
Change-Id: I6bc788682c88651a50a6316b9ca07ba07e9fefa2
2015-12-16 08:33:52 -08:00
Nick Kralevich
85ac05f480
Merge "adbd: make a PR_CAPBSET_DROP error fatal."
...
am: 57134adecb
* commit '57134adecbcbc988922295c466e174c04251b53a':
adbd: make a PR_CAPBSET_DROP error fatal.
2015-12-16 01:57:14 +00:00
Nick Kralevich
57134adecb
Merge "adbd: make a PR_CAPBSET_DROP error fatal."
2015-12-16 01:46:56 +00:00
Nick Kralevich
9f75a03571
adbd: make a PR_CAPBSET_DROP error fatal.
...
Back in 080427e4e2
, we said:
If the kernel doesn't support file capabilities, we ignore
a prctl(PR_CAPBSET_DROP) failure. In a future CL, this could
become a fatal error.
Make it a fatal error. With SELinux support, all devices are
required to support file capabilities.
Change-Id: I0ce0c4cb9387c42e325cbf1a63c5d82e6aab530c
2015-12-15 16:54:53 -08:00
Mark Salyzyn
c895270ef2
Merge "logd: simpleperf inspired optimizations"
...
am: 7c20ab3e73
* commit '7c20ab3e73421e4a36c8b3a0fc0d1c49653ab51b':
logd: simpleperf inspired optimizations
2015-12-15 23:10:22 +00:00
Mark Salyzyn
7c20ab3e73
Merge "logd: simpleperf inspired optimizations"
2015-12-15 23:03:46 +00:00
Mark Salyzyn
1d9c7e728f
logd: simpleperf inspired optimizations
...
memset is hot on log writes with too much overhead, not required.
Bug: 24444530
Bug: 23685592
Change-Id: Ibe3c83abca6774fc79a3be461f2f1585f4a9b1ff
2015-12-15 14:24:04 -08:00
Alain Vongsouvanh
c5d342b997
logcatd: up size from 16MB to 256MB am: 2f18b54502
am: 85c3bbed4c
...
am: 332291e9f1
-s ours
* commit '332291e9f1262827840cf61cfca2f9d7929d9187':
logcatd: up size from 16MB to 256MB
2015-12-15 18:23:55 +00:00
Alain Vongsouvanh
332291e9f1
logcatd: up size from 16MB to 256MB am: 2f18b54502
...
am: 85c3bbed4c
* commit '85c3bbed4cb66a7829a6f9f402c89cfe15f11625':
logcatd: up size from 16MB to 256MB
2015-12-15 17:51:47 +00:00
Alain Vongsouvanh
85c3bbed4c
logcatd: up size from 16MB to 256MB
...
am: 2f18b54502
* commit '2f18b5450293c2360f688cd059989e36ba5a988c':
logcatd: up size from 16MB to 256MB
2015-12-15 09:47:57 -08:00
Ljubomir Papuga
e0c9f2bc5a
libpixelflinger: MIPS64 assembler test bug fix
...
Change-Id: I47f77790baabea85ee318976a2c44ab1c0c0b9cb
2015-12-15 15:23:01 +01:00
Greg Hackmann
d57d863e2e
Merge "cutils: trace: add DATABASE tag"
...
am: 461a29540c
* commit '461a29540c01b44f07fc26ccb0d5bc7d0d92a974':
cutils: trace: add DATABASE tag
2015-12-14 13:20:35 -08:00
Greg Hackmann
461a29540c
Merge "cutils: trace: add DATABASE tag"
2015-12-14 21:12:52 +00:00
Elliott Hughes
40f80e25d3
Merge "Share the new adb USB diagnostic code with fastboot."
...
am: efd8c3289e
* commit 'efd8c3289ed80dbae0813b06fb283b29273bbc66':
Share the new adb USB diagnostic code with fastboot.
2015-12-14 12:43:52 -08:00
Elliott Hughes
efd8c3289e
Merge "Share the new adb USB diagnostic code with fastboot."
2015-12-14 20:29:46 +00:00
Elliott Hughes
1b708d368f
Share the new adb USB diagnostic code with fastboot.
...
Bug: http://b/26134129
Change-Id: Ieaf0651c7b3f8a028760982091ec63a21a5484ba
2015-12-14 10:50:21 -08:00
Dimitry Ivanov
4bbed77aaf
Merge "Temporary disable linker-namespaces"
...
am: 9fb5047549
* commit '9fb50475497ab66ad547ffd17cc5a611b422cd09':
Temporary disable linker-namespaces
2015-12-11 22:22:00 -08:00
Dimitry Ivanov
9fb5047549
Merge "Temporary disable linker-namespaces"
2015-12-12 06:16:23 +00:00
Elliott Hughes
54a584d722
Merge "Remove fastboot/genkey.sh."
...
am: 796ea6a65d
* commit '796ea6a65d790fba1a9d77cfcaf453825936a146':
Remove fastboot/genkey.sh.
2015-12-11 18:32:36 -08:00
Elliott Hughes
796ea6a65d
Merge "Remove fastboot/genkey.sh."
2015-12-12 02:25:13 +00:00
Dimitry Ivanov
c18ac7cd2b
Temporary disable linker-namespaces
...
Bug: http://b/26164393
Change-Id: If6277407a6a5a4da9e3ad01dc45f57a7fc9954e4
2015-12-11 18:15:41 -08:00
Elliott Hughes
44b6aefeeb
Remove fastboot/genkey.sh.
...
Some unknown cruft from the pre-cupcake era.
Change-Id: I8964892419cda9781d1506aa7006c51dc00ca33d
2015-12-11 17:57:53 -08:00
Josh Gao
412f6aaead
Merge "adb: handle some edge cases with process environments."
...
am: 80f3b0438d
* commit '80f3b0438d84fba3c36cc73cfef992032cd33eb0':
adb: handle some edge cases with process environments.
2015-12-11 16:49:30 -08:00
Josh Gao
80f3b0438d
Merge "adb: handle some edge cases with process environments."
2015-12-12 00:43:38 +00:00
Josh Gao
e03c988748
adb: handle some edge cases with process environments.
...
Change-Id: I0c20e58e14ef756a8c45dd5ea85f7301157a3c8e
2015-12-11 15:58:32 -08:00
Josh Gao
7b74dc83e6
Merge "adb: don\'t use setenv after forking."
...
am: 5e15568c07
* commit '5e15568c077e3c4df5218f78363864a6f7280c06':
adb: don't use setenv after forking.
2015-12-11 15:54:37 -08:00
Josh Gao
5e15568c07
Merge "adb: don't use setenv after forking."
2015-12-11 23:32:19 +00:00
Josh Gao
9b3fd67213
adb: don't use setenv after forking.
...
Previously, for `adb shell`, we were using setenv after forking to set
up the child's environment. This would occasionally deadlock in the
child, which would cause the main thread to deadlock waiting for the
child to complete. This patch constructs the environment before forking
and passes it to execle, eliminating the deadlock.
Bug: http://b/25847115
Change-Id: I720d472770564b1449819ddaab945a89844244a8
2015-12-11 15:10:12 -08:00
Mark Salyzyn
6a92853230
Merge "liblog: logprint security ANDROID_LOG_WARN"
...
am: d2d35df279
* commit 'd2d35df279bcc6535455459ba9bd6aff077b7ea3':
liblog: logprint security ANDROID_LOG_WARN
2015-12-11 14:11:14 -08:00
Tom Cherry
80625ed1c3
Merge "Update init documentation to reflect fs_config changes"
...
am: b11afd7741
* commit 'b11afd7741c5e939bf5c6fb47dcadc49e3664f32':
Update init documentation to reflect fs_config changes
2015-12-11 14:11:07 -08:00
Mark Salyzyn
d2d35df279
Merge "liblog: logprint security ANDROID_LOG_WARN"
2015-12-11 21:43:17 +00:00