Commit Graph

38971 Commits

Author SHA1 Message Date
Victor Hsieh 5e66cce1a2 Merge "Change seccomp to the system filter" am: 1406d991a3 am: 003b330540
am: 4e3bac206f

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

Change-Id: I5a492d206299ff0841342796a483dbaebecabad5
2018-01-09 01:50:06 +00:00
Jeff Sharkey f431cd84e4 Merge changes from topic "resgidz" am: a7004e5fed am: b162da3a47
am: c16340c646

Change-Id: Iaf01b79c1e51f4cba06ee9ea6227c00a3cec4d4d
2018-01-09 01:49:29 +00:00
Andreas Gampe 2e0c629448 Merge "Nativeloader: Add minimal effort for host library path" am: 01ccde321f am: f9138787d3
am: 9c7799345c

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

Change-Id: Icbc30f9ed92163119307d7c5f25e06d9cd93e9a4
2018-01-09 01:22:16 +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
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 b22632cd9d Merge "fs_mgr: fix memory leak" am: 9bbcea1878 am: 9b205334d6
am: a7f3fef5cb

Change-Id: Idc2b90bc0a66131769b006f10f09cf92d3c4ccee
2018-01-08 09:58:20 +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
Treehugger Robot fcec40de0b Merge "rootdir: make sure the /odm mountpoint is always available" 2018-01-05 22:19:05 +00:00
Chris Morin b183e05c3c fs_mgr: don't log error messages when missing fstab
Some devices, such as android on chromebooks, don't need an fstab.

Test: Ensure no error messages are seen from fs_mgr when fstab is
missing.

Change-Id: Ifadb2193743a61d03f1becefd6bc81a61eb45081
2018-01-05 13:37:26 -08:00
Christopher Morin 9bbcea1878 Merge "fs_mgr: fix memory leak" 2018-01-05 21:37:08 +00:00
Tom Cherry 672fbe53f4 Merge "PropertyService: Exclude sanitization for darwin" am: 5a7a8f2f17 am: 040b849f5a
am: 01d62bf347

Change-Id: Ie3aa80fa55d3fb3d35be3a329940e9343c20e191
2018-01-05 17:40:51 +00:00
Tom Cherry 01d62bf347 Merge "PropertyService: Exclude sanitization for darwin" am: 5a7a8f2f17
am: 040b849f5a

Change-Id: Idc017ee189d9ebe5acdb59c9fb379b46f8dfa1f1
2018-01-05 17:38:15 +00:00
Tom Cherry 040b849f5a Merge "PropertyService: Exclude sanitization for darwin"
am: 5a7a8f2f17

Change-Id: I1c394b6079e2ff2bec9ad6ac54aa03bcc9f5ac8e
2018-01-05 17:35:40 +00:00
Tom Cherry 5a7a8f2f17 Merge "PropertyService: Exclude sanitization for darwin" 2018-01-05 17:32:55 +00:00
Martijn Coenen 25efb4f25f Merge "healthd: Replace hwbinder-specific calls with generic ones." 2018-01-05 09:02:49 +00:00
Andreas Gampe e4c9acb767 PropertyService: Exclude sanitization for darwin
This doesn't seem to work. All other projects restrict sanitization,
too.

Mac build not actually tested.

Test: m
Test: linux host build still contains ubsan symbols
Change-Id: I60532a46177632320ba3b15b4a7c2d5e31ef2bfc
2018-01-04 19:25:52 -08:00
TreeHugger Robot d18b116226 Merge "Add CTA 861.3 info to HDR struct" 2018-01-05 03:03:43 +00:00
Chris Morin 517ed633c2 fs_mgr: fix memory leak
The fstab struct wasn't properly being freed.

Test: Ensure a user of fs_mgr (vold) runs without errors.
Change-Id: I4dcb8ae2ab3e831fbdb13372eb31a67a5d9fb735
2018-01-04 18:48:21 -08:00
TreeHugger Robot 1b5f483604 Merge "lmkd: add ability to monitor all vmpressure events" 2018-01-05 00:10:40 +00:00
Tom Cherry 41e596582b Merge "Create a host side checker for property info file correctness" am: db976aa526 am: 1b42dece61
am: 8518daecd0

Change-Id: I60546fbaee3a9d1cdf5389d0f57cb0d4417d6205
2018-01-04 22:19:56 +00:00
Tom Cherry 7210a2446d Merge "Add OWNERS file" am: 2af1be4c16 am: 956a264a2b
am: 2993f7ac5e

Change-Id: Ib4e51fbd26f20e04057998ec00f95be8787d4d28
2018-01-04 22:18:49 +00:00
Tom Cherry 8518daecd0 Merge "Create a host side checker for property info file correctness" am: db976aa526
am: 1b42dece61

Change-Id: Ic2f23ea145af0aef96671aefb574fafa7aad2b87
2018-01-04 22:11:07 +00:00
Tom Cherry 2993f7ac5e Merge "Add OWNERS file" am: 2af1be4c16
am: 956a264a2b

Change-Id: Ib24c2c9453ec9b8904b2d5d345e48f52051afbaa
2018-01-04 22:10:21 +00:00
Tom Cherry 1b42dece61 Merge "Create a host side checker for property info file correctness"
am: db976aa526

Change-Id: I07b009c4214f7b104a2c90ebb58149c49bbc5235
2018-01-04 22:06:18 +00:00
Tom Cherry 956a264a2b Merge "Add OWNERS file"
am: 2af1be4c16

Change-Id: Ie1b139a48e045116d9a22d690b94c2baf0bb8b1b
2018-01-04 22:05:43 +00:00
Treehugger Robot db976aa526 Merge "Create a host side checker for property info file correctness" 2018-01-04 22:00:22 +00:00
Tom Cherry 919458c350 Create a host side checker for property info file correctness
Bug: 36001741
Test: verify a valid property info file and fail due to various failures
Change-Id: Iadd38796aa619f87ec559fe5687bbe2009df8b2d
2018-01-04 22:00:11 +00:00
Tom Cherry 2af1be4c16 Merge "Add OWNERS file" 2018-01-04 21:59:30 +00:00
Tom Cherry b6917a3c99 Add OWNERS file
Change-Id: I13315585ecc74978689d0e033ce93a94b1560d1d
Exempted-From-Owner-Approval: Vacation
2018-01-04 13:54:45 -08:00
Courtney Goeltzenleuchter b6eedba8a1 Add CTA 861.3 info to HDR struct
Test: make
Bug: 63710530
Exempt-From-Owner-Approval: this adds a standard-defined struct
Change-Id: I51aba346f407c1c15d5af2b6fd855db6d3563735
2018-01-04 11:35:58 -08:00
Suren Baghdasaryan 96bf3a600c lmkd: add ability to monitor all vmpressure events
Ability to monitor all available vmpressure event levels is needed
to accommodate systems with different memory resources. Low memory
systems can rely on medium and critical level events because working
under memory pressure is usual mode of operation. High performance
systems with more memory need to react earlier using also low
vmpressure level events to free memory early and prevent low memory
condition affecting its performance.

Bug: 63631020
Test: alloc-stress

Change-Id: I0cef1bd4c97d32c005045ae47f0ce3464ed98899
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2018-01-04 10:28:13 -08:00
Jeff Vander Stoep b589cb7acc Merge "LogAudit: remove dynamic rate limiter" am: 9e7cec22e0 am: cf7f19f4b9
am: 9de839aeb7

Change-Id: I9ed04073db90617e0bc8e11e54dc7e798138ae65
2018-01-04 17:40:10 +00:00