Go to file
Yabin Cui 65f7080c66 adb: setsid() for adb host server.
To create a daemon for adb host server, we should call setsid()
for the daemon process. However, previously we call setsid() for
the adb client process, which results in nothing but EPERM error.

Bug: 26982628
Change-Id: I2763ae3d5a243706927d7ef6af5095138c0ce2d8
(cherry picked from commit 6bf323b97a)
2016-02-22 15:57:08 -08:00
adb adb: setsid() for adb host server. 2016-02-22 15:57:08 -08:00
adf Adf: Remove unused variable 2015-07-27 22:08:16 -07:00
base Fix libbase's logging dependency. 2016-02-04 08:24:55 -08:00
bootstat bootstat: Add a few more bootreasons and rebase the index against index 1. 2016-02-13 14:02:25 -08:00
cpio fs_config: replace getenv('OUT') by new fs_config parameter 2015-07-09 21:47:07 -07:00
crash_reporter crash_reporter_tests: Compile only on 'eng' builds. 2016-02-04 13:56:25 -08:00
debuggerd Merge "Newer kernels added SEGV_BNDERR." 2016-02-05 02:20:13 +00:00
fastboot fastboot: fix TCP protocol version check. 2016-02-17 13:22:40 -08:00
fingerprintd Fingerprint: Plumb enumerate support. 2015-12-04 10:07:55 -08:00
fs_mgr Check for breadcrumbs only where relevant 2016-02-09 21:05:01 +00:00
gatekeeperd Merge "Track rename of base/ to android-base/." am: 912ed3d8ca am: e2a9563be1 2015-12-07 23:59:44 +00:00
healthd Merge "Add support for USB_HVDCP chargers" am: ba3014c914 2016-02-04 02:35:19 +00:00
include Merge "Create profiles folders" into nyc-dev 2016-02-22 11:42:02 +00:00
init Merge "User 0 directories are created by vold now." 2016-02-05 21:01:21 +00:00
libbacktrace Fix use of uninitialized memory. 2016-02-05 15:22:34 -08:00
libbinderwrapper libbinderwrapper: Add BinderWrapper::GetOrCreateInstance() 2016-01-04 12:56:27 -08:00
libcutils Create profiles folders 2016-02-19 13:42:37 +00:00
libdiskconfig am eb075e28: am c8179498: am 2f62edf7: Merge "libdiskconfig: Turn on -Werror" 2014-05-21 21:19:27 +00:00
libion am 8d2cd035: am 2ddb9cb1: am ed43be39: Merge "Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it\'s not needed." 2015-04-02 22:07:16 +00:00
liblog Merge "liblog: remove strdup from logging calls" 2016-02-03 21:48:37 +00:00
libmemtrack Remove a hack for getting libpagerank's headers. 2015-09-22 22:35:30 -07:00
libmincrypt Enable clang compilation. 2015-05-14 10:53:48 -07:00
libnativebridge Revert "nativebrige: log code_cache access errors to stderr as well" 2016-01-27 17:53:20 +00:00
libnativeloader Limit libart.so visibility to apps targeting <= M 2016-02-17 17:22:20 -08:00
libnetutils Merge "libnetutils: Check socket() return value" am: e4b332c7e4 2016-01-12 04:53:01 +00:00
libpackagelistparser packagelistparser: rename to libpackagelistparser 2015-11-05 12:12:38 -08:00
libpixelflinger Use dlmalloc from external/dlmalloc instead of bionic/. 2016-01-22 11:04:35 -08:00
libprocessgroup Fix libprocessgroup SELinux denials. 2016-02-08 11:45:27 +01:00
libsparse Fix static analyzer issues caught by clang 2016-02-01 11:19:26 -08:00
libsuspend Adds a parameter to the wakeup_callback to report sucessful wakeup or suspend aborts. 2015-06-25 13:15:22 -07:00
libsync Fix isValid() condition for libsync tests 2015-11-05 10:07:53 -08:00
libsysutils Tolerate RTM_DELADDR messages from deleted interfaces. 2016-02-16 23:12:26 +09:00
libusbhost libusbhost: add usb_device_reset 2016-01-13 16:01:42 -08:00
libutils Merge "more O_CLOEXEC" am: 920d637d25 2015-12-18 23:05:34 -08:00
libziparchive Allow setting an arbitrary alignment for an entry. 2016-01-19 13:55:53 -08:00
lmkd lmkd: subscribe to low mempressure events. 2016-02-09 11:25:18 +01:00
logcat logcat: build cleanup 2016-02-04 13:10:19 -08:00
logd init.rc: too many start logd 2016-02-02 16:01:17 -08:00
logwrapper am eaf04aa0: am 3b94cef1: Merge "Add FORK_EXECVP_OPTION_CAPTURE_OUTPUT to logwrap.h" 2015-08-22 02:40:51 +00:00
metricsd Merge "metricsd: Create a brillo::MessageLoop." 2016-02-04 23:38:54 +00:00
mkbootimg mkbootimg: misc typo fixes 2015-06-04 09:59:01 -07:00
reboot reboot: Turn on -Werror 2014-05-21 12:58:38 -07:00
rootdir Merge "Create profiles folders" into nyc-dev 2016-02-22 11:42:02 +00:00
run-as Fix the run-as environment to better match su. 2015-11-03 14:31:46 -08:00
sdcard Merge "[DO NOT MERGE] Use FUSE_SHORTCIRCUIT if available" into mnc-dr1.5-dev am: b84295d027 2016-01-14 00:52:50 +00:00
toolbox Fix generation of event labels for getevent. 2016-02-09 11:24:42 -08:00
trusty [core][trusty] add gatekeeper module 2015-11-12 12:19:48 -08:00
tzdatacheck Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk Add a CleanSpec for grep/toolbox. 2015-03-22 18:04:54 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
NOTICE Fix omission in NOTICE file. 2013-07-30 13:56:55 -07:00