| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I2002be3580ff87b0a55dc030a9099bf6d795011f
|
|
|
|
| |
Change-Id: I5fce9bffdb9e52d50059034fd1cc05ba7f0e3b87
|
|
|
|
|
|
| |
Use FIONREAD instead of TIOCINQ
Change-Id: Ic9db0228a51c546a798c70f08f2e644a1a376120
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add support for correctly handling subprocess termination in shell service (b/3400254 b/3482112 b/2249397)
- have a waitpid() track the subprocess, then notify the fdevent via a socket
- force an eof on the pty master in fdevent's new subproc handler.
- modify fdevent to force-read the pty after an exit.
* Migrate the "shell:blabla" handling to "#if !ADB_HOST" sections, where it
belongs.
* Fix the race around OOM adjusting.
- Do it in the child before exec() instead of the in the parent as the
child could already have started or not (no /proc/pid/... yet).
* Allow for multi-threaded D() invocations to not clobber each other.
- Allow locks across object files.
- Add lock within D()
- Make sure sysdesp init (mutex init also) is called early.
* Add some missing close(fd) calls
- Match similar existing practices near dup2()
* Add extra D() invocations related to FD handling.
* Warn about using debugging as stderr/stdout is used for protocol.
* Fix some errno handling and make D() correctly handle it.
* Add new adb trace_mask: services.
* Make fdevent_loop's handle BADFDs more gracefully (could occur some subproc closed its pts explicitely).
* Remove obsolete commandline args reported in help. (b/3509092)
Change-Id: I928287fdf4f1a86777e22ce105f9581685f46e35
|
|\ \
| | |
| | |
| | |
| | |
| | | |
* commit '4fecade5f21d5d062ebe1c70535367d3407bb68f':
Fix potential race introduced in Icd7f5f03
SocketClient: add optional reference counting
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | | |
* commit 'cb1e616e3c108a9c8b159bb95c3356acf5797ba2':
Fix potential race introduced in Icd7f5f03
SocketClient: add optional reference counting
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '7c556549079dbcc3f6f7ef4376978cd8c598aa62':
Fix potential race introduced in Icd7f5f03
SocketClient: add optional reference counting
|
| | | |\ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* changes:
Fix potential race introduced in Icd7f5f03
SocketClient: add optional reference counting
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Digit wrote:
"You probably don't want to close the socket here without updating
c->socket as well. Otherwise, another thread holding a handle to the
client after the c->decRef() could end up sending a message to a
different socket, if the file descriptor index is reused by another
client in the meantime."
Change-Id: Icdefb5ffc0c7607325d7db761e1f04e5d868bfb7
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Needed to fix a race in netd.
Bug: 3438459
Change-Id: Icd7f5f035510235f733a25c0621479d3e644b152
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
descriptor leak."
* commit '15b15c4b4acede0b999e6a7af9ce797c6a58a62a':
libsysutils: Fix a file descriptor leak.
|
| |\| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit 'a14da5b1e5c956dc90d8725ab6b68311f66e6b6a':
libsysutils: Fix a file descriptor leak.
|
| | |\| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit '499b45a3597bc2434bcc0974660470192ab4ff06':
libsysutils: Fix a file descriptor leak.
|
| | | |\| | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The recent refactoring of the select() loop in SocketListener
missed a close() of the file descriptor when the onDataAvailable()
callback returns false.
Change-Id: I767caefab4b98ab350f2db2497ee2bd630f20850
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
race condition in SocketListener thread."
* commit '34859033c1076f23d958349b86cb0a5d42696745':
libsysutils: Fix race condition in SocketListener thread.
|
| |\| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
in SocketListener thread."
* commit 'fdb915d2569b73312e7ab8cb0c0556a3c3d1310a':
libsysutils: Fix race condition in SocketListener thread.
|
| | |\| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit '4593e0a7645ba5d848c0bf19d30f57b52fd305b1':
libsysutils: Fix race condition in SocketListener thread.
|
| | | |\| | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
+ Handle EINTR in accept(), write() and select()
+ Fix a memory leak when deleting the mClients list
+ Fix typo in SocketListener.h
Change-Id: Ie68bb3e2dbefe0dfdaa22a5cd06a42dbc4c0f8aa
|
|\| | | | |
| |_|_|_|/
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
SocketClient::sendData()"
* commit 'ff90418888631b2d0b195657b00da55b9d7edcd1':
libsysutils: Handle EINTR in SocketClient::sendData()
|
| |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
SocketClient::sendData()"
* commit 'df42469121211905532c5c6d7aa95ec392a7eb35':
libsysutils: Handle EINTR in SocketClient::sendData()
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '0e59123adad22e1dac03e972ea37361056bb382c':
libsysutils: Handle EINTR in SocketClient::sendData()
|
| | | |\| |
|
| | | |/
| | | |
| | | |
| | | |
| | | |
| | | | |
+ Improve allocation code in sendMsg(code,msg,addErrno)
Change-Id: Ib5fe84bec1a167c369e7ba759acea395e832f6b5
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In some situations a driver could try to request firmware before
/system is mounted. Previously we'd fail the request. Now we
will retry the read-from-filesystem every 100ms until we find the
firmware or we've finished the "fs" and "post-fs" stages of init.
Change-Id: Ie32402f7d41c818bf20f3297286ed5f99705b72c
|
|\ \ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
of system calls to the sdcard fuse filesystem.
* commit 'b26662c0a2876767b2c06cb740f07b1010f91548':
Add support for the utime(2) family of system calls to the sdcard fuse filesystem.
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
calls to the sdcard fuse filesystem.
* commit 'c3e69903ed5f9e406fe51093fc41917512aa4036':
Add support for the utime(2) family of system calls to the sdcard fuse filesystem.
|
| | |\ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
sdcard fuse filesystem.
* commit '97919656803126c6b28ea6070fc86d124ac4ef4b':
Add support for the utime(2) family of system calls to the sdcard fuse filesystem.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
filesystem.
Add support for the utime(2) family of system calls to change the modify
and access time of files. Requires an updated bionic with support for
the utimensat(2) system call.
Change-Id: I8cc0c0e6671c5708849752f47e4c3d4be2858b61
|
| |_|_|/ / /
|/| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Added when using dhcp on both wimax and wifi. But should be useful across multiple
services running dhcp now. Also adds a renewal api
Change-Id: Ic850a612dd429cd675b5b0224ff58895f9d8e4d9
Signed-off-by: TK MUN <tk.mun@samsung.com>
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change IP renew service name
* commit '5c8cc8036cd2565ccf541f87b192a7c7a74f42e4':
DO NOT MERGE Change IP renew service name
|
| |\ \ \ \ \
| | |/ / / /
| |/| | / /
| | | |/ /
| | |/| | |
* commit '4ae741bb34b9fe397986663e108a5091ea9ee29e':
DO NOT MERGE Change IP renew service name
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit '7238072a7da527147c21cc939160d975eb28b1ac':
DO NOT MERGE Change IP renew service name
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- Change invalid service name (dhcpcd_renew -> iprenew)
- Remove condition which checks status of renew service.
- Remove unused variable.
Change-Id: Ic4ae7fb950baf4bd7286088a945a48ab5fe64e91
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Digit wrote:
"You probably don't want to close the socket here without updating
c->socket as well. Otherwise, another thread holding a handle to the
client after the c->decRef() could end up sending a message to a
different socket, if the file descriptor index is reused by another
client in the meantime."
Change-Id: Icdefb5ffc0c7607325d7db761e1f04e5d868bfb7
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
a separate item.""
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
separate item."
This reverts commit c031a3b006129ca408eaade325a53a334daee3b2.
Conflicts:
debuggerd/debuggerd.c
Change-Id: Ib37ae793bbffdb4a81837bc51171cc62b12abe7d
|
|\ \ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Needed to fix a race in netd.
Bug: 3438459
Change-Id: Icd7f5f035510235f733a25c0621479d3e644b152
|
|\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | / / / / /
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | | |
setgid is not required in ueventd.stingray.rc
* commit 'cdfde07eb7bd02bf8b3f6c46784309d33ff1df1e':
Make drmserver's primary group be system, so setgid is not required in ueventd.stingray.rc
|
| |\ \ \ \ \ \
| | | |_|_|/ /
| | |/| | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
required in ueventd.stingray.rc
* commit 'f642c3d12f4cffdc349b9ebfc4107de254ad8db9':
Make drmserver's primary group be system, so setgid is not required in ueventd.stingray.rc
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
ueventd.stingray.rc
Change-Id: Ie8a287620d22b5c1bdc459fb288b7403589ab474
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | |
| | | | | | | |
were not initialized in fuse_init(). fuse->root.actual_name fuse->root.gen - Initialize fuse->root with memset()."
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- Following members were not initialized in fuse_init().
fuse->root.actual_name
fuse->root.gen
- Initialize fuse->root with memset().
Change-Id: I4bce754ace608b526961f59049b2d780fd99756f
|
|\ \ \ \ \ \ \ |
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: Icd45f570a9527790eb0cd614a3f77da1a72375b1
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| / / / / /
| |/ / / / /
| | | | | | |
* commit 'f0a670eb12a0e5854dfd2a9284973d0711392653':
do not merge. Fix a race in system properties.
|