No description
Find a file
Peter Collingbourne 4a57c8f4f2 adb: Do not use fs_config unless we are root (try 3).
This enables fs_config for /data when pushing files as root. Also,
without this, adb push to /tmp fails as the shell user.

When pushing to a directory that does not have an explicit
fs_config, such as /data/local/tmp or /tmp, use the original
file mode. Because adb copies u permissions into g and o
(and in general because the umask on the host may have
made these files world writable), this requires adding more
fs_config entries to cover directories that may contain dex files
i.e. /{odm,product,system,system_ext,vendor}/{framework,app,priv-app}
to avoid hitting a SecurityException caused by writable dex files, e.g.

04-01 21:22:16.980 10110  4815  4815 E AndroidRuntime: FATAL EXCEPTION: main
04-01 21:22:16.980 10110  4815  4815 E AndroidRuntime: Process: android.test.app.system_priv, PID: 4815
04-01 21:22:16.980 10110  4815  4815 E AndroidRuntime: java.lang.SecurityException: Writable dex file '/system/priv-app/loadlibrarytest_system_priv_app/loadlibrarytest_system_priv_app.apk' is not allowed.
04-01 21:22:16.980 10110  4815  4815 E AndroidRuntime:  at dalvik.system.DexFile.openDexFileNative(Native Method)
04-01 21:22:16.980 10110  4815  4815 E AndroidRuntime:  at dalvik.system.DexFile.openDexFile(DexFile.java:406)

Bug: 171233429
Bug: 311263616
Change-Id: I18f70095c793d08a25ff59e1851f6dc7648ce4dc
2024-04-01 15:18:49 -07:00
bootstat Remove unused addKernelPanicSubReason() return value. 2024-02-07 22:22:13 +00:00
cli-test
code_coverage Disable code_coverage.other for riscv64 2022-10-13 13:49:10 -07:00
debuggerd Merge "[MTE] Implement permissive (recoverable) MTE for apps" into main 2024-03-19 19:06:13 +00:00
diagnose_usb
fastboot Merge "fastboot: Increase maximum usbfs bulk size for writes to 256KiB" into main 2024-02-15 03:47:49 +00:00
fs_mgr libsnapshot: reserve 16x space for ops 2024-03-19 00:34:15 -07:00
gatekeeperd Check AServiceManager_isDeclared before AServiceManager_getService 2023-06-14 02:43:54 +00:00
healthd Revert "healthd: BatteryMonitor: doLogValues: reduce log level to debug" 2024-02-15 19:28:02 +00:00
include
init Add missing header. 2024-03-15 06:44:39 +00:00
janitors Hang up narayan's janitor overalls. 2023-12-14 17:47:24 +00:00
libappfuse
libasyncio
libcrypto_utils
libcutils adb: Do not use fs_config unless we are root (try 3). 2024-04-01 15:18:49 -07:00
libgrallocusage
libkeyutils
libmodprobe toolbox/libmodprobe: add toolbox to vendor_ramdisk 2024-03-18 17:35:26 +09:00
libnetutils add 'nodad' support to ifc_add_address() 2023-06-30 16:36:21 +00:00
libpackagelistparser
libprocessgroup Merge "Add test mapping" into main 2024-02-08 18:30:25 +00:00
libsparse Make simg2img host-only 2023-08-28 09:53:30 -07:00
libstats Merge "Replace lazy_static with once_cell" into main 2024-02-09 15:41:46 +00:00
libsuspend
libsync
libsystem Add COLOR_MODE_DISPLAY_BT2020 to graphics header. 2022-12-01 22:25:40 -08:00
libsysutils NetlinkEvent: trivial simplification. 2023-07-10 22:46:12 +00:00
libusbhost
libutils Reduce <CallStack.h> namespace pollution. 2024-02-23 00:46:16 +00:00
libvendorsupport Avoid duplicated definition in llndk-versioning.h 2024-03-19 16:42:26 +09:00
libvndksupport try llndk-deprecate 2023-12-21 02:09:14 +00:00
llkd
mini_keyctl
mkbootfs mkbootfs: consistency. 2023-01-12 04:34:15 +00:00
property_service Make apex availability of libpropertyinfoparser and libpropertyinfoparser explicit 2024-01-04 01:34:40 +00:00
reboot
rootdir Merge "Declare init.*.rc modules in Android.bp" into main 2024-03-18 01:25:16 +00:00
run-as run-as: remove a special case. 2023-11-10 22:02:00 +00:00
sdcard
shell_and_utilities Update shell_and_utilities docs for U. 2023-03-01 22:05:37 +00:00
storaged Update storaged to use Health AIDL HAL V3. 2023-12-11 11:59:23 -08:00
toolbox toolbox/libmodprobe: add toolbox to vendor_ramdisk 2024-03-18 17:35:26 +09:00
trusty trusty: rpmb_dev: Use socket from init and update init script 2024-03-19 20:02:34 +00:00
usbd usb: migration to USB gadget AIDL 2023-01-10 11:24:36 +08:00
watchdogd
.clang-format
.clang-format-2
.clang-format-4
.gitignore
CleanSpec.mk
METADATA
MODULE_LICENSE_APACHE2
OWNERS Add bug component to system/core 2023-07-26 07:57:58 -07:00
PREUPLOAD.cfg
rustfmt.toml