Merge "Remove dead code from debuggerd."
This commit is contained in:
commit
fbaefc4d9d
1 changed files with 0 additions and 7 deletions
|
|
@ -678,13 +678,6 @@ static int do_server() {
|
||||||
// Ignore failed writes to closed sockets
|
// Ignore failed writes to closed sockets
|
||||||
signal(SIGPIPE, SIG_IGN);
|
signal(SIGPIPE, SIG_IGN);
|
||||||
|
|
||||||
int logsocket = socket_local_client("logd", ANDROID_SOCKET_NAMESPACE_ABSTRACT, SOCK_DGRAM);
|
|
||||||
if (logsocket < 0) {
|
|
||||||
logsocket = -1;
|
|
||||||
} else {
|
|
||||||
fcntl(logsocket, F_SETFD, FD_CLOEXEC);
|
|
||||||
}
|
|
||||||
|
|
||||||
struct sigaction act;
|
struct sigaction act;
|
||||||
act.sa_handler = SIG_DFL;
|
act.sa_handler = SIG_DFL;
|
||||||
sigemptyset(&act.sa_mask);
|
sigemptyset(&act.sa_mask);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue