diff options
author | neheb <rosenp@gmail.com> | 2016-07-01 18:32:27 -0700 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-07-02 10:16:18 +0200 |
commit | 8a83ffbefde9879539022c665c4e06f68140e0db (patch) | |
tree | 49a53ad7e34c8a42cfc8aa172b0ed1f26870b17f /package | |
parent | bb00c0a33cc26f68e893c61443e8dce3d65b31db (diff) | |
download | upstream-8a83ffbefde9879539022c665c4e06f68140e0db.tar.gz upstream-8a83ffbefde9879539022c665c4e06f68140e0db.tar.bz2 upstream-8a83ffbefde9879539022c665c4e06f68140e0db.zip |
procd: Set /dev/kmsg to 600
Small cleanup. I initially though /dev/kmsg was used for dmsg(and journald
on desktops) but this seems not to be the case. dmsg is still accessible
as non-root(gives output) which begs the question what does this do? Some
googling reveals that permissions are set to 600 for some embedded systems
while 644 for others. I can't find any justification for the latter. Might
as well err on the side of caution.
Signed-off by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package')
-rw-r--r-- | package/system/procd/files/hotplug.json | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/package/system/procd/files/hotplug.json b/package/system/procd/files/hotplug.json index 85fbb144cc..e5f8d967e8 100644 --- a/package/system/procd/files/hotplug.json +++ b/package/system/procd/files/hotplug.json @@ -17,10 +17,6 @@ ] ], [ "if", - [ "eq", "DEVNAME", "kmsg" ], - [ "makedev", "/dev/%DEVNAME%", "0644" ], - ], - [ "if", [ "regex", "DEVNAME", "^snd" ], [ "makedev", "/dev/%DEVNAME%", "0660", "audio" ], ], |