Merge "Remove old LOG_EVENT_* code from libsysutils" am: 5aee3ff22a
am: 67e0b810bc
am: 3ba4e0a589
Change-Id: I4eddacad86e97cae6b36fe24712d5f0df2f8b40e
This commit is contained in:
commit
4a4278968f
|
@ -211,7 +211,6 @@ out:
|
|||
return;
|
||||
|
||||
overflow:
|
||||
LOG_EVENT_INT(78001, cli->getUid());
|
||||
cli->sendMsg(500, "Command too long", false);
|
||||
goto out;
|
||||
}
|
||||
|
|
|
@ -57,8 +57,6 @@ bool NetlinkListener::onDataAvailable(SocketClient *cli)
|
|||
count = TEMP_FAILURE_RETRY(uevent_kernel_recv(socket,
|
||||
mBuffer, sizeof(mBuffer), require_group, &uid));
|
||||
if (count < 0) {
|
||||
if (uid > 0)
|
||||
LOG_EVENT_INT(65537, uid);
|
||||
SLOGE("recvmsg failed (%s)", strerror(errno));
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue