commit | 56c3065b7968e2cf00ffc4914d5f2fe86b98ae15 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Tue Feb 21 15:48:53 2012 -0800 |
committer | Nick Kralevich <nnk@google.com> | Tue Mar 20 16:21:22 2012 -0700 |
tree | ec62041114e276c8aa01a72ebe9a9389773bd7b4 | |
parent | e8886740744d761d399c426321de3a7bba1c20ae [diff] |
logger: Add the update kernel struct to userspace Android's kernel logger can optionally return UID information in addition to the previously returned information. This information is available by telling the kernel to use the updated structure via the newly introduced LOGGER_SET_VERSION ioctl. int fd = open("/dev/log/main", O_RDONLY); int version = 2; ioctl(fd, LOGGER_SET_VERSION, &version); Change-Id: I3914be41de55342c2918f8978fcd4d2b96a09288