Commit graph

38266 commits

Author SHA1 Message Date
Dan Willemsen
a0ea18e131 Merge "Convert toolbox to Android.bp" am: 603826f857
am: 0b3e2d4499

Change-Id: I28228d67c0bfa0ed815b18227e706958b79bdbb2
2018-01-09 06:25:18 +00:00
James Hawkins
727d8ef488 Merge "bootstat: Add more boot reasons." am: b91021a2a8
am: 14079b588c

Change-Id: I19d23065992ebeaf9950c173fc9ce61886bcffb2
2018-01-09 06:24:30 +00:00
Steve Paik
720bdaf28d Merge "Fix logging in libsuspend" am: ac4f4721a0
am: 492fb091d8

Change-Id: I956a41d32bad8f343df2dd7d26857f7217254f81
2018-01-09 06:23:58 +00:00
Luis Hector Chavez
8b4cbf4a91 Merge "debuggerd_handler: set PR_SET_PTRACER before running crash_dump." am: be10cae468
am: 66fa613dbb

Change-Id: Ibc6b1d14e3f0494b1f200af38793cca39f8947b1
2018-01-09 06:23:17 +00:00
Tom Cherry
e59b297fcc Merge "Add getprop to toolbox" am: acaeeeed73
am: 413f5138dd

Change-Id: I07438a76a9da90ef8e69d786677b20277003d106
2018-01-09 06:21:55 +00:00
Dan Willemsen
0b3e2d4499 Merge "Convert toolbox to Android.bp"
am: 603826f857

Change-Id: I430509d1541fc3f6cd91f3200a8a26c6025bf1b8
2018-01-09 06:07:49 +00:00
Treehugger Robot
603826f857 Merge "Convert toolbox to Android.bp" 2018-01-09 06:01:26 +00:00
Steven Moreland
25a8d084f6 Merge "Use override_export_include_dirs." am: affd4e9bd9
am: c89b767401

Change-Id: I52c45129facb38dd0a346ac9cc5f0b82a92cf00e
2018-01-09 00:57:51 +00:00
Elliott Hughes
62e480bcb9 Merge "Sort devices list before output." am: 18cdd3502a
am: e93f4e82ad

Change-Id: I0a55bc85c506c8f4d10e4a730e2547f13ebfef14
2018-01-09 00:57:07 +00:00
Mike Frysinger
4b8ff4e601 Merge "adb: add missing condition_variable include" am: 6097150de6
am: 4a3a792c24

Change-Id: I47703540bb2fbb27895b7f90684f0de7db085c7d
2018-01-09 00:56:34 +00:00
Tom Cherry
c2d95cbec0 Merge "Make property_info_checker a static executable for CTS" am: 830fd168de
am: 4e763cf4c9

Change-Id: I7f2b7b2fbcb7e9784f50a747991aa5fc48268481
2018-01-09 00:55:52 +00:00
Victor Hsieh
4e3bac206f Merge "Change seccomp to the system filter" am: 1406d991a3
am: 003b330540

Change-Id: Ia60015aedcf318456a2de1843d2584dffa5deccb
2018-01-09 00:53:03 +00:00
Christopher Morin
9396edfd2a Merge "fs_mgr: don't log error messages when missing fstab" am: ace69b2f7b
am: e8493e7045

Change-Id: Ib3aeba78f190f5107bb08adac760035ebbb4d63a
2018-01-09 00:52:20 +00:00
Jeff Sharkey
c16340c646 Merge changes from topic "resgidz" am: a7004e5fed
am: b162da3a47

Change-Id: Iebe526ef318e7602ac55fb9822261554002df255
2018-01-09 00:51:41 +00:00
Andreas Gampe
9c7799345c Merge "Nativeloader: Add minimal effort for host library path" am: 01ccde321f
am: f9138787d3

Change-Id: I069435892c78f45138dd72a54be94f0316ac4cb4
2018-01-09 00:45:06 +00:00
Steve Muckle
34f29a86fd Merge "rootdir: make sure the /odm mountpoint is always available" am: fcec40de0b
am: ada4b7782d

