summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
20 hoursMerge "Fix fallback signal issue." into mainHEADmastermainTreehugger Robot
2 daysMerge "Don't reject "ctl.stop.*" during shutdown." into mainElliott Hughes
2 daysMerge "Move native coverage output directory." into mainTreehugger Robot
2 daysDon't reject "ctl.stop.*" during shutdown.Elliott Hughes
We're shutting down anyway, so the service is either dead already or about to be killed, and callers get upset (and don't have a good response themselves) if we reject the request. This was seen by a partner where adbd was asked to stop during shutdown. Bug: https://issuetracker.google.com/336223505 Change-Id: If09feeef2e0f2d1be9ff84a88cca6ed593a35362
2 daysMerge "[Coverage] Fix coverage bug in which extra garbage is being written" ↵Snehal Koukuntla
into main
2 days[Coverage] Fix coverage bug in which extra garbage is being writtenSnehal
Bug: 296356127 Change-Id: I2e4128af461b297bbe170c015dc52899089e9b8b
2 daysFix fallback signal issue.Xiaohui Niu
Add signo for target thread in fallback path; Update test for seccomp tombstone thread abort. Bug: 336946834 Test: debuggerd_test Test: Send fatal signal to process with NO_NEW_PRIVS Change-Id: Ie9d77a93da9cd89ab7093b8949f311e03d96ec50
3 daysMerge "libvendorsupport provides an API to replace vndk version" into mainTreehugger Robot
3 dayslibvendorsupport provides an API to replace vndk versionJustin Yun
ro.vndk.version cannot be simply replaced with ro.board.api_level with the vndk deprecation. Even with the latest system updates, devices may still run on old vendor images that do not define ro.board.api_level, but define ro.vndk.version. To provide the replacement of ro.vndk.version, provide a platform API AVendorSupport_getVendorApiLevel() to return the expected vendor version. Bug: 312311458 Bug: 312315580 Test: manual test for AVendorSupport_getVendorApiLevel() Change-Id: Id7c04483956d95fd49414cebde41d7cc4d2fb1d1
3 daysMerge "[MTE] disable memtag stack in early init" into mainFlorian Mayer
3 daysMerge "Update shell_and_utilities for V." into mainTreehugger Robot
3 daysUpdate shell_and_utilities for V.Elliott Hughes
Change-Id: Ia617ba0e2b056b3b620400cb5e78445f810c388a
6 days[MTE] disable memtag stack in early initFlorian Mayer
when introducing instrumentation for MTE stack history buffer, we cannot use stack MTE in early init Bug: 309446520 Change-Id: I0921ae4ffe03ed971697f8daff4215c9b3772e35
6 daysMerge "libutils: T* is a trivial type" into mainSteven Moreland
6 dayslibutils: T* is a trivial typeSteven Moreland
Avoid calling constructors/destructors for each element, when we have Vector<T*>. These are used in libbinder and elsewhere. std::vector is still faster but uses more mem. Bugs: me Test: boot && binderLibTest Change-Id: Id1239daddd018f8eee5480d1cb6dd25d6f4df808
6 daysMerge "Create and support isolation for /data/storage_area" into mainEllen Arteca
6 daysMerge "parse_line: allow -1 for apexes and sdk libraries." into mainElliott Hughes
6 daysMerge "Create app-metadata directory" into mainWilliam Loh
6 daysparse_line: allow -1 for apexes and sdk libraries.Elliott Hughes
Since we're in much worse trouble if `/data/system/packages.list` is attacker-controlled, there doesn't seem like much benefit to having the little bit of [incomplete] range checking we had on the uid field (by using a wider type than `uid_t` actually is), and apparently we're now abusing `-1` to mean "apex or sdk library", despite `uid_t` being an unsigned type. Bug: http://b/336659478 Change-Id: I7a270eea937d21fc1d7fcda8654054210cf631fe
7 daysMerge "ueventd: Add `devname sys_name` to `subsystem`, pulling device names ↵Treehugger Robot
from sysfs" into main
7 daysCreate app-metadata directoryWilliam Loh
App metadata bundles, also known as Android Safety Labels (ASL), contains information about the app's privacy and security practices. This information is used to help users make more informed choices when, for example, granting access to permissions. ASL can currently only be preloaded on the system image or distributed by the installer and written to a file in the app's codePath. To support embedded ASL in APK we need to extract ASLs from APKs to a writeable location. For non-preloaded apps we can write to the app's codePath like the installer provided ASLs, however, we need to create a new writable directory for preloaded apps located on read only partitions. Bug: 336618214 Test: manual Change-Id: I651b2dab45c3132d8467c507dc4ee304001f73f5
7 daysMerge "Load modules from _16K dir when running on 16K kernel" into mainTreehugger Robot
7 daysueventd: Add `devname sys_name` to `subsystem`, pulling device names from sysfsA. Cody Schuffelen
This change introduces a new mode to `subsystem.devname` in `ueventd.rc` configuration files, which sets the file name to the contents of `/sys/DEVNAME/name`. The objective of this change is to help Cuttlefish distinguish between console devices, which are only different in uevents by initialization order. Cuttlefish currently relies on `/dev/hvc##` devices which are created for non-multiport virtio-console devices. https://cs.android.com/android/platform/superproject/main/+/main:device/google/cuttlefish/shared/config/ueventd.rc;l=18;drc=5204f119d859d3ae5f1a2ee1c6a05ee68d6a28ed On Cuttlefish we're considering moving to multiport virtio-console devices ( https://fedoraproject.org/wiki/Features/VirtioSerial ). It would be possible to rely on device order here as well, but using names to distinguish devices makes it possible to drop unused devices in the future, rather than reserving indexes indefinitely. Multiport virtio-console devices create uevents with DEVNAME=vport#p# and DEVPATH=.../vport#p#, only exposing the name in a sysfs file. Bug: 336663898 Test: Attach multiport console, run with `-DLOG_UEVENTS=1` Test: Introduce ueventd policy using `devname sys_name` Change-Id: I59632b556db4a47883eab97e90c0e6ca81a9c650
7 daysMerge "Allow querying for fstab for a mount point with fstype" into mainKelvin Zhang
7 daysLoad modules from _16K dir when running on 16K kernelKelvin Zhang
Test: th Bug: 293313353 Change-Id: Ie58e57174545e4def5ebc33ac29f1adb12bf06a6
7 daysAllow querying for fstab for a mount point with fstypeKelvin Zhang
Test: th Bug: 293313353 Change-Id: I8e12c465d0a3e886fcfa0cebf546b145b785c220
8 daysMerge "libsnapshot: remove hard coded cow version" into mainDaniel Zheng
8 daysMerge "Only write appcompat properties if flag is defined" into mainTreehugger Robot
8 daysMerge "libmodprobe: remove dummy parameters for kernel" into mainTreehugger Robot
9 daysMerge "sysutils: add missing <vector> include" into mainRyan Prichard
10 dayssysutils: add missing <vector> includeRyan Prichard
Upgrading to clang-r522817's new libc++ requires that <vector> be included here. Bug: 333165689 Test: treehugger Flag: EXEMPT, fix build error Change-Id: Ib9a072ddb39477b98c79879da6354557695ba350
10 daysMerge "Avoid confusing `main_thread` name" into mainFlorian Mayer
10 dayslibmodprobe: remove dummy parameters for kernelChungkai Mei
we consume load_sequential only in libmodprobe, so remove this parameter before sending them into kernel layer Bug: 332435366 Test: Built and boot husky targets Change-Id: I37e63723d3c8d4fd8ca1fda682b344a721b9a637 Signed-off-by: Chungkai Mei <chungkai@google.com>
10 daysAvoid confusing `main_thread` nameFlorian Mayer
It is not in fact the main thread of the process, but the thread that crashed Change-Id: I3af6d0ffc6c0617526a9cbeb36b2a3286aaeb6f6
10 daysMerge "storageproxyd: Fix x86 builds" into mainTreehugger Robot
10 daysCreate and support isolation for /data/storage_areaEllen Arteca
Creating the directory /data/storage_area (which will store each user's directory of app directories of storage areas) on startup, and adding this directory /data/storage_area to the tmpfs mirror so it can be protected by app data isolation in zygote. Bug: 325121608 Test: atest StorageAreaTest Change-Id: Ia938e89fd8b794dbcbb844b01b790db7c0a62319
10 daysstorageproxyd: Fix x86 buildsDonnie Pollitz
Background: * printf format specifiers and size_t literal were invalid. Bug: 324989972 Test: Builds Change-Id: I408cfe0d41fb6850d5dcfe9963bb88be48f4a0c6 Signed-off-by: Donnie Pollitz <donpollitz@google.com>
10 daysMerge "storageproxyd: Add arguments for storage mapping and max file" into mainDonnie Pollitz
10 daysMerge "init.rc: remove 4.9/4.14 support" into mainTreehugger Robot
10 daysMerge "init.rc: remove xt_qtaguid configuration" into mainTreehugger Robot
10 daysMerge "Build init-debug.rc with Soong" into mainTreehugger Robot
10 daysMerge "setprop: check if not setprop value but setprop name starts with ↵Treehugger Robot
"ro."" into main
11 dayssetprop: check if not setprop value but setprop name starts with "ro."sanga1.lee
When setting property with setprop, a property name which starts with "ro." could be set no matter how long the value name is. Change-Id: Ia035ef009952db08ae8a6d4a2b8b9567d86124fc
13 daysinit.rc: remove 4.9/4.14 supportMaciej Żenczykowski
U requires 4.14+ V requires 4.19+ as such this is no longer useful Test: TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I39d01cc16897c6c9174cf074e27c888bc758f1cc
13 daysinit.rc: remove xt_qtaguid configurationMaciej Żenczykowski
which has been fully replaced by eBpf (started in android P, finished in android S) Test: TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: Ie38e54600a9bb01c7ecdde63d9a9256bed047f41
13 daysMerge "Null terminate the std::array given to execve" into mainTreehugger Robot
13 daysNull terminate the std::array given to execveJiyong Park
std::array<T, N> takes exactly N * sizeof(T) bytes, leaving no room for the null terminator. Bug: 335047945 Test: re-run the GSI test Change-Id: Ic3aca5f409021c78a7eb965c5ed610e6a51e42cb
13 daysOnly write appcompat properties if flag is definedNate Myren
Only writes the appcompat properties if the WRITE_APPCOMPAT_OVERRIDE_SYSTEM_PROPERTIES cflag is defined Fixes: 331307495 Test: manual (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f04f6bae4314e01111045ba231010ba7067477a0) Merged-In: Ie99b5027a9704c0f4f7fe4d3a6a6cf49f4bb8176 Change-Id: Ie99b5027a9704c0f4f7fe4d3a6a6cf49f4bb8176
13 dayslibsnapshot: remove hard coded cow versionDaniel Zheng
Remove hard coded global variables referencing cow version in libsnapshot. This value should stem from the build system, or set individually in test cases. Bug: 307452468 Test: th Change-Id: I3d536246008acca92cd93e77886e5f7d17a131e0
14 daysBuild init-debug.rc with SoongInseob Kim
Bug: 335369205 Test: build and compare Change-Id: Idb6105e8527e3a2b4f0517b31be3fa8b78826880