No description
Find a file
Nikita Ioffe 7ba5030dcc Fix potential use-after-free bug in reboot
Instead of operating on raw pointers, init now uses name of the
services as it's primary identifier. Only place that still uses
vector<Service*> is StopServices.

In addition, ServiceList::services() function is removed, which should
help avoiding similar bugs in the future.

Bug: 170315126
Bug: 174335499
Test: adb reboot
Test: atest CtsInitTestCases
Change-Id: I73ecd7a8c58c2ec3732934c595b7f7db814b7034
Merged-In: I73ecd7a8c58c2ec3732934c595b7f7db814b7034
Ignore-AOSP-First: fixing security vulnerability
(cherry picked from commit 8d6ae2dd8a)
2020-12-02 16:11:22 +00:00
bootstat Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709) 2020-08-29 01:42:13 -07:00
cli-test cli-test: support checking exit status. 2020-09-25 16:43:35 -07:00
code_coverage extend syscall minijail for clang code coverage 2020-07-13 13:39:05 -07:00
cpio Remove EXCLUDE_FS_CONFIG_STRUCTURES 2020-03-04 15:34:09 -08:00
debuggerd Adjust to MapInfo to new api. 2020-11-24 17:27:05 +00:00
deprecated-adf
diagnose_usb Make the udev vs plugdev distinction a bit clearer. 2020-07-31 15:09:35 -07:00
fastboot Merge "fastboot: add casefold/projid/compress options" am: 0a71c0e38c am: dfcebcd845 am: 02af9b99e0 2020-11-10 09:19:04 +00:00
fs_mgr Merge "fs_mgr: move mkdir(mount_point) to prepare_fs_for_mount()" 2020-12-01 17:36:31 +00:00
gatekeeperd Add @SensitiveData to GateKeeperService 2020-11-04 13:51:04 -08:00
healthd Merge "health: Add CAP_BLOCK_SUSPEND" 2020-10-15 20:24:17 +00:00
include Remove include/backtrace symlink. 2020-10-20 12:46:14 -07:00
init Fix potential use-after-free bug in reboot 2020-12-02 16:11:22 +00:00
janitors
libappfuse Fix Deadlock Issue On AppFuseBridge 2020-06-17 13:39:21 +01:00
libasyncio Revert "Revert "Set apex_available property"" 2020-03-26 00:23:56 +00:00
libbinderwrapper
libcrypto_utils libcrypto_utils: switch to C++. 2020-08-21 10:34:56 -07:00
libcutils fs_config Add first_stage_ramdisk/system/bin/linker[64] 2020-11-19 17:35:21 -08:00
libdiskconfig
libgrallocusage gralloc: Set min_sdk_version 2020-04-23 23:50:08 +09:00
libkeyutils Update language to comply with Android's inclusive language guidance 2020-07-31 16:36:06 -06:00
libmodprobe libmodprobe: Fail when modules.dep lacks colon 2020-10-19 12:00:08 +01:00
libnetutils Add a libipchecksum that contains the C IP checksum code. 2020-07-09 16:35:47 +09:00
libpackagelistparser Make libraries {vendor_,}ramdisk_available. 2020-10-28 10:57:51 -07:00
libprocessgroup libprocessgroup: Support per-API level task profiles 2020-11-23 22:08:41 +00:00
libqtaguid
libsparse libsparse: make vendor_ramdisk_available. 2020-11-19 17:35:21 -08:00
libstats Use libcutils_headers for android_filesystem_config.h 2020-09-18 22:48:42 +00:00
libsuspend
libsync Make the connection between implementation and llndk_library explicit 2020-10-19 13:38:05 -07:00
libsystem libcutils: make vendor_ramdisk_available. 2020-10-28 10:57:51 -07:00
libsysutils SocketClient: don't ignore SIGPIPE 2020-07-31 15:53:18 -07:00
libusbhost
libutils Resolved UAF issue in RefBase fuzzer 2020-11-30 16:18:27 -08:00
libvndksupport Make the connection between implementation and llndk_library explicit 2020-10-19 13:38:05 -07:00
llkd llkd: Use more inclusive language 2020-06-19 06:51:59 -07:00
property_service libpropertyinfoparser: make vendor_ramdisk_available. 2020-10-28 10:57:51 -07:00
qemu_pipe Use more inclusive language for #inclusivefixit 2020-07-28 00:22:59 +00:00
reboot
rootdir Merge "Follow vdc naming convention: earlyBootEnded" 2020-12-02 07:49:38 +00:00
run-as Use libcutils_headers for android_filesystem_config.h 2020-09-18 22:48:42 +00:00
sdcard
set-verity-state
shell_and_utilities Add shell_and_utilities_vendor_ramdisk 2020-10-28 10:57:51 -07:00
storaged storaged: ignore SIGPIPE 2020-03-17 09:31:01 -07:00
toolbox iorap: Remove toggling iorapd on/off when using 'start' command. 2020-11-16 18:45:47 +00:00
trusty Merge "trusty-ut-ctrl: Make it as binary" 2020-12-02 03:28:58 +00:00
usbd
watchdogd
.clang-format
.clang-format-2
.clang-format-4
.gitignore
CleanSpec.mk snapshotctl don't auto-merge. 2020-03-03 13:19:49 -08:00
METADATA Add METADATA to system/core: Apache2+BSD=NOTICE 2020-04-29 13:16:41 -07:00
MODULE_LICENSE_APACHE2
NOTICE
OWNERS Remove baligh@ from owners. CodeShuffle done. 2020-10-17 00:28:10 +00:00
PREUPLOAD.cfg Add AOSP preupload hook. 2020-04-23 11:02:00 -07:00
TEST_MAPPING Move CtsLiblogTestCases and CtsLogdTestCases to system/logging/TEST_MAPPING 2020-11-02 12:44:37 -08:00