android_system_core/libcutils
Keith Mok 25d759901f Add seal if ashmem-dev is backed by memfd
Need to seal the buffer size in align with ashmem if set to PROT_READ
only to prevent untrusted remote process to shrink the buffer size and
crash it.

Bug: 294609150
Test: build
Ignore-AOSP-First: Security
(cherry picked from commit f83c5c8fec)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:61a2897733e15a12b7aa2dfd99957e83cbe59351)
Merged-In: I9288cf30b41e84ad8d3247c204e20482912bff69
Change-Id: I9288cf30b41e84ad8d3247c204e20482912bff69
2023-12-15 02:46:18 +00:00
..
arch-x86 DO NOT MERGE - x86: Switch get_pc_thunk to comdat 2020-04-18 14:07:19 -07:00
arch-x86_64
include qtaguid.h - remove qtaguid_setPacifier declaration 2022-12-18 20:40:09 +00:00
include_outside_system/cutils Add product_available to product available modules 2020-12-04 09:59:20 +09:00
Android.bp Merge "Merge "Merge "libcutils_test: static libjsoncpp" into android12-tests-dev am: 9825551dbf" into android12L-tests-dev am: 50cac03f37" into android13-tests-dev am: 2520bfb0d9 am: 1400b2dcaa am: 2d9d60a93d 2023-06-08 00:29:32 +00:00
KernelLibcutilsTest.xml [vts-core] fix the test error of KernelLibcutilsTest. 2020-02-07 10:07:09 +08:00
MODULE_LICENSE_APACHE2
NOTICE
OWNERS libcutils: make it clearer that libcutils is just janitors. 2020-12-10 11:27:49 -08:00
TEST_MAPPING TEST_MAPPING: add vts core lib tests 2023-01-09 22:05:37 +00:00
android_get_control_env.h
android_get_control_file.cpp
android_get_control_file_test.cpp
android_get_control_socket_test.cpp
android_reboot.cpp
ashmem-dev.cpp Add seal if ashmem-dev is backed by memfd 2023-12-15 02:46:18 +00:00
ashmem-host.cpp
ashmem_test.cpp Fix uninitialized value warnings. 2022-12-20 11:56:40 -08:00
canned_fs_config.cpp canned fs_config accepts multiple lines having the same path 2021-12-14 09:54:34 +09:00
config_utils.cpp
fs.cpp
fs_config.cpp remove inprocess tethering 2023-05-08 21:16:00 +00:00
fs_config.h
fs_config_test.cpp
hashmap.cpp
iosched_policy.cpp
klog.cpp
load_file.cpp
multiuser.cpp Create utility method for converting sdk_sandbox_uid to app_uid 2022-03-03 21:49:43 +00:00
multiuser_test.cpp Create utility method for converting sdk_sandbox_uid to app_uid 2022-03-03 21:49:43 +00:00
native_handle.cpp Add fdsan capabilities for native handles 2022-09-02 00:44:13 +00:00
native_handle_test.cpp
partition_utils.cpp
properties.cpp libcutils: reimplement system property functions with libbase. 2020-05-21 16:20:16 -07:00
properties_test.cpp libcutils: reimplement system property functions with libbase. 2020-05-21 16:20:16 -07:00
qtaguid.cpp qtaguid.cpp - improvements 2023-01-26 22:39:04 +00:00
record_stream.cpp
sched_policy_test.cpp sched_policy_test: set_sched_policy also set the cpuset policy as fallback 2023-02-01 03:06:45 +00:00
socket_inaddr_any_server_unix.cpp
socket_inaddr_any_server_windows.cpp
socket_local_client_unix.cpp
socket_local_server_unix.cpp
socket_local_unix.h
socket_network_client_unix.cpp
socket_network_client_windows.cpp
sockets.cpp
sockets_test.cpp
sockets_unix.cpp
sockets_windows.cpp
str_parms.cpp
str_parms_test.cpp
strlcpy.c
threads.cpp threads.h: avoid defining gettid on glibc >= 2.32 2021-03-05 09:55:15 +00:00
trace-container.cpp Updating async trace for track trace symbols from T/U to G/H 2022-06-22 19:09:06 +00:00
trace-dev.cpp Updating async trace for track trace symbols from T/U to G/H 2022-06-22 19:09:06 +00:00
trace-dev.inc Added trackName as additional argument to WRITE_MSG to handle trace 2022-03-17 21:40:15 +00:00
trace-dev_test.cpp Updating async trace for track trace symbols from T/U to G/H 2022-06-22 19:09:06 +00:00
trace-host.cpp Updating ATRACE_ASYNC_FOR_TRACK_END to not require a name argument 2022-04-28 18:18:57 +00:00
uevent.cpp libcutils: use 0 for netlink socket port id 2020-08-14 21:29:17 +09:00