[source] procd: change /dev/{gpio,hvc*} perms to 0600

LEDE Commits lede-commits at lists.infradead.org
Thu Jun 30 21:44:52 PDT 2016


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=9597675d8e0eb7f0d3cd738b8dade1ce45adda0d

commit 9597675d8e0eb7f0d3cd738b8dade1ce45adda0d
Author: John Crispin <john at phrozen.org>
AuthorDate: Wed Jun 29 15:44:30 2016 +0200

    procd: change /dev/{gpio,hvc*} perms to 0600
    
    Signed-off-by: John Crispin <john at phrozen.org>
---
 package/system/procd/files/hotplug.json | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/package/system/procd/files/hotplug.json b/package/system/procd/files/hotplug.json
index 5f768f4..85fbb14 100644
--- a/package/system/procd/files/hotplug.json
+++ b/package/system/procd/files/hotplug.json
@@ -8,13 +8,8 @@
 				],
 				[
 					[ "if",
-						[ "or",
-							[ "eq", "DEVNAME",
-								[ "null", "full", "ptmx", "zero", "tty", "net", "random", "urandom" ],
-							],
-							[ "regex", "DEVNAME",
-								[ "^gpio", "^hvc" ],
-							],
+						[ "eq", "DEVNAME",
+							[ "null", "full", "ptmx", "zero", "tty", "net", "random", "urandom" ],
 						],
 						[
 							[ "makedev", "/dev/%DEVNAME%", "0666" ],



More information about the lede-commits mailing list