Change-Id: I4bba06db4f3a3bd1a43692231ed4c8d11ddc2229
2018-01-09 00:39:45 +00:00
James Hawkins
14079b588c Merge "bootstat: Add more boot reasons."
am: b91021a2a8

Change-Id: Idf7367b6a5bd099b19f811a015a59fc334902b24
2018-01-09 00:10:18 +00:00
Treehugger Robot
b91021a2a8 Merge "bootstat: Add more boot reasons." 2018-01-09 00:03:22 +00:00
Steve Paik
492fb091d8 Merge "Fix logging in libsuspend"
am: ac4f4721a0

Change-Id: I49c2de04f7388153be81d71b25c83c17295968b8
2018-01-08 23:38:18 +00:00
Luis Hector Chavez
66fa613dbb Merge "debuggerd_handler: set PR_SET_PTRACER before running crash_dump."
am: be10cae468

Change-Id: Id3920fc76909b7659034a33542d864fa62b92376
2018-01-08 23:37:43 +00:00
Treehugger Robot
ac4f4721a0 Merge "Fix logging in libsuspend" 2018-01-08 23:32:26 +00:00
Treehugger Robot
be10cae468 Merge "debuggerd_handler: set PR_SET_PTRACER before running crash_dump." 2018-01-08 23:32:22 +00:00
Dan Willemsen
a852f95b53 Convert toolbox to Android.bp
This drops the *TOOLS automated logic, though since there are only
three tools now, that seems less important. It would have been possible
to implement that logic in a Go plugin, but that seems like a lot of
overkill to fix a few duplicated entries.

See build/soong/README.md for more information.

Test: mmma system/core/toolbox
Test: List of installed files is the same
Test: input.h-labels.h and tools.h are the same
Change-Id: I9753083c3f689e689e40001b998b39ad20509598
2018-01-08 15:03:21 -08:00
Tom Cherry
413f5138dd Merge "Add getprop to toolbox"
am: acaeeeed73

Change-Id: I7f716eb136b6f19b3d8c18e13904e68d2a3d1392
2018-01-08 22:37:13 +00:00
Tom Cherry
acaeeeed73 Merge "Add getprop to toolbox" 2018-01-08 22:32:16 +00:00
Steven Moreland
c89b767401 Merge "Use override_export_include_dirs."
am: affd4e9bd9

Change-Id: I96856ad536505c7ee09bbdddae19b9f177c2d8f9
2018-01-08 22:23:10 +00:00
Elliott Hughes
e93f4e82ad Merge "Sort devices list before output."
am: 18cdd3502a

Change-Id: I8c8bee720224e7c774a58421022f87fea4839f4a
2018-01-08 22:22:23 +00:00
Treehugger Robot
affd4e9bd9 Merge "Use override_export_include_dirs." 2018-01-08 22:15:51 +00:00
Elliott Hughes
18cdd3502a Merge "Sort devices list before output." 2018-01-08 22:11:23 +00:00
Mike Frysinger
4a3a792c24 Merge "adb: add missing condition_variable include"
am: 6097150de6

Change-Id: Ie86c5230a6a32c3a746160a6df1fc8800110208d
2018-01-08 21:47:46 +00:00
Treehugger Robot
6097150de6 Merge "adb: add missing condition_variable include" 2018-01-08 21:38:51 +00:00
Steve Paik
d5dc807475 Fix logging in libsuspend
ALOGV --> LOG(VERBOSE)
ALOGE --> PLOG(ERROR)

Also cpp-ify file handling

Bug: 70669809
Test:  Logs work
Change-Id: Idbaf3dccb495cdcd11f411c70784d19d1faa13a5
2018-01-08 13:35:35 -08:00
Tom Cherry
4e763cf4c9 Merge "Make property_info_checker a static executable for CTS"
am: 830fd168de

Change-Id: Iab7bd7a438a95bc60a96c09c620e0376042097dc
2018-01-08 20:47:04 +00:00
Tom Cherry
830fd168de Merge "Make property_info_checker a static executable for CTS" 2018-01-08 20:42:15 +00:00
Tom Cherry
c73497e17a Add getprop to toolbox
Add a non-toybox version of getprop, so that we can interface with the
new C++ PropertyInfoAreaFile class to return property context
information.

