Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
829a951
Merge "Test that moving files doesn't break adb remount" into main
Feb 4, 2025
df64f74
Merge "Test that moving files doesn't break adb remount" into main am…
Feb 4, 2025
a5ad507
fastboot: update-super help text
zbw182 Feb 4, 2025
731f072
libsnapshot: Increase the size of scratch to 2MB
Feb 4, 2025
2f10c07
Merge "bootstat: update bootreason for shipmode" into main
Feb 5, 2025
85baa82
bootstat: add achant and markcheng as owner
Feb 5, 2025
e86c908
Merge "bootstat: update bootreason for shipmode" into main am: 2f10c0…
Feb 5, 2025
b95d6a3
Merge "bootstat: add achant and markcheng as owner" into main
Feb 5, 2025
5981afb
Merge "bootstat: add achant and markcheng as owner" into main am: b95…
Feb 5, 2025
099460c
Merge "libsnapshot: Increase the size of scratch to 2MB" into main
Feb 5, 2025
7623bf6
Merge "libsnapshot: Increase the size of scratch to 2MB" into main am…
Feb 5, 2025
5013516
Restore userxattr for overlayfs mounts
PaulLawrenceGoogle Feb 5, 2025
2199299
trusty: keymint: add rules for deploying keymint in vendor apex
Jan 27, 2025
ecb94a3
Merge "Restore userxattr for overlayfs mounts" into main
Feb 6, 2025
be75caf
Merge "Restore userxattr for overlayfs mounts" into main am: ecb94a31e3
Feb 6, 2025
babce93
Merge "trusty: keymint: add rules for deploying keymint in vendor ape…
Feb 6, 2025
54b9f0f
Merge "trusty: keymint: add rules for deploying keymint in vendor ape…
Feb 6, 2025
ab8c8a1
bootstat: refine sys.boot.reason if device boot up from shipmode
Jan 21, 2025
f2bb4d1
Merge "bootstat: refine sys.boot.reason if device boot up from shipmo…
Feb 7, 2025
ef58a1d
toolbox/modprobe: update kernel version directory filter
willmcvicker Jan 31, 2025
1935a13
Merge "bootstat: refine sys.boot.reason if device boot up from shipmo…
Feb 7, 2025
ec5ee47
Merge "[owners] Remove eugenis@google.com from init/test_upgrade_mte/…
rbraunstein Feb 7, 2025
253b758
Merge "Remove lpy@google.com from libgrallocusage/OWNERS" into main
rbraunstein Feb 7, 2025
acd1164
Merge "Remove lpy@google.com from libsystem/OWNERS" into main
Feb 7, 2025
f318ced
Merge "[owners] Remove eugenis@google.com from init/test_upgrade_mte/…
rbraunstein Feb 7, 2025
6d2308a
Merge "Remove lpy@google.com from libgrallocusage/OWNERS" into main a…
rbraunstein Feb 7, 2025
ca39e42
Merge "Remove lpy@google.com from libsystem/OWNERS" into main am: acd…
Feb 7, 2025
74cc6c4
trusty: keymint: trusty-keymint-apex.mk: fix condition
Feb 10, 2025
f836b35
Merge "trusty: keymint: trusty-keymint-apex.mk: fix condition" into main
Feb 10, 2025
3dcd94b
Merge "trusty: keymint: trusty-keymint-apex.mk: fix condition" into m…
Feb 10, 2025
be8bfea
Merge "fastboot: update-super help text" into main
zbw182 Feb 10, 2025
a5efd2b
Merge "fastboot: update-super help text" into main am: be8bfea0d5
zbw182 Feb 10, 2025
9c4b0ee
Fix potential flaky debuggerd tests.
cferris1000 Feb 10, 2025
9441fe9
Remove unused local variables -- path
Feb 11, 2025
f776b75
Merge "Remove unused local variables -- path" into main
Feb 11, 2025
298d3bc
Merge "Remove unused local variables -- path" into main am: f776b75eb6
Feb 11, 2025
622633e
Fix new adb remount/overlayfs solution for older kernels
PaulLawrenceGoogle Feb 11, 2025
c8b78c7
Merge "Fix new adb remount/overlayfs solution for older kernels" into…
Feb 11, 2025
71ee8d0
Merge "Fix potential flaky debuggerd tests." into main
cferris1000 Feb 11, 2025
bb1a8d2
Merge "Fix new adb remount/overlayfs solution for older kernels" into…
Feb 11, 2025
9669b4e
Merge "Fix potential flaky debuggerd tests." into main am: 71ee8d0bb0
cferris1000 Feb 11, 2025
27a825f
libsnapuserd: Pause/Resume Snapshot merge
Feb 11, 2025
d48e75a
libsnapshot: Pause snapshot merge during shutdown
Feb 11, 2025
fe1fcc9
Merge changes Ide9e3315,I6d1e3689 into main
Feb 12, 2025
01f60e4
ashmem: Test for ASHMEM_GET_SIZE for ashmem-memfd compatibility
Feb 5, 2025
f8bf6cb
Merge changes Ide9e3315,I6d1e3689 into main am: fe1fcc9e96
Feb 12, 2025
bf9d9f7
Merge "ashmem: Test for ASHMEM_GET_SIZE for ashmem-memfd compatibilit…
Feb 12, 2025
3aa914d
Merge "ashmem: Test for ASHMEM_GET_SIZE for ashmem-memfd compatibilit…
Feb 12, 2025
54eaeb2
Merge "Revert^2 "Run module code only after KeyMints receive module i…
kwadheraatgoogle Feb 13, 2025
987deca
Merge "Revert^2 "Run module code only after KeyMints receive module i…
kwadheraatgoogle Feb 13, 2025
afec9fd
Merge "toolbox/modprobe: update kernel version directory filter" into…
willmcvicker Feb 13, 2025
52ce54d
Merge "toolbox/modprobe: update kernel version directory filter" into…
willmcvicker Feb 13, 2025
2637169
init: umount dynamic partitions during shutdown
Feb 13, 2025
f17936d
Merge "init: umount dynamic partitions during shutdown" into main
Feb 14, 2025
54abc85
Merge "init: umount dynamic partitions during shutdown" into main am:…
Feb 14, 2025
5b395ce
Revert^3 "Run module code only after KeyMints receive module info"
Feb 14, 2025
5b775cb
Merge "Revert^3 "Run module code only after KeyMints receive module i…
Feb 14, 2025
1e75acb
Merge "Revert^3 "Run module code only after KeyMints receive module i…
Feb 14, 2025
f9befac
Remove space check from overlayfs test
PaulLawrenceGoogle Feb 12, 2025
adc9a64
Merge "Remove space check from overlayfs test" into main
Feb 14, 2025
fa5ac51
Merge "Remove space check from overlayfs test" into main am: adc9a64d1e
Feb 14, 2025
d435894
RefBase: document 0 strong count, wp<>::promote
smore-lore Feb 15, 2025
cf1376b
trusty: keymint: provision boot_info to Keymint Rust in TEE
Feb 15, 2025
152f243
trusty: trusty-storage.mk: add support for Trusty VMs
Jan 23, 2025
3542c08
Merge "trusty: keymint: provision boot_info to Keymint Rust in TEE" i…
Feb 15, 2025
79bbceb
Merge "trusty: trusty-storage.mk: add support for Trusty VMs" into main
Feb 15, 2025
7f12088
Merge "trusty: keymint: provision boot_info to Keymint Rust in TEE" i…
Feb 15, 2025
1c3d9f4
Merge "trusty: trusty-storage.mk: add support for Trusty VMs" into ma…
Feb 15, 2025
adadcfe
OWNERS: codewiz left Google, replace with maze.
zenczykowski Feb 16, 2025
589c992
Simplify ULOG parsing code now that all kernels are 64-bit.
zenczykowski Feb 16, 2025
88d79e0
Merge "OWNERS: codewiz left Google, replace with maze." into main
Feb 18, 2025
df17686
Merge "OWNERS: codewiz left Google, replace with maze." into main am:…
Feb 18, 2025
ace81e9
Merge "Simplify ULOG parsing code now that all kernels are 64-bit." i…
zenczykowski Feb 18, 2025
9a22de5
Fix tests for new overlayfs
PaulLawrenceGoogle Feb 18, 2025
d718c68
remove update-super
zbw182 Feb 18, 2025
8f2e489
Merge "Simplify ULOG parsing code now that all kernels are 64-bit." i…
zenczykowski Feb 18, 2025
9e6bd0b
Merge "Fix tests for new overlayfs" into main
PaulLawrenceGoogle Feb 18, 2025
464dbd9
Merge "Fix tests for new overlayfs" into main am: 9e6bd0b8bc
PaulLawrenceGoogle Feb 18, 2025
515f5b5
BatteryMonitor: Ensure batteryHealthData has value when needed
Feb 13, 2025
fc07ec4
Update healthd OWNERS to point to health HAL owners.
jacky8hyf Feb 20, 2025
7d82b96
Merge "BatteryMonitor: Ensure batteryHealthData has value when needed…
Feb 20, 2025
66fbbcc
Merge "Update healthd OWNERS to point to health HAL owners." into main
jacky8hyf Feb 20, 2025
9ee2636
Merge "BatteryMonitor: Ensure batteryHealthData has value when needed…
Feb 20, 2025
57329d5
Merge "Update healthd OWNERS to point to health HAL owners." into mai…
jacky8hyf Feb 20, 2025
d217d8d
Merge "RefBase: document 0 strong count, wp<>::promote" into main
Feb 20, 2025
82190d7
Merge "RefBase: document 0 strong count, wp<>::promote" into main am:…
Feb 20, 2025
448e9e8
Merge "rpc_binder: weigh sending a message to a TA more heavily in `t…
Feb 20, 2025
6cc21df
Prevent app fuse from indefinitely trying if it gets ENOBUFS
HyeeunJun Oct 25, 2023
0b4ce98
Merge "rpc_binder: weigh sending a message to a TA more heavily in `t…
Feb 20, 2025
bfc8cdc
[owners] Remove salyzyn@google.com from storaged/OWNERS
Feb 20, 2025
c5d4f42
[owners] Remove salyzyn@google.com from llkd/OWNERS
Feb 20, 2025
6f89bf0
Merge "[owners] Remove salyzyn@google.com from llkd/OWNERS" into main
Feb 20, 2025
7ec77ee
Merge "[owners] Remove salyzyn@google.com from storaged/OWNERS" into …
Feb 20, 2025
d8cbe6e
trusty: trusty-storage.mk: enable storageproxy for widevine vm
Feb 20, 2025
f9b23ef
Merge "remove update-super" into main
zbw182 Feb 20, 2025
da92b64
Merge "[owners] Remove salyzyn@google.com from llkd/OWNERS" into main…
Feb 20, 2025
0b0d4c9
Merge "[owners] Remove salyzyn@google.com from storaged/OWNERS" into …
Feb 20, 2025
d199958
Merge "remove update-super" into main am: f9b23ef4d0
zbw182 Feb 20, 2025
a33cdc9
Add a function to determine cow op size
zhangxp1998 Feb 20, 2025
59f249a
Rewrite the description about triggers
jiyongp Feb 20, 2025
e649b78
Merge "Rewrite the description about triggers" into main
Feb 21, 2025
2820c8a
Merge "Rewrite the description about triggers" into main am: e649b78ed1
Feb 21, 2025
e1b8be7
Merge "trusty: trusty-storage.mk: enable storageproxy for widevine vm…
Feb 21, 2025
050f1c5
Merge "trusty: trusty-storage.mk: enable storageproxy for widevine vm…
Feb 21, 2025
425c646
trusty: utils: rpmb_dev: rpmb_dev.wv.system.rc: update init sequence
Feb 21, 2025
7bcc189
Preserve environment when launching overlay_remounter
PaulLawrenceGoogle Feb 21, 2025
3250a0a
Merge "Preserve environment when launching overlay_remounter" into main
Feb 21, 2025
9e54144
Merge "Preserve environment when launching overlay_remounter" into ma…
Feb 21, 2025
b86b339
Merge "Add a function to determine cow op size" into main
zhangxp1998 Feb 21, 2025
b31be61
Merge "Add a function to determine cow op size" into main am: b86b339cb4
zhangxp1998 Feb 21, 2025
4cc34c4
Merge "trusty: utils: rpmb_dev: rpmb_dev.wv.system.rc: update init se…
Feb 22, 2025
4e339cc
Merge "trusty: utils: rpmb_dev: rpmb_dev.wv.system.rc: update init se…
Feb 22, 2025
a20566c
Merge "Prevent app fuse from indefinitely trying if it gets ENOBUFS" …
Omaaarz Feb 24, 2025
3420792
Merge "Prevent app fuse from indefinitely trying if it gets ENOBUFS" …
Omaaarz Feb 24, 2025
78c2707
trusty: utils: rpmb_dev: rpmb_dev.wv.system.rc: fix typo
Feb 24, 2025
a6c56a5
Merge "trusty: utils: rpmb_dev: rpmb_dev.wv.system.rc: fix typo" into…
Feb 24, 2025
9eed090
Merge "trusty: utils: rpmb_dev: rpmb_dev.wv.system.rc: fix typo" into…
Feb 24, 2025
d6cba21
Use OWNERS_core_networking as OWNERS for Netlink utils
zenczykowski Feb 24, 2025
311c245
Merge "Use OWNERS_core_networking as OWNERS for Netlink utils" into main
Feb 24, 2025
34ff862
Merge "Use OWNERS_core_networking as OWNERS for Netlink utils" into m…
Feb 24, 2025
c026325
libcutils: clean up the ashmem code a bit.
enh-google Feb 24, 2025
e49a9df
libsnapshot: Don't call RemoveAllSnapshots on normal boot.
dvandercorp Feb 26, 2025
1b75aba
trusty: Add TRUSTY_SEND_SECURE_OR_SHARE
Jan 17, 2024
1d4dc2f
fs_mgr: Skip zram setup on swapon_all if mmd zram management is enabled
kawasin73 Jan 31, 2025
0863b09
Merge "trusty: Add TRUSTY_SEND_SECURE_OR_SHARE" into main
Feb 26, 2025
50a7c64
Merge "trusty: Add TRUSTY_SEND_SECURE_OR_SHARE" into main am: 0863b09f46
Feb 26, 2025
9897628
Merge 25Q1 (ab/12770256) to aosp-main-future
delphij Feb 26, 2025
9124914
init: Shutdown services and umount partitions
Feb 20, 2025
8e185dd
Merge "init: Shutdown services and umount partitions" into main
Feb 26, 2025
a30d951
Merge "init: Shutdown services and umount partitions" into main am: 8…
Feb 27, 2025
f01026f
init.rc: remove /data/apex/sessions
Feb 27, 2025
27b3c9f
[owners] Remove subrahmanyaman@google.com from gatekeeperd/OWNERS
Feb 27, 2025
1b40fce
init: Add a boot monitor for the second stage init
Dec 11, 2024
37ac2d9
Merge "[owners] Remove subrahmanyaman@google.com from gatekeeperd/OWN…
Feb 27, 2025
28638bd
Merge "[owners] Remove subrahmanyaman@google.com from gatekeeperd/OWN…
Feb 27, 2025
0ce6191
Merge "Merge 25Q1 (ab/12770256) to aosp-main-future" into aosp-main-f…
delphij Feb 27, 2025
9c830c4
Revert^4 "Run module code only after KeyMints receive module info"
kwadheraatgoogle Feb 14, 2025
29d02f5
storageproxyd: Remove duplicate interface definition
SilensAngelusNex Feb 19, 2025
f7b2fc8
Cleanup python version properties
Colecf Mar 1, 2025
2d69dd6
Merge "init: Add a boot monitor for the second stage init" into main
Mar 1, 2025
5e79fd7
Merge "init: Add a boot monitor for the second stage init" into main …
Mar 1, 2025
4dafb93
Merge "fs_mgr: Skip zram setup on swapon_all if mmd zram management i…
kawasin73 Mar 3, 2025
f70c827
Merge "fs_mgr: Skip zram setup on swapon_all if mmd zram management i…
kawasin73 Mar 3, 2025
3d36041
trusty: utils: trusty-ut-ctrl: declare trusty-ut-ctrl.system as cc_test
Mar 1, 2025
6399804
trusty: utils: rpmb_dev: rpmb_dev.test.system.rc: support test_vm_os
Mar 3, 2025
c3783d7
Merge "trusty: utils: trusty-ut-ctrl: declare trusty-ut-ctrl.system a…
Mar 3, 2025
a7c1bde
Merge "trusty: utils: trusty-ut-ctrl: declare trusty-ut-ctrl.system a…
Mar 3, 2025
c7321a8
Merge "trusty: utils: rpmb_dev: rpmb_dev.test.system.rc: support test…
Mar 3, 2025
ee0acac
Merge "trusty: utils: rpmb_dev: rpmb_dev.test.system.rc: support test…
Mar 3, 2025
ebb5cce
Merge "Cleanup python version properties" into main
Mar 3, 2025
3c07a2a
Merge "Cleanup python version properties" into main am: ebb5cce5f7
Mar 3, 2025
4c235b1
Merge "init.rc: remove /data/apex/sessions" into main
Mar 4, 2025
d17dd1f
Merge "init.rc: remove /data/apex/sessions" into main am: 4c235b170a
Mar 4, 2025
88cb60c
Merge "libcutils: clean up the ashmem code a bit." into main
enh-google Mar 4, 2025
86e6598
Merge "libcutils: clean up the ashmem code a bit." into main am: 88cb…
enh-google Mar 4, 2025
6d4e75a
ashmem: Remove backwards compatibility for R APEXes running on Q
Mar 3, 2025
91e33fb
snapshotctl: Support pause/resume of snapshot merge
Mar 4, 2025
4cd076a
Merge "storageproxyd: Remove duplicate interface definition" into main
SilensAngelusNex Mar 4, 2025
ea76c8e
Merge "storageproxyd: Remove duplicate interface definition" into mai…
SilensAngelusNex Mar 4, 2025
1dc1edf
Merge "ashmem: Remove backwards compatibility for R APEXes running on…
Mar 4, 2025
79e84ac
Merge "snapshotctl: Support pause/resume of snapshot merge" into main
Mar 4, 2025
f880519
Merge "ashmem: Remove backwards compatibility for R APEXes running on…
Mar 4, 2025
898beb2
Merge "snapshotctl: Support pause/resume of snapshot merge" into main…
Mar 4, 2025
8eeceb6
libsnapuserd: Handle error message
Mar 4, 2025
9c228ce
apply-update: Add option to boot device off snapshots
Mar 4, 2025
2c45fa7
Merge "libsnapuserd: Handle error message" into main
Mar 4, 2025
d1a8d34
Merge "libsnapuserd: Handle error message" into main am: 2c45fa7df7
Mar 5, 2025
efe2276
Merge "apply-update: Add option to boot device off snapshots" into main
Mar 5, 2025
741522f
Merge "apply-update: Add option to boot device off snapshots" into ma…
Mar 5, 2025
54e1aac
Stop using deprecated (and removed in C23) ATOMIC_VAR_INIT().
enh-google Mar 5, 2025
facb64d
Merge "Stop using deprecated (and removed in C23) ATOMIC_VAR_INIT()."…
Mar 5, 2025
9780fcc
Merge "Stop using deprecated (and removed in C23) ATOMIC_VAR_INIT()."…
Mar 5, 2025
78541b7
ashmem: Expose has_memfd_support() for ashmem-tests to use
Mar 4, 2025
2eb0e91
ashmem_test: Add tests for memfd-ashmem compatibility layer
Mar 4, 2025
a0c570b
libprefetch: replay/record checks if they can run on its own
komugi1211s Mar 4, 2025
178e031
libprefetch: Remove `start` command
komugi1211s Mar 4, 2025
7b1de50
Revert "ashmem: Ensure all memfds have non-executable permissions by …
Mar 6, 2025
77e36c8
init: restore mounts under /sys after enter_namespace
Mar 5, 2025
f73a959
Merge "init: restore mounts under /sys after enter_namespace" into main
Mar 6, 2025
2e6da52
Merge "init: restore mounts under /sys after enter_namespace" into ma…
Mar 6, 2025
0bb1098
Merge "libsnapshot: Don't call RemoveAllSnapshots on normal boot." in…
dvandercorp Mar 6, 2025
58ec6d1
Merge "libsnapshot: Don't call RemoveAllSnapshots on normal boot." in…
dvandercorp Mar 6, 2025
eba19fb
Merge "Revert "ashmem: Ensure all memfds have non-executable permissi…
Mar 7, 2025
aeb5aae
Merge changes from topic "memfd-ashmem-compat-platform-tests" into main
Mar 7, 2025
0c98986
Merge "Revert "ashmem: Ensure all memfds have non-executable permissi…
Mar 7, 2025
b9578b5
Merge changes from topic "memfd-ashmem-compat-platform-tests" into ma…
Mar 7, 2025
dcf5858
Merge changes Idb791187,Iad926450 into main
komugi1211s Mar 7, 2025
ab80893
Merge changes Idb791187,Iad926450 into main am: dcf5858c66
komugi1211s Mar 7, 2025
31da755
libprefetch: Increase default fd count to 1024
komugi1211s Mar 7, 2025
8e650d3
libprefetch: check `ro.prefetch_boot.enabled` internally
komugi1211s Mar 7, 2025
b9b3708
Merge 25Q1 (ab/BP1A.250305.020) to AOSP main
delphij Mar 9, 2025
635e5b4
Add init-mmd-prop.rc in case mmd is not built
kawasin73 Mar 6, 2025
92a9784
Merge changes Iadce8bd7,I4ee818dd into main
komugi1211s Mar 10, 2025
981d145
Explicitly mention a confusing proto3 infelicity.
enh-google Mar 10, 2025
8b30d46
Merge "Add init-mmd-prop.rc in case mmd is not built" into main
nmhung00 Mar 10, 2025
158a0c9
Merge "Revert^4 "Run module code only after KeyMints receive module i…
kwadheraatgoogle Mar 10, 2025
2324fda
Merge "Merge 25Q1 (ab/BP1A.250305.020) to AOSP main" into main
delphij Mar 10, 2025
19e2654
Test that uid 0 isn't dropped in proto to text conversion.
enh-google Mar 10, 2025
3a0c095
Merge "Explicitly mention a confusing proto3 infelicity." into main
enh-google Mar 10, 2025
08bde8b
Do not assume MTE is always on if supported
fmayer Mar 8, 2025
fc15212
Revert^5 "Run module code only after KeyMints receive module info"
Mar 10, 2025
82040a8
Merge "Revert^5 "Run module code only after KeyMints receive module i…
kwadheraatgoogle Mar 10, 2025
fae5e95
Revert tests from "trusty: Add TRUSTY_SEND_SECURE_OR_SHARE"
ahomescu Mar 10, 2025
ef130ff
Merge "Revert tests from "trusty: Add TRUSTY_SEND_SECURE_OR_SHARE"" i…
Mar 11, 2025
3f89c66
Bootchart updates
kwadheraatgoogle Mar 11, 2025
3d75ea0
The unit of memory.soft_limit_in_bytes(memcg v1) or memory.low(memcg …
Mar 11, 2025
941fc29
Merge "Test that uid 0 isn't dropped in proto to text conversion." in…
enh-google Mar 11, 2025
a55651a
Merge "Do not assume MTE is always on if supported" into main
fmayer Mar 11, 2025
1ca87c7
Merge "Bootchart updates" into main
kwadheraatgoogle Mar 11, 2025
ec6e998
init: fix SELinux denials on remounting from new netns
Mar 11, 2025
e69593f
Verify partitions using registered buffers
Mar 6, 2025
9c0613f
Merge "The unit of memory.soft_limit_in_bytes(memcg v1) or memory.low…
surenbaghdasaryan Mar 12, 2025
67e0a35
Merge "init: fix SELinux denials on remounting from new netns" into main
Mar 12, 2025
95b8907
Merge "Verify partitions using registered buffers" into main
Mar 13, 2025
d1ca7e8
change ownership of for-system subdirs to AID_CLAT
zenczykowski Mar 14, 2025
9f79a97
libsnapshot: Reinitiaze SnapshotMergeStats instance
Mar 14, 2025
45a6009
Merge "libsnapshot: Reinitiaze SnapshotMergeStats instance" into main
Mar 14, 2025
84efbc5
Revert "Update trusty to use secretkeeper hal V1"
matthewtgilbride Mar 17, 2025
e9560e7
Merge "change ownership of for-system subdirs to AID_CLAT" into main
zenczykowski Mar 18, 2025
9cdca9a
Remove obsolete configs from fs_config.cpp
jiyongp Mar 18, 2025
30b0fbe
Merge "Remove obsolete configs from fs_config.cpp" into main
Mar 19, 2025
5a964ac
Merge "Revert "Update trusty to use secretkeeper hal V1"" into main
matthewtgilbride Mar 19, 2025
0a1a835
Revert^2 "Update trusty to use secretkeeper hal V1"
Mar 19, 2025
7e74ffd
Merge "Revert^2 "Update trusty to use secretkeeper hal V1"" into main
Mar 19, 2025
435557c
Parallel Module Loading: Refactor threads pool and architecture
Dec 25, 2024
92ca277
libprocessgroup: memcg v2 default MaxActivationDepth = 3
tweej Mar 20, 2025
55bf2ff
libprefetch: fix regex to match 5.x/6.x ftrace event format
komugi1211s Mar 21, 2025
1a0f162
Merge "libprefetch: fix regex to match 5.x/6.x ftrace event format" i…
komugi1211s Mar 21, 2025
81abbe1
Merge "libprocessgroup: memcg v2 default MaxActivationDepth = 3" into…
Mar 21, 2025
341f7e9
Merge "Parallel Module Loading: Refactor threads pool and architectur…
Mar 24, 2025
6f3c362
Parallel Module Loading: Add performance mode
Mar 11, 2025
a4211ae
Parallel Module Loading: Add conservative mode
Mar 10, 2025
900221f
Merge changes I41ebaf72,I638bc2d7 into main
willmcvicker Mar 24, 2025
23fe418
trusty_driver_test: Scan for new device sysfs paths
ahomescu Nov 25, 2024
afc80f0
trusty_driver_test: Filter out some tainted bits
ahomescu Mar 24, 2025
a47b636
Merge "trusty_driver_test: Scan for new device sysfs paths" into main
Mar 25, 2025
0455ece
Parallel module loading: Fix typo and simplify logic
Mar 25, 2025
124e0b6
Merge "Parallel module loading: Fix typo and simplify logic" into main
Mar 25, 2025
cd96d1d
Merge "trusty_driver_test: Filter out some tainted bits" into main
Mar 25, 2025
547dc31
create_snapshot: improve copy operation by reordering
dhavale Mar 25, 2025
2a9a6b5
init: flush ext4 file system on shutdown
dancerj Mar 14, 2025
700dee8
snapshotctl: Check for empty directory
Mar 26, 2025
182b933
Merge "snapshotctl: Check for empty directory" into main
Mar 26, 2025
e5777c3
Revert "Parallel module loading: Fix typo and simplify logic"
Mar 26, 2025
3a3df3d
Revert "Parallel Module Loading: Add conservative mode"
Mar 26, 2025
0f62f62
Revert "Parallel Module Loading: Add performance mode"
Mar 26, 2025
58473c2
Revert "Parallel Module Loading: Refactor threads pool and architecture"
Mar 26, 2025
3158998
Merge changes from topic "revert-3556468-FZSHFLNSWZ" into main
Mar 26, 2025
e95863c
Merge "create_snapshot: improve copy operation by reordering" into main
dhavale Mar 26, 2025
a3b721a
Merge "init: flush ext4 file system on shutdown" into main
youenn98 Mar 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions Android.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
dirgroup {
name: "trusty_dirgroup_system_core",
dirs: ["."],
visibility: ["//trusty/vendor/google/aosp/scripts"],
}
3 changes: 0 additions & 3 deletions METADATA

This file was deleted.

1 change: 1 addition & 0 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Bug component: 128577
enh@google.com
1 change: 1 addition & 0 deletions PREUPLOAD.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[Builtin Hooks]
clang_format = true
rustfmt = true
bpfmt = true

[Builtin Hooks Options]
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
Expand Down
3 changes: 0 additions & 3 deletions bootstat/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ cc_binary {
],
init_rc: ["bootstat.rc"],
product_variables: {
pdk: {
enabled: false,
},
debuggable: {
init_rc: ["bootstat-debug.rc"],
},
Expand Down
3 changes: 2 additions & 1 deletion bootstat/OWNERS
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
jhawkins@google.com
dvander@google.com
achant@google.com
markcheng@google.com
123 changes: 74 additions & 49 deletions bootstat/bootstat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,17 @@ const std::map<std::string, int32_t> kBootReasonMap = {
{"reboot,sys_ldo_ok,pmic,main", 227},
{"reboot,sys_ldo_ok,pmic,sub", 228},
{"reboot,smpl_timeout,pmic,main", 229},
{"reboot,ota,.*", 230},
{"reboot,periodic,.*", 231},
{"reboot,early,abl", 232},
{"reboot,early,bl2", 233},
{"reboot,longkey,pmic_cold", 234},
{"reboot,longkey,master_dc", 235},
{"reboot,ocp2,pmic,if", 236},
{"reboot,ocp,pmic,if", 237},
{"reboot,fship.*", 238},
{"reboot,ocp,.*", 239},
{"reboot,ntc,pmic,sub", 240},
};

// Converts a string value representing the reason the system booted to an
Expand Down Expand Up @@ -489,7 +500,7 @@ int32_t BootReasonStrToEnum(const std::string& boot_reason) {
}

// Canonical list of supported primary reboot reasons.
const std::vector<const std::string> knownReasons = {
const std::vector<std::string> knownReasons = {
// clang-format off
// kernel
"watchdog",
Expand Down Expand Up @@ -820,7 +831,7 @@ std::string getSubreason(const std::string& content, size_t pos, bool quoted) {
return subReason;
}

bool addKernelPanicSubReason(const pstoreConsole& console, std::string& ret) {
void addKernelPanicSubReason(const pstoreConsole& console, std::string& ret) {
// Check for kernel panic types to refine information
if ((console.rfind("SysRq : Trigger a crash") != std::string::npos) ||
(console.rfind("PC is at sysrq_handle_crash+") != std::string::npos)) {
Expand All @@ -832,63 +843,61 @@ bool addKernelPanicSubReason(const pstoreConsole& console, std::string& ret) {
if (pos != std::string::npos) {
ret += "," + getSubreason(console, pos + strlen(sysrqSubreason), /* quoted */ true);
}
return true;
return;
}
if (console.rfind("Unable to handle kernel NULL pointer dereference at virtual address") !=
std::string::npos) {
ret = "kernel_panic,null";
return true;
return;
}
if (console.rfind("Kernel BUG at ") != std::string::npos) {
ret = "kernel_panic,bug";
return true;
return;
}

std::string panic("Kernel panic - not syncing: ");
auto pos = console.rfind(panic);
if (pos != std::string::npos) {
static const std::vector<std::pair<const std::string, const std::string>> panicReasons = {
{"Out of memory", "oom"},
{"out of memory", "oom"},
{"Oh boy, that early out of memory", "oom"}, // omg
{"BUG!", "bug"},
{"hung_task: blocked tasks", "hung"},
{"audit: ", "audit"},
{"scheduling while atomic", "atomic"},
{"Attempted to kill init!", "init"},
{"Requested init", "init"},
{"No working init", "init"},
{"Could not decompress init", "init"},
{"RCU Stall", "hung,rcu"},
{"stack-protector", "stack"},
{"kernel stack overflow", "stack"},
{"Corrupt kernel stack", "stack"},
{"low stack detected", "stack"},
{"corrupted stack end", "stack"},
{"subsys-restart: Resetting the SoC - modem crashed.", "modem"},
{"subsys-restart: Resetting the SoC - adsp crashed.", "adsp"},
{"subsys-restart: Resetting the SoC - dsps crashed.", "dsps"},
{"subsys-restart: Resetting the SoC - wcnss crashed.", "wcnss"},
};
if (pos == std::string::npos) return;

static const std::vector<std::pair<const std::string, const std::string>> panicReasons = {
{"Out of memory", "oom"},
{"out of memory", "oom"},
{"Oh boy, that early out of memory", "oom"}, // omg
{"BUG!", "bug"},
{"hung_task: blocked tasks", "hung"},
{"audit: ", "audit"},
{"scheduling while atomic", "atomic"},
{"Attempted to kill init!", "init"},
{"Requested init", "init"},
{"No working init", "init"},
{"Could not decompress init", "init"},
{"RCU Stall", "hung,rcu"},
{"stack-protector", "stack"},
{"kernel stack overflow", "stack"},
{"Corrupt kernel stack", "stack"},
{"low stack detected", "stack"},
{"corrupted stack end", "stack"},
{"subsys-restart: Resetting the SoC - modem crashed.", "modem"},
{"subsys-restart: Resetting the SoC - adsp crashed.", "adsp"},
{"subsys-restart: Resetting the SoC - dsps crashed.", "dsps"},
{"subsys-restart: Resetting the SoC - wcnss crashed.", "wcnss"},
};

ret = "kernel_panic";
for (auto& s : panicReasons) {
if (console.find(panic + s.first, pos) != std::string::npos) {
ret += "," + s.second;
return true;
}
ret = "kernel_panic";
for (auto& s : panicReasons) {
if (console.find(panic + s.first, pos) != std::string::npos) {
ret += "," + s.second;
return;
}
auto reason = getSubreason(console, pos + panic.length(), /* newline */ false);
if (reason.length() > 3) {
ret += "," + reason;
}
return true;
}
return false;
auto reason = getSubreason(console, pos + panic.length(), /* newline */ false);
if (reason.length() > 3) {
ret += "," + reason;
}
}

bool addKernelPanicSubReason(const std::string& content, std::string& ret) {
return addKernelPanicSubReason(pstoreConsole(content), ret);
void addKernelPanicSubReason(const std::string& content, std::string& ret) {
addKernelPanicSubReason(pstoreConsole(content), ret);
}

const char system_reboot_reason_property[] = "sys.boot.reason";
Expand All @@ -904,6 +913,19 @@ const char bootloader_reboot_reason_property[] = "ro.boot.bootreason";
void BootReasonAddToHistory(const std::string& system_boot_reason) {
if (system_boot_reason.empty()) return;
LOG(INFO) << "Canonical boot reason: " << system_boot_reason;

// skip system_boot_reason(factory_reset, ota) shift since device boot up from shipmode
const auto bootloader_boot_reason =
android::base::GetProperty(bootloader_reboot_reason_property, "");
const char reg_fship[] = ".*fship.*";
if (std::regex_search(bootloader_boot_reason, std::regex(reg_fship)) != 0) {
if (system_boot_reason == "reboot,factory_reset" || system_boot_reason == "reboot,ota") {
LOG(INFO) << "skip boot reason (" << system_boot_reason
<< ") shift since device boot up from shipmode.";
return;
}
}

auto old_system_boot_reason = android::base::GetProperty(system_reboot_reason_property, "");
if (!android::base::SetProperty(system_reboot_reason_property, system_boot_reason)) {
android::base::SetProperty(system_reboot_reason_property,
Expand Down Expand Up @@ -945,6 +967,14 @@ void BootReasonAddToHistory(const std::string& system_boot_reason) {
std::string BootReasonStrToReason(const std::string& boot_reason) {
auto ret = android::base::GetProperty(system_reboot_reason_property, "");
std::string reason(boot_reason);

// skip BootReasonStrToReason() if device boot up from shipmode
const char reg_fship[] = ".*fship.*";
if (reason == ret && std::regex_search(reason, std::regex(reg_fship)) != 0) {
LOG(INFO) << "skip boot reason enhancement if device boot up from shipmode";
return ret;
}

// If sys.boot.reason == ro.boot.bootreason, let's re-evaluate
if (reason == ret) ret = "";

Expand Down Expand Up @@ -1069,12 +1099,7 @@ std::string BootReasonStrToReason(const std::string& boot_reason) {
}

// Check for kernel panics, allowed to override reboot command.
if (!addKernelPanicSubReason(console, ret) &&
// check for long-press power down
((console.rfind("Power held for ") != std::string::npos) ||
(console.rfind("charger: [") != std::string::npos))) {
ret = "cold";
}
(void)addKernelPanicSubReason(console, ret);
}

// TODO: use the HAL to get battery level (http://b/77725702).
Expand Down
Loading