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