diff options
author | Nick Kralevich <nnk@google.com> | 2015-05-18 18:41:23 -0700 |
---|---|---|
committer | Nick Kralevich <nnk@google.com> | 2015-05-18 18:43:28 -0700 |
commit | 4d32a486fe62ef2c1440167604654a2f4e023fbd (patch) | |
tree | 7b82978e79e60a5f79eb81a91e6e9aeadb536e9d /libutils/Unicode.cpp | |
parent | d92fd41f693e1ea7dfbb0e8b3df8fd3a85910d71 (diff) |
klog: don't unconditionally call mknod()
If /dev/kmsg already exists, it's unnecessary for klog_init()
to create it's own copy. This avoids needing to grant the mknod
permission to everyone who uses kmsg. Typically the only time
/dev/kmsg doesn't exist is before ueventd starts.
Bug: 21242418
Change-Id: I0c88d80feca6899fcdbc8c9f2f99448ee0a3422d
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions