Andres Morales
c684c8de83
am 19f223f3: Merge "[gatekeeperd] Check parent profile for SID lookups" into mnc-dev
...
* commit '19f223f3cfe43a4ded903a5d6a5f07bbadf115f5':
[gatekeeperd] Check parent profile for SID lookups
2015-08-06 22:30:55 +00:00
Andres Morales
19f223f3cf
Merge "[gatekeeperd] Check parent profile for SID lookups" into mnc-dev
2015-08-06 22:22:18 +00:00
Jeff Sharkey
fdf1487493
resolved conflicts for merge of b9f438ff
to mnc-dev-plus-aosp
...
Change-Id: I7103bacb1b2d7dc29b4f8d9dddb2fec1feb869d3
2015-08-06 12:52:25 -07:00
Jeff Sharkey
b9f438ff84
Protect runtime storage mount points.
...
We have a bunch of magic that mounts the correct view of storage
access based on the runtime permissions of an app, but we forgot to
protect the real underlying data sources; oops.
This series of changes just bumps the directory heirarchy one level
to give us /mnt/runtime which we can mask off as 0700 to prevent
people from jumping to the exposed internals.
Also add CTS tests to verify that we're protecting access to
internal mount points like this.
Bug: 22964288
Change-Id: I32068e63a3362b37e8ebca1418f900bb8537b498
2015-08-06 11:45:31 -07:00
Elliott Hughes
0e3b339bbb
am 2fbae482: am c672cb07: Merge "Include the error code if GetPipeProperties fails."
...
* commit '2fbae4829b07c97e82c24e6bf54e58f7de477fe6':
Include the error code if GetPipeProperties fails.
2015-08-06 18:09:59 +00:00
Elliott Hughes
2fbae4829b
am c672cb07: Merge "Include the error code if GetPipeProperties fails."
...
* commit 'c672cb07431c66e80a4e1b8845f25a7abb0bac9b':
Include the error code if GetPipeProperties fails.
2015-08-06 17:58:07 +00:00
Elliott Hughes
c672cb0743
Merge "Include the error code if GetPipeProperties fails."
2015-08-06 17:49:41 +00:00
Elliott Hughes
6e02c24cfc
Include the error code if GetPipeProperties fails.
...
Bug: http://b/22829602
Change-Id: I90a89e70518053a4581e1862a7dbd5d09e06dadc
2015-08-06 10:48:19 -07:00
Elliott Hughes
f87bc34412
am 802c6fd0: am ff52e23f: Merge "Stop being silly."
...
* commit '802c6fd0900863b576b9d2c1b0b482988f14dd33':
Stop being silly.
2015-08-06 17:36:12 +00:00
Elliott Hughes
802c6fd090
am ff52e23f: Merge "Stop being silly."
...
* commit 'ff52e23f0327ec1b68495e84f7e42e7c3a3d3f0e':
Stop being silly.
2015-08-06 17:29:49 +00:00
Elliott Hughes
ff52e23f03
Merge "Stop being silly."
2015-08-06 17:21:35 +00:00
Elliott Hughes
5be6b37c5d
Stop being silly.
...
Change-Id: I9c18205457396d625502a83e374c1207a3d90b0b
2015-08-06 08:46:32 -07:00
Yasuhiro Matsuda
a25e258d65
am b84e1f54: am 50de8224: Merge "Enable perfboot.py to install APKs before measurement."
...
* commit 'b84e1f540379c6af9ccfc22e779b67f67b8c210a':
Enable perfboot.py to install APKs before measurement.
2015-08-06 12:40:24 +00:00
Yasuhiro Matsuda
93e060e115
am 9e2ed7b0: am 7f2e05e9: Merge "Fix incorrect exception handling in perfboot.py"
...
* commit '9e2ed7b080bbe0f01fb82d77b30f6d1df372490a':
Fix incorrect exception handling in perfboot.py
2015-08-06 12:40:22 +00:00
Yasuhiro Matsuda
b84e1f5403
am 50de8224: Merge "Enable perfboot.py to install APKs before measurement."
...
* commit '50de8224a6ec2e6e0de4197eb545c17ee4303dff':
Enable perfboot.py to install APKs before measurement.
2015-08-06 12:33:37 +00:00
Yasuhiro Matsuda
9e2ed7b080
am 7f2e05e9: Merge "Fix incorrect exception handling in perfboot.py"
...
* commit '7f2e05e9a3f44528d9fa624da9386b01ccaa54a6':
Fix incorrect exception handling in perfboot.py
2015-08-06 12:33:32 +00:00
Yasuhiro Matsuda
50de8224a6
Merge "Enable perfboot.py to install APKs before measurement."
2015-08-06 03:55:04 +00:00
Spencer Low
71635bb966
adb: fix killing of old version of adb process
...
The original code was:
if (strcmp(__adb_error, "unknown host service") != 0)
But that was changed by 078f0fcf4c
to:
if (*error == "unknown host service") {
I think the comparison should be != so that "unknown host service"
falls-through and kills the server, and so if it is some other error,
that the other error is returned immediately.
Change-Id: Ia490a4a870d1d123a3c5ab258dd5fa0930e8032d
Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
2015-08-05 19:26:50 -07:00
Yasuhiro Matsuda
c0822e83ad
Enable perfboot.py to install APKs before measurement.
...
This CL adds --apk-dir option, which specifies the directory
that contains APK files to be installed before measuring
boot time.
BUG: 22207911
Change-Id: Ifeacf34c779248686443a9ef02485272c140a456
2015-08-06 11:02:17 +09:00
Yasuhiro Matsuda
7f2e05e9a3
Merge "Fix incorrect exception handling in perfboot.py"
2015-08-06 01:48:34 +00:00
Andres Morales
1cf7d259e8
[gatekeeperd] Check parent profile for SID lookups
...
Bug: 22257554
Change-Id: I1a363729b449a2bc8594b48dada719fd79da7036
2015-08-05 10:32:13 -07:00
Yasuhiro Matsuda
f3d0d42f1a
Fix incorrect exception handling in perfboot.py
...
RuntimeError used to be missed unintentionally.
BUG: 22207911
Change-Id: I69772350c22fac93d49745c3bc934dda7188bb77
2015-08-05 20:26:03 +09:00
Yasuhiro Matsuda
fdb80810a2
am ee640552: am 1ada513f: Merge "Fix perfboot.py to exit by Ctrl+C."
...
* commit 'ee6405527f11010e09a72c4eaf2c47bac170c49c':
Fix perfboot.py to exit by Ctrl+C.
2015-08-05 02:41:02 +00:00
Yasuhiro Matsuda
ee6405527f
am 1ada513f: Merge "Fix perfboot.py to exit by Ctrl+C."
...
* commit '1ada513f5042a13fff3fb64671d110defb6725fc':
Fix perfboot.py to exit by Ctrl+C.
2015-08-05 02:32:43 +00:00
Yasuhiro Matsuda
1ada513f50
Merge "Fix perfboot.py to exit by Ctrl+C."
2015-08-05 02:26:27 +00:00
Yusuke Sato
056b97d509
am b57438c8: am e4154f46: Merge "perfboot.py: check 2 more event logs by default"
...
* commit 'b57438c848e377873aefd89f68afb7650a6043e9':
perfboot.py: check 2 more event logs by default
2015-08-04 21:06:58 +00:00
Yusuke Sato
b57438c848
am e4154f46: Merge "perfboot.py: check 2 more event logs by default"
...
* commit 'e4154f46d38f58bdc01a2bdb6923d0f7ba098426':
perfboot.py: check 2 more event logs by default
2015-08-04 20:55:20 +00:00
Yusuke Sato
e4154f46d3
Merge "perfboot.py: check 2 more event logs by default"
2015-08-04 20:42:58 +00:00
Yusuke Sato
43c4d998cf
perfboot.py: check 2 more event logs by default
...
'sf_stop_bootanim' is useful for tracking the time wasted by
showing the 'outro' part of the boot animation.
'wm_boot_animation_done' is also useful for tracking user
perceived boot time.
(cherry-pick of cbcf2778c3
)
Bug: 22207911
Change-Id: I3549338a2161fa29675993c239f57809270797f8
2015-08-04 12:06:36 -07:00
Yasuhiro Matsuda
59d32a7515
Fix perfboot.py to exit by Ctrl+C.
...
BUG: 22207911
Change-Id: I0cc41f834207efd2965483c8636bbc709e54358f
2015-08-04 17:48:41 +09:00
Daniel Rosenberg
764b7f561b
am e20a4194: am 516d30d5: Merge "rootdir: Create symlinks in Android.mk"
...
* commit 'e20a4194b8faacc542aee519a62a01954376be60':
rootdir: Create symlinks in Android.mk
2015-08-04 01:13:15 +00:00
Elliott Hughes
b5c4bc3833
am f7af90c9: am 3cf2a8e0: Merge "Fix a comment typo."
...
* commit 'f7af90c9df6e863c15b39da811f194435aa5da94':
Fix a comment typo.
2015-08-04 01:07:09 +00:00
Elliott Hughes
7ace565f6b
am 1da90f0c: am feacf20d: Merge "adb: win32: file descriptor reliability improvements"
...
* commit '1da90f0c14d315b10d8cc8cd2cfaacd794758ec3':
adb: win32: file descriptor reliability improvements
2015-08-04 01:07:08 +00:00
Daniel Rosenberg
88f82b6650
am 39087653: am 13d62278: Merge "Skip mounting /, just mark block device as ro if needed."
...
* commit '390876539ec12115268710762d86d8c4c5738c25':
Skip mounting /, just mark block device as ro if needed.
2015-08-04 01:07:07 +00:00
Daniel Rosenberg
e20a4194b8
am 516d30d5: Merge "rootdir: Create symlinks in Android.mk"
...
* commit '516d30d5029c101ef32b600d3143513d3ce16933':
rootdir: Create symlinks in Android.mk
2015-08-04 01:06:03 +00:00
Daniel Rosenberg
516d30d502
Merge "rootdir: Create symlinks in Android.mk"
2015-08-04 01:00:48 +00:00
Elliott Hughes
f7af90c9df
am 3cf2a8e0: Merge "Fix a comment typo."
...
* commit '3cf2a8e0ee7dbf504763cc446d5cf1ee451158fc':
Fix a comment typo.
2015-08-04 00:58:39 +00:00
Elliott Hughes
1da90f0c14
am feacf20d: Merge "adb: win32: file descriptor reliability improvements"
...
* commit 'feacf20d1eb797c0edfc3c7a487fd93c63e8fd4a':
adb: win32: file descriptor reliability improvements
2015-08-04 00:58:37 +00:00
Daniel Rosenberg
390876539e
am 13d62278: Merge "Skip mounting /, just mark block device as ro if needed."
...
* commit '13d62278f4ecbd5ea29b7f3e0d43b9ced7aae439':
Skip mounting /, just mark block device as ro if needed.
2015-08-04 00:58:36 +00:00
Elliott Hughes
3cf2a8e0ee
Merge "Fix a comment typo."
2015-08-04 00:51:38 +00:00
Daniel Rosenberg
595003a3d0
rootdir: Create symlinks in Android.mk
...
system.img may contain the root directory as well. In that case, we
need to create some symlinks init.rc would during the build.
Change-Id: I4e7726f38c0f9cd9846c761fad1446738edb52c0
2015-08-04 00:51:19 +00:00
Elliott Hughes
feacf20d1e
Merge "adb: win32: file descriptor reliability improvements"
2015-08-04 00:50:43 +00:00
Daniel Rosenberg
13d62278f4
Merge "Skip mounting /, just mark block device as ro if needed."
2015-08-04 00:50:40 +00:00
Daniel Rosenberg
31a4fafc15
Skip mounting /, just mark block device as ro if needed.
...
Change-Id: I7fbb636d296abc1caab6c7bf88017684c9df7759
2015-08-04 00:47:04 +00:00
Yusuke Sato
9358ae91c9
am 69386e33: am 81fd50c3: Merge "perfboot.py: ignore tags not listed in /system/etc/event-log-tags"
...
* commit '69386e33b67eaee721b4e8d7bddbd4263302ff77':
perfboot.py: ignore tags not listed in /system/etc/event-log-tags
2015-08-04 00:28:56 +00:00
Yusuke Sato
69386e33b6
am 81fd50c3: Merge "perfboot.py: ignore tags not listed in /system/etc/event-log-tags"
...
* commit '81fd50c3974f3fca37d4119477e11dc3f40b7172':
perfboot.py: ignore tags not listed in /system/etc/event-log-tags
2015-08-04 00:13:07 +00:00
Yusuke Sato
81fd50c397
Merge "perfboot.py: ignore tags not listed in /system/etc/event-log-tags"
2015-08-04 00:08:24 +00:00
Elliott Hughes
bfa7c7d9e2
Fix a comment typo.
...
Change-Id: Ifacb19b9c31ac81fbf02c8382eb0324ea79075b9
2015-08-03 16:26:13 -07:00
Yusuke Sato
e801cc0b4e
perfboot.py: ignore tags not listed in /system/etc/event-log-tags
...
This is a follow-up CL for http://ag/739815/ .
Bug: 22207911
Change-Id: Ie5f529abc4b18454cea8a75a1438a5ea65dd90ab
2015-08-03 15:56:53 -07:00
Elliott Hughes
fb1dbac143
am eee501ec: am 6b940e13: Merge "adb: win32: define UNICODE/_UNICODE, Unicode error messages, misc"
...
* commit 'eee501ece6d3d0add9f67ce2c71cef6620cf6bf5':
adb: win32: define UNICODE/_UNICODE, Unicode error messages, misc
2015-08-03 21:37:39 +00:00