Merge "ueventd: remove /dev/log"

This commit is contained in:
Treehugger Robot 2017-04-12 07:58:32 +00:00 committed by Gerrit Code Review
commit 120add07ab
2 changed files with 0 additions and 8 deletions

View file

@ -759,11 +759,6 @@ static void handle_generic_device_event(struct uevent *uevent)
} else if(!strncmp(uevent->subsystem, "sound", 5)) {
base = "/dev/snd/";
make_dir(base, 0755);
} else if(!strncmp(uevent->subsystem, "misc", 4) && !strncmp(name, "log_", 4)) {
LOG(INFO) << "kernel logger is deprecated";
base = "/dev/log/";
make_dir(base, 0755);
name += 4;
} else
base = "/dev/";
auto links = get_character_device_symlinks(uevent);

View file

@ -21,9 +21,6 @@ subsystem adf
/dev/binder 0666 root root
/dev/hwbinder 0666 root root
# Anyone can read the logs, but if they're not in the "logs"
# group, then they'll only see log entries for their UID.
/dev/log/* 0666 root log
/dev/pmsg0 0222 root log
# the msm hw3d client device node is world writable/readable.