Bug: 36001741
Test: Compared toolbox getprop results with toybox getprop
Change-Id: I5f98f9e895d0620a2d9686bc0608490e7d9c3120
2018-01-08 12:36:44 -08:00
Victor Hsieh
003b330540 Merge "Change seccomp to the system filter"
am: 1406d991a3

Change-Id: I19df7fbf016464704fd97c8f790752b689c84281
2018-01-08 20:20:55 +00:00
Treehugger Robot
1406d991a3 Merge "Change seccomp to the system filter" 2018-01-08 20:15:16 +00:00
Christopher Morin
e8493e7045 Merge "fs_mgr: don't log error messages when missing fstab"
am: ace69b2f7b

Change-Id: Ia5371dfd54467b94091f4aefc638a4f480bf707e
2018-01-08 19:56:17 +00:00
Christopher Morin
ace69b2f7b Merge "fs_mgr: don't log error messages when missing fstab" 2018-01-08 19:52:32 +00:00
Jeff Sharkey
b162da3a47 Merge changes from topic "resgidz"
am: a7004e5fed

Change-Id: I96946e0d0788771511e5027cf18d52684d4cce06
2018-01-08 18:26:50 +00:00
Jeff Sharkey
a7004e5fed Merge changes from topic "resgidz"
* changes:
  Add reserved disk GID to critical component.
  Set reserved GID when setting reserved blocks.
  Allocate GID to use reserved disk space.
2018-01-08 18:17:50 +00:00
Christopher Morin
a7f3fef5cb Merge "fs_mgr: fix memory leak" am: 9bbcea1878
am: 9b205334d6

Change-Id: I7275080a3f44f96e5fde1fbfab0c0d84c6e25bbc
2018-01-08 09:53:36 +00:00
Andreas Gampe
f9138787d3 Merge "Nativeloader: Add minimal effort for host library path"
am: 01ccde321f

Change-Id: I0a5c00295f83757927268c7eb63bcf332a162d9b
2018-01-08 09:47:21 +00:00
Treehugger Robot
01ccde321f Merge "Nativeloader: Add minimal effort for host library path" 2018-01-08 09:40:50 +00:00
Jeff Sharkey
9410d572fb Add reserved disk GID to critical component.
We recently created a new GID that can be granted to critical system
processes, so that the system is usable enough for the user to free
up disk space used by abusive apps.

Test: builds, boots
Bug: 62024591
Change-Id: Ia5af7535cc05a214f8720ac08c594c6db888597a
2018-01-07 19:25:00 -07:00
Jeff Sharkey
47dc236d2f Set reserved GID when setting reserved blocks.
If we're setting up the number of reserved blocks, we also want to
set our new AID_DISK_RESERVED as the GID that's allowed to use those
blocks.

Test: builds, boots
Bug: 62024591
Change-Id: Iaabfa7d63ad9ff0b9732e2b9996937607d622fe2
2018-01-07 19:24:55 -07:00
Jeff Sharkey
354417a7fb Allocate GID to use reserved disk space.
Filesystems allow the setting of the "resgid" parameter to designate
a GID that is allowed to use the "reserved" disk space (in addition
to UID 0).  We'll be granting this GID to critical system processes,
so that the system is usable enough for the user to free up disk
space used by abusive apps.

Test: builds, boots
Bug: 62024591
Change-Id: I2d166f3b730f0a3e7279fb40f12db7413c1dadad
2018-01-07 19:21:51 -07:00
Steve Muckle
ada4b7782d Merge "rootdir: make sure the /odm mountpoint is always available"
am: fcec40de0b

Change-Id: I29672e57f16e43449bcb868e463705f23bf1f722
2018-01-06 05:56:43 +00:00
Christopher Morin
9b205334d6 Merge "fs_mgr: fix memory leak"
am: 9bbcea1878

Change-Id: I4c82760de7301be80fe2bc39fe8aa9d2f5e7f698
2018-01-06 05:56:01 +00:00
James Hawkins
b607daec94 bootstat: Add more boot reasons.
These appear to be winding down...

Bug: none
Test: none
Change-Id: I00bc84d8e50b1563f97f812f722aa6bdbd6265b2
2018-01-05 14:42:55 -08:00