1{ 2 "jobs" : [{ 3 "name" : "pre-init", 4 "cmds" : [ 5 "export LD_PRELOAD libdfxexithook.z.so" 6 ] 7 }, { 8 "name" : "services:faultloggerd", 9 "cmds" : [ 10 "mkdir /data/log 0775 system log", 11 "mkdir /data/log/faultlog 0750 hiview log", 12 "mkdir /data/log/faultlog/temp 0770 system system", 13 "mkdir /data/log/faultlog/debug 0770 system system" 14 ] 15 } 16 ], 17 "services" : [{ 18 "name" : "faultloggerd", 19 "path" : ["/system/bin/faultloggerd"], 20 "uid" : "faultloggerd", 21 "gid" : ["system", "log", "faultloggerd"], 22 "socket" : [{ 23 "name" : "faultloggerd.server", 24 "family" : "AF_UNIX", 25 "type" : "SOCK_STREAM", 26 "protocol" : "default", 27 "permissions" : "0666", 28 "uid" : "faultloggerd", 29 "gid" : "system", 30 "option" : [ 31 "SOCKET_OPTION_PASSCRED" 32 ] 33 }], 34 "jobs" : { 35 "on-start" : "services:faultloggerd" 36 }, 37 "writepid" : [ 38 "/dev/cpuset/system-background/tasks" 39 ], 40 "caps" : ["CAP_KILL"], 41 "secon" : "u:r:faultloggerd:s0" 42 } 43 ] 44} 45