commit | e3aeeeeccc260c29ca5907a444f8d746bcc2f8a5 | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Tue Mar 17 07:56:32 2015 -0700 |
committer | Mark Salyzyn <salyzyn@google.com> | Wed Apr 01 19:41:59 2015 +0000 |
tree | d03d386d0804bb07a175bd9e74aefd0a64aa2a68 | |
parent | 221554749337a9c961c192596be5eb4e42083733 [diff] [blame] |
logd: syscall optimization - prset(PR_SET_NAME) call once - No need to call getuid(), should be AID_LOGD Change-Id: I4dde0b178bc84e711b355cd7677b0dbf905a0634
diff --git a/logd/LogStatistics.cpp b/logd/LogStatistics.cpp index accd660..6bb0b40 100644 --- a/logd/LogStatistics.cpp +++ b/logd/LogStatistics.cpp
@@ -303,5 +303,5 @@ } fclose(fp); } - return getuid(); // associate this with the logger + return AID_LOGD; // associate this with the logger }