• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "jobs" : [{
3            "name" : "init",
4            "cmds" : [
5                "mount ext4 /dev/block/by-name/secure_storage /sec_storage nosuid nodev noatime context=u:object_r:teecd_data_file:s0",
6                "chown tee tee /sec_storage",
7                "chmod 700 /sec_storage",
8                "dp_chown_chmod 700 600 tee tee /sec_storage",
9                "chown tee tee /dev/tc_ns_client",
10                "chown tee tee /dev/tc_private"
11            ]
12        }, {
13            "name" : "post-fs-data",
14            "cmds" : [
15                "mkdir /data/service/el1/public/sec_storage_data 0700 tee tee",
16                "restorecon /data/service/el1/public/sec_storage_data"
17            ]
18        }, {
19            "name" : "early-fs",
20            "cmds" : [
21                "start teecd"
22            ]
23        }
24    ],
25    "services" : [{
26            "name" : "teecd",
27            "path" : ["/system/bin/teecd"],
28            "uid" : "tee",
29            "gid" : ["tee", "shell", "readproc"],
30            "sandbox": 0,
31            "secon" : "u:r:teecd:s0"
32        }
33    ]
34}
35