android_system_core/adb
Liang Cheng 20d33f4d99 adb: configure /system file permission with fs_config
adbd changes the permissions of files uploaded by copying
owner's permission to group and other. This causes kernel
load failure if any changes are made to kernel modules
followed by ``adb push'' or ``adb sync'' because file mode
644 would become 666.

The change uses fs_config to get the target mode of files.

In addition, the SELinux file label is set incorrectly
on synced files. Set the label properly.

Change-Id: I354db848f39adfbf189d7e8d3b028e8d763c772f
Signed-off-by: Liang Cheng <licheng@nvidia.com>
Bug: 12264775
2014-01-02 20:26:18 -08:00
..
adb.c adb: Check sender's socket id when receiving packets. 2013-12-16 17:58:08 +01:00
adb.h adb: Check sender's socket id when receiving packets. 2013-12-16 17:58:08 +01:00
adb_auth.h adb: Fix secure adb when booting with usb attached 2013-02-02 01:19:06 +00:00
adb_auth_client.c mincrypt: support SHA-256 hash algorithm 2013-09-25 09:26:34 -07:00
adb_auth_host.c adb: Create private key with 0600 mode 2012-08-31 12:31:36 -07:00
adb_client.c Improve some adb error logging 2013-10-27 16:56:55 -07:00
adb_client.h Support adb client connect to remote server 2013-01-04 11:00:38 -08:00
Android.mk adb: configure /system file permission with fs_config 2014-01-02 20:26:18 -08:00
backup_service.c Fix hang after end of backup 2011-06-21 16:05:17 -07:00
commandline.c Improve some adb error logging 2013-10-27 16:56:55 -07:00
console.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
fdevent.c adb: keep mac build happy 2011-03-29 12:36:22 -07:00
fdevent.h adb: fix subprocess exit handling, oom adjust fixes, extra debugging. 2011-03-28 14:12:22 -07:00
file_sync_client.c Fix a bunch of small system/core bugs. 2013-10-29 14:12:46 -07:00
file_sync_service.c adb: configure /system file permission with fs_config 2014-01-02 20:26:18 -08:00
file_sync_service.h adb: Improved detection of big endian architecture 2010-10-16 14:35:28 +02:00
framebuffer_service.c Handle screendumps for all framebuffer sizes 2013-09-25 02:43:45 -07:00
get_my_path_darwin.c eclair snapshot 2009-11-12 18:46:23 -08:00
get_my_path_freebsd.c FreeBSD support for usb-connected devices in adb 2009-10-25 01:56:35 +11:00
get_my_path_linux.c Make get_my_path() safer 2009-10-22 02:55:00 +11:00
get_my_path_windows.c Make get_my_path() safer 2009-10-22 02:55:00 +11:00
jdwp_service.c Fix adb leaking file descriptors to forked processes 2011-02-03 15:26:45 -05:00
log_service.c Move liblog headers to system/core/include/log 2013-07-24 12:32:39 -07:00
MODULE_LICENSE_APACHE2 eclair snapshot 2009-11-12 18:46:23 -08:00
mutex_list.h adb: Cleanup dead code 2013-04-24 21:31:45 -07:00
NOTICE eclair snapshot 2009-11-12 18:46:23 -08:00
OVERVIEW.TXT Fixing spelling errors in adb docs 2010-04-28 11:38:39 -04:00
protocol.txt adb: Add public key authentification 2012-08-23 00:20:06 -07:00
remount_service.c fs_mgr: make block devices read-only 2013-04-24 08:53:26 -07:00
services.c Don't return immediately from reboot commands. 2013-10-24 11:01:16 -07:00
SERVICES.TXT adb: Cleanup dead code 2013-04-24 21:31:45 -07:00
sockets.c adb: Check sender's socket id when receiving packets. 2013-12-16 17:58:08 +01:00
sockets.dia auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
sysdeps.h adb: Only use properties on device builds 2013-05-23 10:37:46 -07:00
sysdeps_win32.c Windows adb: initialize on to 1 in disable_tcp_nagle 2013-01-11 16:36:00 +00:00
test_track_devices.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
test_track_jdwp.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
transport.c adb: Handle adb connect in a thread 2013-04-25 12:34:49 -07:00
transport.h adb: fix subprocess exit handling, oom adjust fixes, extra debugging. 2011-03-28 14:12:22 -07:00
transport_local.c adb: Only use properties on device builds 2013-05-23 10:37:46 -07:00
transport_usb.c adb: Improved detection of big endian architecture 2010-10-16 14:35:28 +02:00
usb_libusb.c adb: Add ability to specify device path 2012-04-20 11:21:14 -07:00
usb_linux.c adb: Add ability to specify device path 2012-04-20 11:21:14 -07:00
usb_linux_client.c FunctionFS: initial implementation 2012-05-31 15:00:41 -07:00
usb_osx.c adb: Add ability to specify device path 2012-04-20 11:21:14 -07:00
usb_vendors.c correct msi usb vendor id. 2013-08-28 10:53:17 +08:00
usb_vendors.h adb: Add vendor IDs for iRiver, Compal and T & A Mobile Phones 2011-07-11 09:39:39 -04:00
usb_windows.c am 9dbcbe08: am 9bdedb59: am a36e1aa3: Merge "adb: usb_windows: fix adb connection lost issue" 2012-05-14 08:37:37 -07:00