提交 c17c4d65 编写于 作者: Y yichengzhao

add gid uid

Signed-off-by: Nyichengzhao <yichengzhao1@huawei.com>
Change-Id: I9589e7321cd69178150cfebe7c0083f90278da10
上级 d37e431a
......@@ -13,8 +13,8 @@
"services" : [{
"name" : "deviceinfoservice",
"path" : ["/system/bin/sa_main", "/system/profile/deviceinfoservice.xml"],
"uid" : "system",
"gid" : ["system", "shell"],
"uid" : "deviceinfo",
"gid" : ["deviceinfo", "shell"],
"jobs" : {
"on-start" : "services:deviceinfoservice"
},
......
......@@ -94,4 +94,8 @@ pasteboard:x:3816:
wallpaper:x:3817:
screenlock:x:3818:
time:x:3819:
inputmethod:x:3820:
\ No newline at end of file
inputmethod:x:3820:
watchdog:x:1100:
paramwatcher:x:1101:
deviceinfo:x:1102:
accessibility:x:1103:
......@@ -282,8 +282,8 @@
"name" : "watchdog_service",
"path" : ["/system/bin/watchdog_service", "10", "2"],
"disabled" : 1,
"uid" : "root",
"gid" : ["shell", "log", "readproc"],
"uid" : "watchdog",
"gid" : ["watchdog", "log", "readproc"],
"start-mode" : "condition"
}, {
"name" : "misc",
......
......@@ -94,4 +94,8 @@ pasteboard:x:3816:3816:::/bin/false
wallpaper:x:3817:3817:::/bin/false
screenlock:x:3818:3818:::/bin/false
time:x:3819:3819:::/bin/false
inputmethod:x:3820:3820:::/bin/false
\ No newline at end of file
inputmethod:x:3820:3820:::/bin/false
watchdog:x:1100:1100:::/bin/false
paramwatcher:x:1101:1101:::/bin/false
deviceinfo:x:1102:1102:::/bin/false
accessibility:x:1103:1103:::/bin/false
......@@ -5,8 +5,8 @@
"path" : ["/system/bin/watchdog_service", "10", "2"],
"disabled" : 1,
"sandbox" : 0,
"uid" : "root",
"gid" : ["shell", "log", "readproc"],
"uid" : "watchdog",
"gid" : ["watchdog", "log", "readproc"],
"secon" : "u:r:watchdog_service:s0"
}
]
......
......@@ -2,9 +2,9 @@
"services" : [{
"name" : "param_watcher",
"path" : ["/system/bin/sa_main", "/system/profile/param_watcher.xml"],
"uid" : "system",
"uid" : "paramwatcher",
"start-mode" : "boot",
"gid" : ["system", "shell"],
"gid" : ["paramwatcher", "shell"],
"secon" : "u:r:param_watcher:s0"
}
]
......
......@@ -71,3 +71,4 @@
/dev/uinput 0660 3011 3011
/dev/access_token_id 0666 3020 3020
/dev/block/sdd19 0660 6666 6666
/dev/watchdog 0660 watchdog watchdog
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册