commit | ab71ef089f97e7cf3f8fa791f865da762730c7db | [log] [tgz] |
---|---|---|
author | Ruchir Rastogi <ruchirr@google.com> | Thu Jan 30 01:24:50 2020 -0800 |
committer | Ruchir Rastogi <ruchirr@google.com> | Thu Jan 30 18:26:29 2020 -0800 |
tree | 3c7f6c667b53d1373075447f209e1f157bd00b57 | |
parent | 0563e3b1f48bedcd59addf9de7209e3958a65748 [diff] |
Store client pid within LogEvent LogEvent now stores the client's pid (the pid defaults to -1 if it is not known). This pid will be used internally for permission checks. This CL also fixes a bug where uids of -1 were being treated incorrectly as unsigned ints. Test: bit statsd_test:* (passes when the new socket schema flag is flipped on). Change-Id: I8b6b202bb719b79646282764f82466c8065031b3