Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4ff8d83 authored by Tom Cherry's avatar Tom Cherry
Browse files

ueventd: remove /dev/log

This was marked deprecated in 2014 and removed in 2015, let's remove
the uevent rule now too.

Test: see that logging still works on bullhead
Change-Id: Idaf3f49a1afe7046eba6c976628b9f1c8b3ec094
parent a309bc49
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -811,11 +811,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/";
     links = get_character_device_symlinks(uevent);
+0 −3
Original line number Diff line number Diff line
@@ -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.