Treehugger Robot
cb33f3bbd8
Merge "trusty: keymint: Statically link Rust deps" into main am: 545f3e0d35
am: b6d50d3984
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2679717
Change-Id: I53f39d967ff7df026a9964ebb46c4e75bd7b4f39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 01:35:46 +00:00
Treehugger Robot
543846cb9a
Merge changes I02e3046b,I5b33ca47 into main am: 50eaceedda
am: f0e1d5105e
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2675707
Change-Id: I0f8b5178a36b26832a91e312eef8e297bbb0d12f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 01:14:47 +00:00
Treehugger Robot
b6d50d3984
Merge "trusty: keymint: Statically link Rust deps" into main am: 545f3e0d35
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2679717
Change-Id: I5e6a937abb70d2ff734336885709d85d16510862
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 23:44:17 +00:00
Treehugger Robot
f0e1d5105e
Merge changes I02e3046b,I5b33ca47 into main am: 50eaceedda
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2675707
Change-Id: I80fe24293f3147a80195d270f216254bbf233f69
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 23:43:59 +00:00
Treehugger Robot
545f3e0d35
Merge "trusty: keymint: Statically link Rust deps" into main
2023-07-27 23:29:48 +00:00
Treehugger Robot
50eaceedda
Merge changes I02e3046b,I5b33ca47 into main
...
* changes:
libprocessgroup: optimize SetAttributeAction::ExecuteForProcess performance
libprocessgroup: fix reset of file_v2_name
2023-07-27 22:59:34 +00:00
Matthew Maurer
cac69b6cb8
trusty: keymint: Statically link Rust deps
...
Vendor libraries can be linked dynamically now, but until more Rust
components are using it, static is more efficient.
Bug: 292062611
Test: TH
Change-Id: I3708f5fac1ace797b6233811adf3ec71218d5738
2023-07-27 22:36:28 +00:00
Suren Baghdasaryan
3483798fd9
libprocessgroup: optimize SetAttributeAction::ExecuteForProcess performance
...
Current implementation of SetAttributeAction::ExecuteForProcess reuses
SetAttributeAction::ExecuteForTask while not utilizing available uid/pid
information. This results in a call to GetPathForTask() which is an
expensive function due to it reading and parsing /proc/$pid/cgroups.
This can be avoided if we utilize available uid/pid info and the fact
that cgroup v2 attributes share the cgroup v2 hierarchy as process
groups, which use a known path template.
Bug: 292636609
Change-Id: I02e3046bd85d0dfebc68ab444f1796bb54cc69c7
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2023-07-27 21:55:48 +00:00
Suren Baghdasaryan
3507846872
libprocessgroup: fix reset of file_v2_name
...
ProfileAttribute::Reset does not reset file_v2_name, fix that. Also
provide ProfileAttribute::file_name() to consolidate the code.
Bug: 292636609
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I5b33ca47b4fa5cabf582c8804bd13f72f6e58411
2023-07-27 21:55:40 +00:00
Treehugger Robot
0289ddb87b
Merge "Add bug component to cutils" into main am: bb3976c149
am: ee8eb76e84
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2679836
Change-Id: I82647ca3ca26d8ab3ce5fbbbe6b64b53d903702f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:03:16 +00:00
Lee George Thomas
0839350cb3
Merge "Create /data/misc/bootanim folder in init.rc." into main am: 9d398af95c
am: 9837a1e03f
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2676056
Change-Id: I70e9dc2c3fb0b1c0528f1be421bf8d0c806915b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:00:55 +00:00
Treehugger Robot
ee8eb76e84
Merge "Add bug component to cutils" into main am: bb3976c149
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2679836
Change-Id: Id8cf8de7403004b41a3f6d2eb87c199b9fc77596
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 18:34:19 +00:00
Lee George Thomas
9837a1e03f
Merge "Create /data/misc/bootanim folder in init.rc." into main am: 9d398af95c
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2676056
Change-Id: I14d2a4fc510a3001e68472ccf5e9b84b2ed7d1f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 18:32:28 +00:00
Treehugger Robot
bb3976c149
Merge "Add bug component to cutils" into main
2023-07-27 18:29:10 +00:00
Lee George Thomas
9d398af95c
Merge "Create /data/misc/bootanim folder in init.rc." into main
2023-07-27 17:34:08 +00:00
Tomasz Wasilczyk
8fe4f073c2
Add bug component to cutils
...
Bug: 289414897
Test: N/A
Change-Id: Ic7122e52c3847beba3891b121b723d19bf2076de
2023-07-27 10:16:05 -07:00
Treehugger Robot
8cabf4bed4
Merge "libprocessgroup: UIDs in linux are unsigned" into main am: f8d02eeee1
am: 01d4fdfad3
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2677642
Change-Id: Iea7a39817a8a18497c1dee17b1def58c6706b170
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 03:15:24 +00:00
Treehugger Robot
01d4fdfad3
Merge "libprocessgroup: UIDs in linux are unsigned" into main am: f8d02eeee1
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2677642
Change-Id: I9bcc66576d12fa017d424ff9a4b505980d9d5f68
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 02:28:58 +00:00
Treehugger Robot
f8d02eeee1
Merge "libprocessgroup: UIDs in linux are unsigned" into main
2023-07-27 01:27:48 +00:00
T.J. Mercier
aa6158b410
libprocessgroup: UIDs in linux are unsigned
...
We missed two incorrect specifiers in the previous commit with this same
title.
We use the %d format specificier for uid_t, which maps to
__kernel_uid32_t, which is unsigned. [1] This is undefined behavior
which can lead to paths with negative UIDs when erroneously large
values are passed for uid:
E libprocessgroup: No such cgroup attribute: /sys/fs/cgroup/uid_-89846/cgroup.freeze
Fix it with %u.
[1] https://cs.android.com/search?q=typedef.*__kernel_uid32_t&ss=android%2Fplatform%2Fsuperproject%2Fmain
Change-Id: Ica04b03526bd2e156f026a2797fe9912b259cd9f
2023-07-26 22:12:44 +00:00
Eric Biggers
f68b038ec5
Merge "Revert "init.rc: stop calling 'fsverity_init --load-verified-keys'"" into main am: 428622bb7f
am: 82161b0c05
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2676760
Change-Id: Ib9f977750fa6a478f241600857888d661d844c49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-26 19:54:15 +00:00
Eric Biggers
82161b0c05
Merge "Revert "init.rc: stop calling 'fsverity_init --load-verified-keys'"" into main am: 428622bb7f
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2676760
Change-Id: I3fa7aefb95ecebb0e015e37559334c9748ed2d62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-26 19:08:06 +00:00
Eric Biggers
428622bb7f
Merge "Revert "init.rc: stop calling 'fsverity_init --load-verified-keys'"" into main
2023-07-26 18:06:51 +00:00
Treehugger Robot
079f2c78c2
Merge "Add bug component to system/core" into main am: 17df69eb5f
am: 4bad19f3a2
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2677635
Change-Id: I11555a21b9a481303b45e57294126100d045b6b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-26 18:02:04 +00:00
Treehugger Robot
4bad19f3a2
Merge "Add bug component to system/core" into main am: 17df69eb5f
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2677635
Change-Id: I8d6f551024e820c43258e41e185fba83539c5d49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-26 16:13:41 +00:00
Treehugger Robot
17df69eb5f
Merge "Add bug component to system/core" into main
2023-07-26 15:26:59 +00:00
Tomasz Wasilczyk
a895aac5e0
Add bug component to system/core
...
Bug: 289414897
Test: N/A
Change-Id: I9709b2483988f8d7a4204d5398cc559d167f14bf
2023-07-26 07:57:58 -07:00
Yunkai Lim
9292f74fc1
Revert "init.rc: stop calling 'fsverity_init --load-verified-keys'"
...
Revert submission 2662658-fsverity-init-cleanup
Reason for revert: Culprit for test breakage b/293232766
Reverted changes: /q/submissionid:2662658-fsverity-init-cleanup
Change-Id: I77086f955a53eec274166b7395a88b7dc0e1ad53
2023-07-26 06:21:43 +00:00
Eric Biggers
534840eeab
Merge "init.rc: stop calling 'fsverity_init --load-verified-keys'" into main am: 5aade9ca04
am: e17aeed6b8
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2662658
Change-Id: Ibb90ec4b0d816514def6522eb761fb7ac0a9ecfb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-26 00:35:03 +00:00
Eric Biggers
e17aeed6b8
Merge "init.rc: stop calling 'fsverity_init --load-verified-keys'" into main am: 5aade9ca04
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2662658
Change-Id: Id296fb0ac33dd63cb6b2e1de5c6b23b3ec20c662
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 23:46:13 +00:00
Eric Biggers
5aade9ca04
Merge "init.rc: stop calling 'fsverity_init --load-verified-keys'" into main
2023-07-25 22:49:09 +00:00
Ryan Prichard
15f4f0a151
Merge "Explicitly ignore the result of std::async" into main am: 60dbdaa3fa
am: 488f4b5a39
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2673359
Change-Id: I82e8c9a67da91d5d0dc4a286239978fbde6f9595
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 22:13:51 +00:00
Lee George Thomas
2493d50328
Create /data/misc/bootanim folder in init.rc.
...
This folder is used to host bootanim data files.
Bug: 210757252
Test: /data/misc/bootanim is correctly created.
Change-Id: I9c9949316d073ad7ebac503f097c5fee6c0b2a22
2023-07-25 15:07:17 -07:00
Ryan Prichard
488f4b5a39
Merge "Explicitly ignore the result of std::async" into main am: 60dbdaa3fa
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2673359
Change-Id: I098989364b5d481d84ae8365ea52bf082bc8e7f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 21:28:50 +00:00
Ryan Prichard
60dbdaa3fa
Merge "Explicitly ignore the result of std::async" into main
2023-07-25 20:21:14 +00:00
Treehugger Robot
5faeba2780
Merge "Add safety comments." into main am: 406d43397c
am: 947d407b3c
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2672075
Change-Id: I4f1b988923ea87b03145fe7bf3564c989a2fdcd4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 08:34:33 +00:00
Treehugger Robot
947d407b3c
Merge "Add safety comments." into main am: 406d43397c
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2672075
Change-Id: Ib0b8e92f2d1d2d39b4836b56281a60d2e46ef377
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 07:53:54 +00:00
Treehugger Robot
406d43397c
Merge "Add safety comments." into main
2023-07-25 07:00:16 +00:00
Treehugger Robot
661bf674cc
Merge "libprocessgroup: UIDs in linux are unsigned" into main am: a414e2fd9b
am: 6094c610ad
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2670104
Change-Id: Ie5ffd7da135c270a8ed437d23e3751b8ecbe1ce7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 00:08:56 +00:00
Treehugger Robot
6094c610ad
Merge "libprocessgroup: UIDs in linux are unsigned" into main am: a414e2fd9b
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2670104
Change-Id: I6e204bdaf1120e81aaae9d52736f5a86df522763
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-24 23:21:10 +00:00
Treehugger Robot
4e44f4f1f8
Merge "storageproxyd: Start only a single binder thread" into main am: e4cbd9a6a0
am: 8c048624e9
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2670162
Change-Id: I1c8394d9571fb808475e8681f90dbfe0c6acc7db
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-24 23:00:28 +00:00
Treehugger Robot
a414e2fd9b
Merge "libprocessgroup: UIDs in linux are unsigned" into main
2023-07-24 22:44:22 +00:00
Treehugger Robot
8c048624e9
Merge "storageproxyd: Start only a single binder thread" into main am: e4cbd9a6a0
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2670162
Change-Id: Icea468282ec0e808c1eff5c0951e302f1c598843
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-24 22:14:12 +00:00
Treehugger Robot
e4cbd9a6a0
Merge "storageproxyd: Start only a single binder thread" into main
2023-07-24 21:35:45 +00:00
Yi-Yo Chiang
0c813dbffd
Merge changes I2581fd7c,I1ed57e6d into main am: 64062f8f4a
am: 112b3505e9
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2671040
Change-Id: I9c723b5531ebff8d4589268dbe4b60a2c0b6a9fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-24 11:21:06 +00:00
Yi-Yo Chiang
112b3505e9
Merge changes I2581fd7c,I1ed57e6d into main am: 64062f8f4a
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2671040
Change-Id: I6d8a5c24fcbafcb2fa0ec513d6bdf0b41cb0e527
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-24 10:39:19 +00:00
Yi-Yo Chiang
64062f8f4a
Merge changes I2581fd7c,I1ed57e6d into main
...
* changes:
fs_mgr: Refactor by inlining trivial helpers
fs_mgr_overlayfs: Make all string constants constexpr
2023-07-24 09:53:26 +00:00
Akilesh Kailash
db59d43aaa
Merge "snapuserd: use local buffers for xor processing during sync I/O" into main am: da2fc1c6af
am: 4a875cf948
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2670338
Change-Id: Id2c4b2a4c1ab740a90f47d6c2de049d791d183ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-21 23:44:58 +00:00
Akilesh Kailash
4a875cf948
Merge "snapuserd: use local buffers for xor processing during sync I/O" into main am: da2fc1c6af
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2670338
Change-Id: I74d7b735946334b824d88baee8ad2b3a51751e10
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-21 23:02:26 +00:00
Ryan Prichard
c5184f79ee
Explicitly ignore the result of std::async
...
The newer libc++ marks std::async with [[nodiscard]] in C++20 mode.
Bug: b/175635923
Test: treehugger
Change-Id: Ib63259983d952b97cf1b1c6c243c831cb72f9724
2023-07-21 15:21:28 -07:00