提交 b9c35b34 编写于 作者: R renwei

add secon cfg

Signed-off-by: Nrenwei <renwei8@huawei.com>
Change-Id: Ic06909b0a6a173393324dcf3071584ed9738cb98
上级 cd1fc10c
...@@ -17,7 +17,8 @@ ...@@ -17,7 +17,8 @@
"gid" : ["system", "shell"], "gid" : ["system", "shell"],
"jobs" : { "jobs" : {
"on-start" : "services:deviceinfoservice" "on-start" : "services:deviceinfoservice"
} },
"secon" : "u:r:deviceinfoservice:s0"
} }
] ]
} }
\ No newline at end of file
...@@ -10,7 +10,8 @@ ...@@ -10,7 +10,8 @@
"gid" : ["shell", "log", "readproc"], "gid" : ["shell", "log", "readproc"],
"jobs" : { "jobs" : {
"on-start" : "services:console" "on-start" : "services:console"
} },
"secon" : "u:r:console:s0"
} }
] ]
} }
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
}], }],
"sandbox" : 0, "sandbox" : 0,
"start-mode" : "condition", "start-mode" : "condition",
"secon" : "u:r:hdcd:s0",
"disabled" : 1 "disabled" : 1
} }
] ]
......
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
"services" : [{ "services" : [{
"name" : "misc", "name" : "misc",
"path" : ["/system/bin/misc_daemon", "--write_logo", "/vendor/logo.rgb"], "path" : ["/system/bin/misc_daemon", "--write_logo", "/vendor/logo.rgb"],
"once" : 1 "once" : 1,
"secon" : "u:r:misc:s0"
} }
] ]
} }
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
"critical" : [ 0, 15, 5], "critical" : [ 0, 15, 5],
"ondemand" : true, "ondemand" : true,
"sandbox" : 0, "sandbox" : 0,
"start-mode" : "condition" "start-mode" : "condition",
"secon" : "u:r:ueventd:s0"
} }
] ]
} }
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
"disabled" : 1, "disabled" : 1,
"sandbox" : 0, "sandbox" : 0,
"uid" : "root", "uid" : "root",
"gid" : ["shell", "log", "readproc"] "gid" : ["shell", "log", "readproc"],
"secon" : "u:r:watchdog_service:s0"
} }
] ]
} }
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
"path" : ["/system/bin/sa_main", "/system/profile/param_watcher.xml"], "path" : ["/system/bin/sa_main", "/system/profile/param_watcher.xml"],
"uid" : "system", "uid" : "system",
"start-mode" : "boot", "start-mode" : "boot",
"gid" : ["system", "shell"] "gid" : ["system", "shell"],
"secon" : "u:r:param_watcher:s0"
} }
] ]
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册